Lines Matching refs:tx_bytes
200 unsigned int tx_bytes; member
571 unsigned int tx_bytes = msg->len - iproc_i2c->tx_bytes; in bcm_iproc_i2c_send() local
576 tx_bytes = min_t(unsigned int, tx_bytes, M_TX_RX_FIFO_SIZE); in bcm_iproc_i2c_send()
577 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_send()
579 unsigned int idx = iproc_i2c->tx_bytes + i; in bcm_iproc_i2c_send()
606 iproc_i2c->tx_bytes += tx_bytes; in bcm_iproc_i2c_send()
835 unsigned int tx_bytes; in bcm_iproc_i2c_xfer_internal() local
856 tx_bytes = min_t(unsigned int, msg->len, M_TX_RX_FIFO_SIZE - 1); in bcm_iproc_i2c_xfer_internal()
858 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_xfer_internal()
867 iproc_i2c->tx_bytes = tx_bytes; in bcm_iproc_i2c_xfer_internal()
904 msg->len > iproc_i2c->tx_bytes) in bcm_iproc_i2c_xfer_internal()