Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Di2c-dev.h28 #define I2C_SLAVE 0x0703 /* Use this slave address */ macro
/openbmc/qemu/hw/nvram/
H A Deeprom_at24c.c172 i2c_slave_realize_and_unref(I2C_SLAVE(s), bus, &error_abort); in at24c_eeprom_init_rom()
174 return I2C_SLAVE(s); in at24c_eeprom_init_rom()
/openbmc/linux/Documentation/i2c/
H A Ddev-interface.rst53 if (ioctl(file, I2C_SLAVE, addr) < 0) {
107 ``ioctl(file, I2C_SLAVE, long addr)``
149 ioctl I2C_SLAVE before you try to access the device.
194 i2c-dev directly. Examples include I2C_SLAVE (set the address of the
/openbmc/linux/drivers/char/ipmi/
H A DKconfig80 depends on I2C && I2C_SLAVE
192 depends on I2C && I2C_SLAVE
203 depends on I2C_SLAVE
/openbmc/qemu/hw/i2c/
H A Dcore.c89 I2CSlave *candidate = I2C_SLAVE(qdev); in i2c_scan_bus()
374 return I2C_SLAVE(dev); in i2c_slave_new()
/openbmc/qemu/include/hw/i2c/
H A Di2c.h24 I2C_SLAVE)
/openbmc/linux/drivers/net/mctp/
H A DKconfig29 depends on I2C_SLAVE
/openbmc/qemu/hw/audio/
H A Dwm8750.c555 wm8750_reset(I2C_SLAVE(s)); in wm8750_tx()
631 wm8750_reset(I2C_SLAVE(s)); in wm8750_realize()
639 wm8750_reset(I2C_SLAVE(s));
/openbmc/linux/drivers/i2c/busses/
H A Di2c-npcm7xx.c25 I2C_SLAVE, enumerator
363 bus->master_or_slave = I2C_SLAVE; in npcm_i2c_init_params()
748 bus->master_or_slave = I2C_SLAVE; in npcm_i2c_callback()
1148 bus->master_or_slave = I2C_SLAVE; in npcm_i2c_int_slave_handler()
1165 bus->master_or_slave = I2C_SLAVE; in npcm_i2c_int_slave_handler()
1991 bus->master_or_slave = I2C_SLAVE; in __npcm_i2c_init()
2027 bus->master_or_slave = I2C_SLAVE; in npcm_i2c_bus_irq()
H A DKconfig426 select I2C_SLAVE
450 select I2C_SLAVE
475 select I2C_SLAVE
550 select I2C_SLAVE
636 select I2C_SLAVE
720 select I2C_SLAVE
792 select I2C_SLAVE
886 Driver can also support slave mode (select I2C_SLAVE).
967 select I2C_SLAVE
1105 select I2C_SLAVE
[all …]
/openbmc/linux/drivers/i2c/
H A DKconfig122 config I2C_SLAVE config
129 if I2C_SLAVE
H A Di2c-dev.c401 case I2C_SLAVE: in i2cdev_ioctl()
406 if (cmd == I2C_SLAVE && i2cdev_check_addr(client->adapter, arg)) in i2cdev_ioctl()
/openbmc/qemu/hw/sensor/
H A Dtmp105.c301 I2CSlave *i2c = I2C_SLAVE(dev); in tmp105_realize()
H A Dtmp421.c242 tmp421_reset(I2C_SLAVE(s)); in tmp421_write()
H A Dlsm303dlhc_mag.c501 I2CSlave *i2c = I2C_SLAVE(dev); in lsm303dlhc_mag_reset()
/openbmc/dbus-sensors/src/nvme/
H A DNVMeBasicContext.cpp92 if (::ioctl(fileHandle.handle(), I2C_SLAVE, addr) == -1) in execBasicQuery()
/openbmc/phosphor-power/tools/i2c/
H A Di2c.cpp270 ret = ioctl(fd, I2C_SLAVE, devAddr); in open()
/openbmc/qemu/hw/arm/
H A Daspeed.c674 i2c_slave_realize_and_unref(I2C_SLAVE(dev), in witherspoon_bmc_i2c_init()
716 i2c_slave_realize_and_unref(I2C_SLAVE(dev), in witherspoon_bmc_i2c_init()
/openbmc/qemu/hw/display/
H A Dxlnx_dp.c1276 i2c_slave_set_address(I2C_SLAVE(s->edid), 0x50); in xlnx_dp_init()
H A Dati.c1003 I2CSlave *i2cddc = I2C_SLAVE(qdev_new(TYPE_I2CDDC)); in ati_vga_realize()
H A Dsm501.c1911 i2c_slave_set_address(I2C_SLAVE(ddc), 0x50); in sm501_init()
/openbmc/entity-manager/src/
H A Dfru_device.cpp526 if (ioctl(file, I2C_SLAVE, ii) < 0) in getBusFRUs()
/openbmc/linux/drivers/input/misc/
H A DKconfig745 depends on I2C && I2C_SLAVE