Home
last modified time | relevance | path

Searched refs:i2c_get_base (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/i2c/
H A Ddesignware_i2c.c408 static struct i2c_regs *i2c_get_base(struct i2c_adapter *adap) in i2c_get_base() function
436 return __dw_i2c_set_bus_speed(i2c_get_base(adap), NULL, speed); in dw_i2c_set_bus_speed()
441 __dw_i2c_init(i2c_get_base(adap), speed, slaveaddr); in dw_i2c_init()
447 return __dw_i2c_read(i2c_get_base(adap), dev, addr, alen, buffer, len); in dw_i2c_read()
453 return __dw_i2c_write(i2c_get_base(adap), dev, addr, alen, buffer, len); in dw_i2c_write()
459 struct i2c_regs *i2c_base = i2c_get_base(adap); in dw_i2c_probe()
H A Dmxc_i2c.c630 struct mxc_i2c_bus *i2c_get_base(struct i2c_adapter *adap) in i2c_get_base() function
639 return bus_i2c_read(i2c_get_base(adap), chip, addr, alen, buffer, len); in mxc_i2c_read()
646 return bus_i2c_write(i2c_get_base(adap), chip, addr, alen, buffer, len); in mxc_i2c_write()
654 return bus_i2c_write(i2c_get_base(adap), chip, 0, 0, NULL, 0); in mxc_i2c_probe()
726 return bus_i2c_set_bus_speed(i2c_get_base(adap), speed); in mxc_i2c_set_bus_speed()