Lines Matching refs:msg_ptr
137 unsigned int msg_ptr; member
258 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()
701 i2c->msg_ptr = 0; in i2c_pxa_do_pio_xfer()
756 i2c->msg_ptr = 0; in i2c_pxa_do_xfer()
817 i2c->msg_ptr = 0; in i2c_pxa_master_complete()
860 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty()
871 if (i2c->msg_ptr == i2c->msg->len - 1 && in i2c_pxa_irq_txempty()
876 } else if (i2c->msg_ptr < i2c->msg->len) { in i2c_pxa_irq_txempty()
880 writel(i2c->msg->buf[i2c->msg_ptr++], _IDBR(i2c)); in i2c_pxa_irq_txempty()
888 if (i2c->msg_ptr == i2c->msg->len && in i2c_pxa_irq_txempty()
895 i2c->msg_ptr = 0; in i2c_pxa_irq_txempty()
942 i2c->msg->buf[i2c->msg_ptr++] = readl(_IDBR(i2c)); in i2c_pxa_irq_rxfull()
944 if (i2c->msg_ptr < i2c->msg->len) { in i2c_pxa_irq_rxfull()
949 if (i2c->msg_ptr == i2c->msg->len - 1) in i2c_pxa_irq_rxfull()