Lines Matching defs:i2c_base
28 static int dw_i2c_enable(struct i2c_regs *i2c_base, bool enable) in dw_i2c_enable()
37 static int dw_i2c_enable(struct i2c_regs *i2c_base, bool enable) in dw_i2c_enable()
287 static int _dw_i2c_set_bus_speed(struct dw_i2c *priv, struct i2c_regs *i2c_base, in _dw_i2c_set_bus_speed()
372 static void i2c_setaddress(struct i2c_regs *i2c_base, unsigned int i2c_addr) in i2c_setaddress()
388 static void i2c_flush_rxfifo(struct i2c_regs *i2c_base) in i2c_flush_rxfifo()
399 static int i2c_wait_for_bb(struct i2c_regs *i2c_base) in i2c_wait_for_bb()
414 static int i2c_xfer_init(struct i2c_regs *i2c_base, uchar chip, uint addr, in i2c_xfer_init()
430 static int i2c_xfer_finish(struct i2c_regs *i2c_base) in i2c_xfer_finish()
463 static int __dw_i2c_read(struct i2c_regs *i2c_base, u8 dev, uint addr, in __dw_i2c_read()
531 static int __dw_i2c_write(struct i2c_regs *i2c_base, u8 dev, uint addr, in __dw_i2c_write()
587 static int __dw_i2c_init(struct i2c_regs *i2c_base, int speed, int slaveaddr) in __dw_i2c_init()
670 struct i2c_regs *i2c_base = i2c_get_base(adap); in dw_i2c_probe() local