Searched refs:I2C_ADAP (Results 1 – 3 of 3) sorted by relevance
/u-boot/drivers/i2c/ |
A D | i2c_core.c | 123 ret = i2c_mux_set(I2C_ADAP, in i2c_mux_set_all() 140 if (I2C_ADAP->init_done == 0) in i2c_mux_disconnect_all() 155 ret = I2C_ADAP->write(I2C_ADAP, chip, 0, 0, &buf, 1); in i2c_mux_disconnect_all() 179 I2C_ADAP->init(I2C_ADAP, speed, slaveaddr); in i2c_init_bus() 182 I2C_ADAP->init_done = 1; in i2c_init_bus() 183 I2C_ADAP->speed = speed; in i2c_init_bus() 263 i2c_init_bus(bus, I2C_ADAP->speed, I2C_ADAP->slaveaddr); in i2c_set_bus_num() 277 return I2C_ADAP->probe(I2C_ADAP, chip); in i2c_probe() 295 return I2C_ADAP->read(I2C_ADAP, chip, addr, alen, buffer, len); in i2c_read() 301 return I2C_ADAP->write(I2C_ADAP, chip, addr, alen, buffer, len); in i2c_write() [all …]
|
/u-boot/include/ |
A D | i2c.h | 690 #define I2C_ADAP I2C_ADAP_NR(gd->cur_i2c_bus) macro 691 #define I2C_ADAP_HWNR (I2C_ADAP->hwadapnr)
|
/u-boot/cmd/ |
A D | i2c.c | 1955 i2c_init(I2C_ADAP->speed, I2C_ADAP->slaveaddr); in do_i2c_reset()
|
Completed in 8 milliseconds