Lines Matching refs:i2c_bus
35 static struct i2c_bus *busses[I2C_BUS_MAX];
49 static void i2c_attach_device(struct i2c_bus *bus, struct i2c_driver *driver) in i2c_attach_device()
144 int i2c_register_bus(struct i2c_bus *bus) in i2c_register_bus()
189 int i2c_unregister_bus(struct i2c_bus *bus) in i2c_unregister_bus()
277 int i2c_control_device(struct i2c_bus *bus, int id, in i2c_control_device()
297 void i2c_start(struct i2c_bus *bus) in i2c_start()
306 void i2c_stop(struct i2c_bus *bus) in i2c_stop()
314 void i2c_one(struct i2c_bus *bus) in i2c_one()
321 void i2c_zero(struct i2c_bus *bus) in i2c_zero()
328 int i2c_ack(struct i2c_bus *bus) in i2c_ack()
339 int i2c_sendbyte(struct i2c_bus *bus,unsigned char data,int wait_for_ack) in i2c_sendbyte()
353 unsigned char i2c_readbyte(struct i2c_bus *bus,int last) in i2c_readbyte()
373 int i2c_read(struct i2c_bus *bus, unsigned char addr) in i2c_read()
387 int i2c_write(struct i2c_bus *bus, unsigned char addr, in i2c_write()