Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-nuc900.c79 unsigned int msg_ptr; member
101 i2c->msg_ptr = 0; in nuc900_i2c_master_complete()
180 return i2c->msg_ptr == i2c->msg->len-1; in is_msglast()
190 return i2c->msg_ptr >= i2c->msg->len; in is_msgend()
266 byte = i2c->msg->buf[i2c->msg_ptr++]; in i2c_nuc900_irq_nextbyte()
275 i2c->msg_ptr = 0; in i2c_nuc900_irq_nextbyte()
312 i2c->msg->buf[i2c->msg_ptr++] = byte; in i2c_nuc900_irq_nextbyte()
336 i2c->msg_ptr = 0; in i2c_nuc900_irq_nextbyte()
430 i2c->msg_ptr = 0; in nuc900_i2c_doxfer()
Di2c-pxa.c139 unsigned int msg_ptr; member
260 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()
703 i2c->msg_ptr = 0; in i2c_pxa_do_pio_xfer()
758 i2c->msg_ptr = 0; in i2c_pxa_do_xfer()
819 i2c->msg_ptr = 0; in i2c_pxa_master_complete()
862 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty()
873 if (i2c->msg_ptr == i2c->msg->len - 1 && in i2c_pxa_irq_txempty()
878 } else if (i2c->msg_ptr < i2c->msg->len) { in i2c_pxa_irq_txempty()
882 writel(i2c->msg->buf[i2c->msg_ptr++], _IDBR(i2c)); in i2c_pxa_irq_txempty()
890 if (i2c->msg_ptr == i2c->msg->len && in i2c_pxa_irq_txempty()
[all …]
Di2c-s3c2410.c70 unsigned int msg_ptr; member
123 i2c->msg_ptr = 0; in s3c24xx_i2c_master_complete()
249 return i2c->msg_ptr == i2c->msg->len-1; in is_msglast()
259 return i2c->msg_ptr >= i2c->msg->len; in is_msgend()
334 byte = i2c->msg->buf[i2c->msg_ptr++]; in i2c_s3c_irq_nextbyte()
350 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte()
386 i2c->msg->buf[i2c->msg_ptr++] = byte; in i2c_s3c_irq_nextbyte()
408 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte()
512 i2c->msg_ptr = 0; in s3c24xx_i2c_doxfer()