Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/i2c/busses/
Di2c-hisi.c102 int buf_tx_idx; member
190 ctlr->buf_tx_idx = 0; in hisi_i2c_reset_xfer()
287 if (ctlr->msg_tx_idx && !ctlr->buf_tx_idx) in hisi_i2c_xfer_msg()
292 ctlr->buf_tx_idx < cur_msg->len && max_write) { in hisi_i2c_xfer_msg()
301 if (ctlr->buf_tx_idx == cur_msg->len - 1 && last_msg) in hisi_i2c_xfer_msg()
308 cur_msg->buf[ctlr->buf_tx_idx]); in hisi_i2c_xfer_msg()
311 ctlr->buf_tx_idx++; in hisi_i2c_xfer_msg()
318 if (ctlr->buf_tx_idx == cur_msg->len) { in hisi_i2c_xfer_msg()
319 ctlr->buf_tx_idx = 0; in hisi_i2c_xfer_msg()