Home
last modified time | relevance | path

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

/busybox-1.35.0/miscutils/
Di2c_tools.c447 static void confirm_action(int bus_addr, int mode, int data_addr, int pec) in confirm_action() argument
452 if (bus_addr >= 0x50 && bus_addr <= 0x57 && pec) { in confirm_action()
488 int bus_num, bus_addr, data_addr = -1, status; in i2cget_main() local
496 bus_addr = i2c_parse_bus_addr(argv[1]); in i2cget_main()
516 i2c_set_slave_addr(fd, bus_addr, opts & opt_f); in i2cget_main()
519 confirm_action(bus_addr, mode, data_addr, pec); in i2cget_main()
576 int bus_num, bus_addr, data_addr, mode = I2C_SMBUS_BYTE, pec = 0; in i2cset_main() local
592 bus_addr = i2c_parse_bus_addr(argv[1]); in i2cset_main()
661 i2c_set_slave_addr(fd, bus_addr, opts & opt_f); in i2cset_main()
664 confirm_action(bus_addr, mode, data_addr, pec); in i2cset_main()
[all …]