Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-axxia.c101 size_t msg_xfrd; member
232 int bytes_to_transfer = min(rx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_empty_rx_fifo()
237 if (idev->msg_xfrd == 0 && i2c_m_recv_len(msg)) { in axxia_i2c_empty_rx_fifo()
250 msg->buf[idev->msg_xfrd++] = c; in axxia_i2c_empty_rx_fifo()
264 int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_fill_tx_fifo()
265 int ret = msg->len - idev->msg_xfrd - bytes_to_transfer; in axxia_i2c_fill_tx_fifo()
268 writel(msg->buf[idev->msg_xfrd++], idev->base + MST_DATA); in axxia_i2c_fill_tx_fifo()
323 if (i2c_m_rd(idev->msg) && idev->msg_xfrd < idev->msg->len) in axxia_i2c_isr()
349 idev->msg_xfrd = 0; in axxia_i2c_xfer_msg()