Lines Matching refs:tx_bytes
104 unsigned int tx_bytes; member
125 unsigned int tx_bytes = msg->len - iproc_i2c->tx_bytes; in bcm_iproc_i2c_isr() local
130 tx_bytes = min_t(unsigned int, tx_bytes, M_TX_RX_FIFO_SIZE); in bcm_iproc_i2c_isr()
131 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_isr()
133 unsigned int idx = iproc_i2c->tx_bytes + i; in bcm_iproc_i2c_isr()
156 iproc_i2c->tx_bytes += tx_bytes; in bcm_iproc_i2c_isr()
257 unsigned int tx_bytes; in bcm_iproc_i2c_xfer_single_msg() local
278 tx_bytes = min_t(unsigned int, msg->len, M_TX_RX_FIFO_SIZE - 1); in bcm_iproc_i2c_xfer_single_msg()
280 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_xfer_single_msg()
289 iproc_i2c->tx_bytes = tx_bytes; in bcm_iproc_i2c_xfer_single_msg()
309 msg->len > iproc_i2c->tx_bytes) in bcm_iproc_i2c_xfer_single_msg()