Searched refs:I2C_SLAVE (Results 1 – 2 of 2) sorted by relevance
212 if (ioctl(fd, I2C_SLAVE, addr) == -1) { in i2cdetect_main()241 fd = i2c_open(bus, (toys.optflags&FLAG_f)?I2C_SLAVE_FORCE:I2C_SLAVE, chip); in i2cdump_main()268 fd = i2c_open(bus, (toys.optflags&FLAG_f)?I2C_SLAVE_FORCE:I2C_SLAVE, chip); in i2cget_main()308 fd = i2c_open(bus, (toys.optflags&FLAG_f)?I2C_SLAVE_FORCE:I2C_SLAVE, chip); in i2cset_main()
28 #define I2C_SLAVE 0x0703 /* Use this slave address */ macro