Lines Matching refs:msg_ptr
230 unsigned int msg_ptr; member
366 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()
849 i2c->msg_ptr = 0; in i2c_pxa_master_complete()
894 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty()
905 if (i2c->msg_ptr == i2c->msg->len - 1 && in i2c_pxa_irq_txempty()
910 } else if (i2c->msg_ptr < i2c->msg->len) { in i2c_pxa_irq_txempty()
914 writel(i2c->msg->buf[i2c->msg_ptr++], _IDBR(i2c)); in i2c_pxa_irq_txempty()
922 if ((i2c->msg_ptr == i2c->msg->len) && in i2c_pxa_irq_txempty()
931 i2c->msg_ptr = 0; in i2c_pxa_irq_txempty()
973 i2c->msg->buf[i2c->msg_ptr++] = readl(_IDBR(i2c)); in i2c_pxa_irq_rxfull()
975 if (i2c->msg_ptr < i2c->msg->len) { in i2c_pxa_irq_rxfull()
980 if (i2c->msg_ptr == i2c->msg->len - 1) in i2c_pxa_irq_rxfull()
1084 i2c->msg_ptr = 0; in i2c_pxa_do_xfer()
1201 i2c->msg_ptr = 0; in i2c_pxa_do_pio_xfer()