Searched refs:I2C_ADAP (Results 1 – 3 of 3) sorted by relevance
121 ret = i2c_mux_set(I2C_ADAP, in i2c_mux_set_all()138 if (I2C_ADAP->init_done == 0) in i2c_mux_disconnect_all()143 (I2C_ADAP->init_done != 0)) { in i2c_mux_disconnect_all()153 ret = I2C_ADAP->write(I2C_ADAP, chip, 0, 0, &buf, 1); in i2c_mux_disconnect_all()177 I2C_ADAP->init(I2C_ADAP, speed, slaveaddr); in i2c_init_bus()180 I2C_ADAP->init_done = 1; in i2c_init_bus()181 I2C_ADAP->speed = speed; in i2c_init_bus()182 I2C_ADAP->slaveaddr = slaveaddr; in i2c_init_bus()240 if ((bus == I2C_BUS) && (I2C_ADAP->init_done > 0)) in i2c_set_bus_num()260 if (I2C_ADAP->init_done == 0) in i2c_set_bus_num()[all …]
645 #define I2C_ADAP I2C_ADAP_NR(gd->cur_i2c_bus) macro646 #define I2C_ADAP_HWNR (I2C_ADAP->hwadapnr)
1940 i2c_init(I2C_ADAP->speed, I2C_ADAP->slaveaddr); in do_i2c_reset()