Lines Matching refs:msg

1315 	struct i2c_msg msg[2];  in drxbsp_i2c_write_read()  local
1321 msg[0].addr = r_dev_addr->i2c_addr >> 1; in drxbsp_i2c_write_read()
1322 msg[0].flags = I2C_M_RD; in drxbsp_i2c_write_read()
1323 msg[0].buf = r_data; in drxbsp_i2c_write_read()
1324 msg[0].len = r_count; in drxbsp_i2c_write_read()
1329 msg[0].addr = w_dev_addr->i2c_addr >> 1; in drxbsp_i2c_write_read()
1330 msg[0].flags = 0; in drxbsp_i2c_write_read()
1331 msg[0].buf = wData; in drxbsp_i2c_write_read()
1332 msg[0].len = w_count; in drxbsp_i2c_write_read()
1337 msg[0].addr = w_dev_addr->i2c_addr >> 1; in drxbsp_i2c_write_read()
1338 msg[0].flags = 0; in drxbsp_i2c_write_read()
1339 msg[0].buf = wData; in drxbsp_i2c_write_read()
1340 msg[0].len = w_count; in drxbsp_i2c_write_read()
1341 msg[1].addr = r_dev_addr->i2c_addr >> 1; in drxbsp_i2c_write_read()
1342 msg[1].flags = I2C_M_RD; in drxbsp_i2c_write_read()
1343 msg[1].buf = r_data; in drxbsp_i2c_write_read()
1344 msg[1].len = r_count; in drxbsp_i2c_write_read()
1352 if (i2c_transfer(state->i2c, msg, num_msgs) != num_msgs) { in drxbsp_i2c_write_read()
1366 msg[0].addr = w_dev_addr->i2c_addr; in drxbsp_i2c_write_read()
1367 msg[0].flags = 0; in drxbsp_i2c_write_read()
1368 msg[0].buf = wData; in drxbsp_i2c_write_read()
1369 msg[0].len = w_count; in drxbsp_i2c_write_read()
1370 msg[1].addr = r_dev_addr->i2c_addr; in drxbsp_i2c_write_read()
1371 msg[1].flags = I2C_M_RD; in drxbsp_i2c_write_read()
1372 msg[1].buf = r_data; in drxbsp_i2c_write_read()
1373 msg[1].len = r_count; in drxbsp_i2c_write_read()
1379 if (i2c_transfer(state->i2c, msg, 2) != 2) { in drxbsp_i2c_write_read()