Searched refs:msg_wrt_idx (Results 1 – 1 of 1) sorted by relevance
334 int msg_wrt_idx, msg_itr_lmt, buf_len, data_idx; in amd_i2c_dw_xfer_quirk() local351 for (msg_wrt_idx = 0; msg_wrt_idx < num_msgs; msg_wrt_idx++) { in amd_i2c_dw_xfer_quirk()352 tx_buf = msgs[msg_wrt_idx].buf; in amd_i2c_dw_xfer_quirk()353 buf_len = msgs[msg_wrt_idx].len; in amd_i2c_dw_xfer_quirk()355 if (!(msgs[msg_wrt_idx].flags & I2C_M_RD)) in amd_i2c_dw_xfer_quirk()363 if (msg_wrt_idx == num_msgs - 1 && msg_itr_lmt == 1) in amd_i2c_dw_xfer_quirk()366 if (msgs[msg_wrt_idx].flags & I2C_M_RD) { in amd_i2c_dw_xfer_quirk()