Home
last modified time | relevance | path

Searched refs:old_bus (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/env/
H A Deeprom.c28 int old_bus = i2c_get_bus_num(); in eeprom_bus_read() local
30 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() local
50 if (old_bus != CONFIG_I2C_ENV_EEPROM_BUS) in eeprom_bus_write()
57 i2c_set_bus_num(old_bus); in eeprom_bus_write()
/openbmc/u-boot/cmd/
H A Ddate.c36 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()
/openbmc/u-boot/board/gdsys/common/
H A Dadv7611.c46 int old_bus = i2c_get_bus_num(); in adv7611_probe() local
173 i2c_set_bus_num(old_bus); in adv7611_probe()
H A Dosd.c306 int old_bus = i2c_get_bus_num(); in osd_probe() local
392 i2c_set_bus_num(old_bus); in osd_probe()
/openbmc/u-boot/board/esd/vme8349/
H A Dvme8349.c177 int old_bus = i2c_get_bus_num(); in vme8349_read_spd() local
206 i2c_set_bus_num(old_bus); in vme8349_read_spd()
/openbmc/u-boot/arch/arm/mach-keystone/
H A Dddr3_spd.c407 int old_bus; in ddr3_read_spd() local
411 old_bus = i2c_get_bus_num(); in ddr3_read_spd()
416 i2c_set_bus_num(old_bus); in ddr3_read_spd()