Home
last modified time | relevance | path

Searched refs:msg_ptr (Results 1 – 2 of 2) sorted by relevance

/drivers/i2c/busses/
Di2c-pxa.c86 unsigned int msg_ptr; member
215 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()
642 i2c->msg_ptr = 0; in i2c_pxa_do_pio_xfer()
697 i2c->msg_ptr = 0; in i2c_pxa_do_xfer()
756 i2c->msg_ptr = 0; in i2c_pxa_master_complete()
799 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty()
810 if (i2c->msg_ptr == i2c->msg->len - 1 && in i2c_pxa_irq_txempty()
815 } else if (i2c->msg_ptr < i2c->msg->len) { in i2c_pxa_irq_txempty()
819 writel(i2c->msg->buf[i2c->msg_ptr++], _IDBR(i2c)); in i2c_pxa_irq_txempty()
827 if (i2c->msg_ptr == i2c->msg->len && in i2c_pxa_irq_txempty()
[all …]
Di2c-s3c2410.c62 unsigned int msg_ptr; member
105 i2c->msg_ptr = 0; in s3c24xx_i2c_master_complete()
231 return i2c->msg_ptr == i2c->msg->len-1; in is_msglast()
241 return i2c->msg_ptr >= i2c->msg->len; in is_msgend()
317 byte = i2c->msg->buf[i2c->msg_ptr++]; in i2s_s3c_irq_nextbyte()
333 i2c->msg_ptr = 0; in i2s_s3c_irq_nextbyte()
369 i2c->msg->buf[i2c->msg_ptr++] = byte; in i2s_s3c_irq_nextbyte()
391 i2c->msg_ptr = 0; in i2s_s3c_irq_nextbyte()
494 i2c->msg_ptr = 0; in s3c24xx_i2c_doxfer()