Home
last modified time | relevance | path

Searched refs:bus_no (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/cmd/
Di2c.c1809 int bus_no; in do_i2c_bus_num() local
1817 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 …]
/external/u-boot/drivers/i2c/
Di2c_core.c172 static void i2c_init_bus(unsigned int bus_no, int speed, int slaveaddr) in i2c_init_bus() argument
174 if (bus_no >= CONFIG_SYS_NUM_I2C_BUSES) in i2c_init_bus()
/external/u-boot/drivers/sound/
Dwm8994.c72 static void wm8994_i2c_init(int bus_no) in wm8994_i2c_init() argument
74 i2c_set_bus_num(bus_no); in wm8994_i2c_init()