Searched refs:bus_no (Results 1 – 3 of 3) sorted by relevance
1809 int bus_no; in do_i2c_bus_num() local1817 bus_no = bus->seq; in do_i2c_bus_num()1819 bus_no = -1; in do_i2c_bus_num()1821 bus_no = i2c_get_bus_num(); in do_i2c_bus_num()1823 printf("Current bus is %d\n", bus_no); in do_i2c_bus_num()1825 bus_no = simple_strtoul(argv[1], NULL, 10); in do_i2c_bus_num()1827 if (bus_no >= CONFIG_SYS_NUM_I2C_BUSES) { in do_i2c_bus_num()1828 printf("Invalid bus %d\n", bus_no); in do_i2c_bus_num()1832 printf("Setting bus to %d\n", bus_no); in do_i2c_bus_num()1834 ret = cmd_i2c_set_bus_num(bus_no); in do_i2c_bus_num()[all …]
172 static void i2c_init_bus(unsigned int bus_no, int speed, int slaveaddr) in i2c_init_bus() argument174 if (bus_no >= CONFIG_SYS_NUM_I2C_BUSES) in i2c_init_bus()
72 static void wm8994_i2c_init(int bus_no) in wm8994_i2c_init() argument74 i2c_set_bus_num(bus_no); in wm8994_i2c_init()