Lines Matching defs:i2c_bus
29 struct i2c_bus { struct
41 static void set_packet_mode(struct i2c_bus *i2c_bus) in set_packet_mode()
61 static void i2c_reset_controller(struct i2c_bus *i2c_bus) in i2c_reset_controller()
73 static int i2c_init_clock(struct i2c_bus *i2c_bus, unsigned rate) in i2c_init_clock()
93 static void i2c_init_controller(struct i2c_bus *i2c_bus) in i2c_init_controller()
142 struct i2c_bus *i2c_bus, in send_packet_headers()
230 static int send_recv_packets(struct i2c_bus *i2c_bus, in send_recv_packets()
306 static int tegra_i2c_write_data(struct i2c_bus *i2c_bus, u32 addr, u8 *data, in tegra_i2c_write_data()
327 static int tegra_i2c_read_data(struct i2c_bus *i2c_bus, u32 addr, u8 *data, in tegra_i2c_read_data()
348 struct i2c_bus *i2c_bus = dev_get_priv(dev); in tegra_i2c_set_bus_speed() local
358 struct i2c_bus *i2c_bus = dev_get_priv(dev); in tegra_i2c_probe() local
414 static int i2c_write_data(struct i2c_bus *i2c_bus, uchar chip, uchar *buffer, in i2c_write_data()
436 static int i2c_read_data(struct i2c_bus *i2c_bus, uchar chip, uchar *buffer, in i2c_read_data()
462 struct i2c_bus *i2c_bus = dev_get_priv(bus); in tegra_i2c_probe_chip() local
476 struct i2c_bus *i2c_bus = dev_get_priv(bus); in tegra_i2c_xfer() local