Lines Matching refs:trans_info
310 struct i2c_trans_info trans_info; in tegra_i2c_write_data() local
312 trans_info.address = addr; in tegra_i2c_write_data()
313 trans_info.buf = data; in tegra_i2c_write_data()
314 trans_info.flags = I2C_IS_WRITE; in tegra_i2c_write_data()
316 trans_info.flags |= I2C_USE_REPEATED_START; in tegra_i2c_write_data()
317 trans_info.num_bytes = len; in tegra_i2c_write_data()
318 trans_info.is_10bit_address = 0; in tegra_i2c_write_data()
320 error = send_recv_packets(i2c_bus, &trans_info); in tegra_i2c_write_data()
331 struct i2c_trans_info trans_info; in tegra_i2c_read_data() local
333 trans_info.address = addr | 1; in tegra_i2c_read_data()
334 trans_info.buf = data; in tegra_i2c_read_data()
335 trans_info.flags = 0; in tegra_i2c_read_data()
336 trans_info.num_bytes = len; in tegra_i2c_read_data()
337 trans_info.is_10bit_address = 0; in tegra_i2c_read_data()
339 error = send_recv_packets(i2c_bus, &trans_info); in tegra_i2c_read_data()