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

/drivers/i2c/busses/
H A Di2c-axxia.c87 * @msg_xfrd: number of bytes transferred in msg
98 size_t msg_xfrd; member in struct:axxia_i2c_dev
229 int bytes_to_transfer = min(rx_fifo_avail, msg->len - idev->msg_xfrd);
234 if (idev->msg_xfrd == 0 && i2c_m_recv_len(msg)) {
247 msg->buf[idev->msg_xfrd++] = c;
261 int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd);
262 int ret = msg->len - idev->msg_xfrd - bytes_to_transfer;
265 writel(msg->buf[idev->msg_xfrd++], idev->base + MST_DATA);
303 if (i2c_m_rd(idev->msg) && idev->msg_xfrd < idev->msg->len)
345 idev->msg_xfrd
[all...]

Completed in 11 milliseconds