Lines Matching defs:i2c_bus
32 struct i2c_bus { struct
44 static void set_packet_mode(struct i2c_bus *i2c_bus) in set_packet_mode()
64 static void i2c_reset_controller(struct i2c_bus *i2c_bus) in i2c_reset_controller()
76 static int i2c_init_clock(struct i2c_bus *i2c_bus, unsigned rate) in i2c_init_clock()
96 static void i2c_init_controller(struct i2c_bus *i2c_bus) in i2c_init_controller()
145 struct i2c_bus *i2c_bus, in send_packet_headers()
233 static int send_recv_packets(struct i2c_bus *i2c_bus, in send_recv_packets()
309 static int tegra_i2c_write_data(struct i2c_bus *i2c_bus, u32 addr, u8 *data, in tegra_i2c_write_data()
330 static int tegra_i2c_read_data(struct i2c_bus *i2c_bus, u32 addr, u8 *data, in tegra_i2c_read_data()
351 struct i2c_bus *i2c_bus = dev_get_priv(dev); in tegra_i2c_set_bus_speed() local
361 struct i2c_bus *i2c_bus = dev_get_priv(dev); in tegra_i2c_probe() local
418 static int i2c_write_data(struct i2c_bus *i2c_bus, uchar chip, uchar *buffer, in i2c_write_data()
440 static int i2c_read_data(struct i2c_bus *i2c_bus, uchar chip, uchar *buffer, in i2c_read_data()
466 struct i2c_bus *i2c_bus = dev_get_priv(bus); in tegra_i2c_probe_chip() local
480 struct i2c_bus *i2c_bus = dev_get_priv(bus); in tegra_i2c_xfer() local