Searched refs:msg_ptr (Results 1 – 3 of 3) sorted by relevance
133 unsigned int msg_ptr; member258 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()730 i2c->msg_ptr = 0; in i2c_pxa_do_pio_xfer()793 i2c->msg_ptr = 0; in i2c_pxa_do_xfer()854 i2c->msg_ptr = 0; in i2c_pxa_master_complete()897 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty()908 if (i2c->msg_ptr == i2c->msg->len - 1 && in i2c_pxa_irq_txempty()913 } else if (i2c->msg_ptr < i2c->msg->len) { in i2c_pxa_irq_txempty()917 writel(i2c->msg->buf[i2c->msg_ptr++], _IDBR(i2c)); in i2c_pxa_irq_txempty()925 if (i2c->msg_ptr == i2c->msg->len && in i2c_pxa_irq_txempty()[all …]
164 unsigned int msg_ptr; member491 len = min(fifo_level, i2c->msg->len - i2c->msg_ptr); in exynos5_i2c_irq()496 i2c->msg->buf[i2c->msg_ptr++] = byte; in exynos5_i2c_irq()505 if (len > (i2c->msg->len - i2c->msg_ptr)) in exynos5_i2c_irq()506 len = i2c->msg->len - i2c->msg_ptr; in exynos5_i2c_irq()509 byte = i2c->msg->buf[i2c->msg_ptr++]; in exynos5_i2c_irq()517 if ((i2c->trans_done && (i2c->msg->len == i2c->msg_ptr)) || in exynos5_i2c_irq()631 i2c->msg_ptr = 0; in exynos5_i2c_xfer_msg()
107 unsigned int msg_ptr; member185 i2c->msg_ptr = 0; in s3c24xx_i2c_master_complete()383 return i2c->msg_ptr == i2c->msg->len-1; in is_msglast()393 return i2c->msg_ptr >= i2c->msg->len; in is_msgend()468 byte = i2c->msg->buf[i2c->msg_ptr++]; in i2c_s3c_irq_nextbyte()484 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte()520 i2c->msg->buf[i2c->msg_ptr++] = byte; in i2c_s3c_irq_nextbyte()545 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte()725 i2c->msg_ptr = 0; in s3c24xx_i2c_doxfer()