Lines Matching defs:msg_index
212 int msg_index;
216 for (msg_index = 0; msg_index < num; msg_index++) {
217 if (msg[msg_index].flags & I2C_M_RD) {
218 ret = dibx000_master_i2c_read(mst, &msg[msg_index]);
222 ret = dibx000_master_i2c_write(mst, &msg[msg_index], 1);
234 int msg_index;
238 for (msg_index = 0; msg_index < num; msg_index++) {
239 if (msg[msg_index].flags & I2C_M_RD) {
240 ret = dibx000_master_i2c_read(mst, &msg[msg_index]);
244 ret = dibx000_master_i2c_write(mst, &msg[msg_index], 1);