Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-designware-master.c584 u32 flags = msgs[dev->msg_read_idx].flags; in i2c_dw_recv_len()
592 msgs[dev->msg_read_idx].len = len; in i2c_dw_recv_len()
593 msgs[dev->msg_read_idx].flags &= ~I2C_M_RECV_LEN; in i2c_dw_recv_len()
611 for (; dev->msg_read_idx < dev->msgs_num; dev->msg_read_idx++) { in i2c_dw_read()
616 if (!(msgs[dev->msg_read_idx].flags & I2C_M_RD)) in i2c_dw_read()
620 len = msgs[dev->msg_read_idx].len; in i2c_dw_read()
621 buf = msgs[dev->msg_read_idx].buf; in i2c_dw_read()
630 u32 flags = msgs[dev->msg_read_idx].flags; in i2c_dw_read()
698 dev->msg_read_idx = 0; in i2c_dw_xfer()
H A Di2c-designware-core.h269 int msg_read_idx; member