Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/i2c/busses/
Di2c-hisi.c102 int buf_rx_idx; member
183 ctlr->buf_rx_idx = 0; in hisi_i2c_reset_xfer()
250 ctlr->buf_rx_idx < cur_msg->len) { in hisi_i2c_read_rx_fifo()
251 cur_msg->buf[ctlr->buf_rx_idx++] = readl(ctlr->iobase + HISI_I2C_RXDATA); in hisi_i2c_read_rx_fifo()
255 if (ctlr->buf_rx_idx == cur_msg->len) { in hisi_i2c_read_rx_fifo()
256 ctlr->buf_rx_idx = 0; in hisi_i2c_read_rx_fifo()