Searched refs:msg_buf_remaining (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/i2c/busses/
H A Di2c-xlp9xx.c84 u32 msg_buf_remaining; member in struct:xlp9xx_i2c_dev
123 thres = min(priv->msg_buf_remaining, XLP9XX_I2C_FIFO_SIZE); xlp9xx_i2c_update_rx_fifo_thres()
133 len = min(priv->msg_buf_remaining, XLP9XX_I2C_FIFO_SIZE); xlp9xx_i2c_fill_tx_fifo()
136 priv->msg_buf_remaining -= len; xlp9xx_i2c_fill_tx_fifo()
147 len = min(priv->msg_buf_remaining, len); xlp9xx_i2c_drain_rx_fifo()
151 priv->msg_buf_remaining -= len; xlp9xx_i2c_drain_rx_fifo()
154 if (priv->msg_buf_remaining) xlp9xx_i2c_drain_rx_fifo()
180 if (priv->msg_buf_remaining) xlp9xx_i2c_isr()
190 if (priv->msg_buf_remaining) xlp9xx_i2c_isr()
233 priv->msg_buf_remaining = priv->msg_len = msg->len; xlp9xx_i2c_xfer_msg()
H A Di2c-bcm2835.c69 size_t msg_buf_remaining; member in struct:bcm2835_i2c_dev
87 while (i2c_dev->msg_buf_remaining) { bcm2835_fill_txfifo()
94 i2c_dev->msg_buf_remaining--; bcm2835_fill_txfifo()
102 while (i2c_dev->msg_buf_remaining) { bcm2835_drain_rxfifo()
109 i2c_dev->msg_buf_remaining--; bcm2835_drain_rxfifo()
136 if (i2c_dev->msg_buf_remaining) bcm2835_i2c_isr()
159 i2c_dev->msg_buf_remaining = msg->len; bcm2835_i2c_xfer_msg()
H A Di2c-tegra.c162 * @msg_buf_remaining: size of unsent data in the message buffer
182 size_t msg_buf_remaining; member in struct:tegra_i2c_dev
275 size_t buf_remaining = i2c_dev->msg_buf_remaining; tegra_i2c_empty_rx_fifo()
307 i2c_dev->msg_buf_remaining = buf_remaining; tegra_i2c_empty_rx_fifo()
317 size_t buf_remaining = i2c_dev->msg_buf_remaining; tegra_i2c_fill_tx_fifo()
341 i2c_dev->msg_buf_remaining = buf_remaining; tegra_i2c_fill_tx_fifo()
362 i2c_dev->msg_buf_remaining = 0; tegra_i2c_fill_tx_fifo()
519 if (i2c_dev->msg_buf_remaining) tegra_i2c_isr()
526 if (i2c_dev->msg_buf_remaining) tegra_i2c_isr()
537 BUG_ON(i2c_dev->msg_buf_remaining); tegra_i2c_isr()
567 i2c_dev->msg_buf_remaining = msg->len; tegra_i2c_xfer_msg()
606 else if (i2c_dev->msg_buf_remaining) tegra_i2c_xfer_msg()

Completed in 82 milliseconds