Searched refs:old_bus (Results 1 – 7 of 7) sorted by relevance
28 int old_bus = i2c_get_bus_num(); in eeprom_bus_read() local30 if (old_bus != CONFIG_I2C_ENV_EEPROM_BUS) in eeprom_bus_read()37 i2c_set_bus_num(old_bus); in eeprom_bus_read()48 int old_bus = i2c_get_bus_num(); in eeprom_bus_write() local50 if (old_bus != CONFIG_I2C_ENV_EEPROM_BUS) in eeprom_bus_write()57 i2c_set_bus_num(old_bus); in eeprom_bus_write()
36 int old_bus __maybe_unused; in do_date()48 old_bus = i2c_get_bus_num(); in do_date()51 old_bus = I2C_GET_BUS(); in do_date()121 i2c_set_bus_num(old_bus); in do_date()123 I2C_SET_BUS(old_bus); in do_date()
46 int old_bus = i2c_get_bus_num(); in adv7611_probe() local173 i2c_set_bus_num(old_bus); in adv7611_probe()
306 int old_bus = i2c_get_bus_num(); in osd_probe() local392 i2c_set_bus_num(old_bus); in osd_probe()
177 int old_bus = i2c_get_bus_num(); in vme8349_read_spd() local206 i2c_set_bus_num(old_bus); in vme8349_read_spd()
406 int old_bus; in ddr3_read_spd() local410 old_bus = i2c_get_bus_num(); in ddr3_read_spd()415 i2c_set_bus_num(old_bus); in ddr3_read_spd()
579 int old_bus = i2c_get_bus_num(); in max98095_init() local590 i2c_set_bus_num(old_bus); in max98095_init()