Searched refs:cur_busnum (Results 1 – 1 of 1) sorted by relevance
11 static int cur_busnum __attribute__((section(".data"))); variable19 ret = i2c_get_chip_for_busnum(cur_busnum, chip_addr, alen, devp); in i2c_compat_get_device()37 ret = uclass_get_device_by_seq(UCLASS_I2C, cur_busnum, &bus); in i2c_probe()39 debug("Cannot find I2C bus %d: err=%d\n", cur_busnum, ret); in i2c_probe()89 return cur_busnum; in i2c_get_bus_num()94 cur_busnum = bus; in i2c_set_bus_num()