Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/i2c/busses/
Di2c-designware-master.c239 if (msgs[dev->msg_write_idx].flags & I2C_M_TEN) { in i2c_dw_xfer_init()
258 msgs[dev->msg_write_idx].addr | ic_tar); in i2c_dw_xfer_init()
415 u32 addr = msgs[dev->msg_write_idx].addr; in i2c_dw_xfer_msg()
423 for (; dev->msg_write_idx < dev->msgs_num; dev->msg_write_idx++) { in i2c_dw_xfer_msg()
424 u32 flags = msgs[dev->msg_write_idx].flags; in i2c_dw_xfer_msg()
431 if (msgs[dev->msg_write_idx].addr != addr) { in i2c_dw_xfer_msg()
440 buf = msgs[dev->msg_write_idx].buf; in i2c_dw_xfer_msg()
441 buf_len = msgs[dev->msg_write_idx].len; in i2c_dw_xfer_msg()
448 (dev->msg_write_idx > 0)) in i2c_dw_xfer_msg()
474 if (dev->msg_write_idx == dev->msgs_num - 1 && in i2c_dw_xfer_msg()
[all …]
Di2c-designware-core.h265 int msg_write_idx; member