/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-pasemi.c | 60 static inline void reg_write(struct pasemi_smbus *smbus, int reg, int val) in reg_write() argument 62 dev_dbg(&smbus->dev->dev, "smbus write reg %lx val %08x\n", in reg_write() 63 smbus->base + reg, val); in reg_write() 64 outl(val, smbus->base + reg); in reg_write() 67 static inline int reg_read(struct pasemi_smbus *smbus, int reg) in reg_read() argument 70 ret = inl(smbus->base + reg); in reg_read() 71 dev_dbg(&smbus->dev->dev, "smbus read reg %lx val %08x\n", in reg_read() 72 smbus->base + reg, ret); in reg_read() 76 #define TXFIFO_WR(smbus, reg) reg_write((smbus), REG_MTXFIFO, (reg)) argument 77 #define RXFIFO_RD(smbus) reg_read((smbus), REG_MRXFIFO) argument [all …]
|
D | i2c-amd8111.c | 71 static int amd_ec_wait_write(struct amd_smbus *smbus) in amd_ec_wait_write() argument 75 while ((inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_IBF) && --timeout) in amd_ec_wait_write() 79 dev_warn(&smbus->dev->dev, in amd_ec_wait_write() 87 static int amd_ec_wait_read(struct amd_smbus *smbus) in amd_ec_wait_read() argument 91 while ((~inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_OBF) && --timeout) in amd_ec_wait_read() 95 dev_warn(&smbus->dev->dev, in amd_ec_wait_read() 103 static int amd_ec_read(struct amd_smbus *smbus, unsigned char address, in amd_ec_read() argument 108 status = amd_ec_wait_write(smbus); in amd_ec_read() 111 outb(AMD_EC_CMD_RD, smbus->base + AMD_EC_CMD); in amd_ec_read() 113 status = amd_ec_wait_write(smbus); in amd_ec_read() [all …]
|
D | i2c-nforce2.c | 82 #define NVIDIA_SMB_PRTCL (smbus->base + 0x00) /* protocol, PEC */ 83 #define NVIDIA_SMB_STS (smbus->base + 0x01) /* status */ 84 #define NVIDIA_SMB_ADDR (smbus->base + 0x02) /* address */ 85 #define NVIDIA_SMB_CMD (smbus->base + 0x03) /* command */ 86 #define NVIDIA_SMB_DATA (smbus->base + 0x04) /* 32 data registers */ 87 #define NVIDIA_SMB_BCNT (smbus->base + 0x24) /* number of data 89 #define NVIDIA_SMB_STATUS_ABRT (smbus->base + 0x3c) /* register used to 92 #define NVIDIA_SMB_CTRL (smbus->base + 0x3e) /* control register */ 144 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_abort() local 163 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_check_status() local [all …]
|
D | i2c-stm32f7.c | 252 bool smbus; member 1426 } else if (f7_msg->smbus) { in stm32f7_i2c_isr_event() 1436 if (f7_msg->smbus) in stm32f7_i2c_isr_event() 1468 if (f7_msg->smbus) { in stm32f7_i2c_isr_event_thread() 1546 f7_msg->smbus = false; in stm32f7_i2c_xfer() 1593 f7_msg->smbus = true; in stm32f7_i2c_smbus_xfer()
|
D | Kconfig | 193 tristate "Intel Cherry Trail Whiskey Cove PMIC smbus controller"
|
/Linux-v4.19/Documentation/devicetree/bindings/hwmon/ |
D | stts751.txt | 8 - smbus-timeout-disable: when set, the smbus timeout function will be disabled
|
D | jc42.txt | 38 - smbus-timeout-disable: When set, the smbus timeout function will be disabled.
|
D | max6697.txt | 20 - smbus-timeout-disable 60 smbus-timeout-disable;
|
/Linux-v4.19/drivers/i2c/ |
D | Makefile | 8 i2c-core-objs := i2c-core-base.o i2c-core-smbus.o 13 obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
|
D | Kconfig | 95 will be called i2c-smbus.
|
/Linux-v4.19/drivers/hwmon/ |
D | jc42.c | 504 int smbus; in jc42_probe() local 512 smbus = i2c_smbus_read_word_swapped(client, JC42_REG_SMBUS); in jc42_probe() 513 if (smbus < 0) in jc42_probe() 514 return smbus; in jc42_probe() 516 smbus | SMBUS_STMOUT); in jc42_probe()
|
/Linux-v4.19/Documentation/i2c/ |
D | dev-interface | 24 #include <i2c/smbus.h> 147 You can do SMBus level transactions (see documentation file smbus-protocol 193 performs an SMBus transaction using i2c-core-smbus.c:i2c_smbus_xfer(). 206 i2c-core-smbus.c:i2c_smbus_xfer() calls either 208 i2c-core-smbus.c:i2c_smbus_xfer_emulated() which in turn calls
|
D | writing-clients | 392 You can read the file `smbus-protocol' for more information about the
|
/Linux-v4.19/drivers/input/mouse/ |
D | cyapa.c | 170 bool smbus = false; in cyapa_get_state() local 190 if (cyapa->smbus && (error == -ETIMEDOUT || error == -ENXIO)) { in cyapa_get_state() 194 smbus = true; in cyapa_get_state() 226 !smbus && even_addr) { in cyapa_get_state() 237 if (!smbus) { in cyapa_get_state() 251 } while (--retries > 0 && !smbus); in cyapa_get_state() 1281 cyapa->smbus = true; in cyapa_probe()
|
D | Makefile | 43 psmouse-$(CONFIG_MOUSE_PS2_SMBUS) += psmouse-smbus.o
|
D | cyapa_gen3.c | 281 if (cyapa->smbus) { in cyapa_read_byte() 294 if (cyapa->smbus) { in cyapa_write_byte() 320 if (cyapa->smbus) { in cyapa_read_block()
|
D | cyapa.h | 341 bool smbus; member
|
/Linux-v4.19/drivers/rtc/ |
D | rtc-rs5c372.c | 127 unsigned smbus:1; member 155 if (rs5c->smbus) { in rs5c_get_regs() 611 rs5c372->smbus = smbus_mode; in rs5c372_probe()
|
/Linux-v4.19/drivers/ntb/hw/idt/ |
D | Kconfig | 9 initialisation of EEPROM connected to master smbus of the switch or
|
/Linux-v4.19/drivers/usb/host/ |
D | pci-quirks.c | 503 struct pci_dev *nb, *smbus; in usb_amd_dev_put() local 516 smbus = amd_chipset.smbus_dev; in usb_amd_dev_put() 528 pci_dev_put(smbus); in usb_amd_dev_put()
|
/Linux-v4.19/Documentation/driver-api/ |
D | i2c.rst | 47 .. kernel-doc:: drivers/i2c/i2c-core-smbus.c
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | at91-nattis-2-natte-2.dts | 170 smbus-timeout-disable;
|
D | at91-tse850-3.dts | 224 smbus-timeout-disable;
|
/Linux-v4.19/include/trace/events/ |
D | smbus.h | 12 #define TRACE_SYSTEM smbus
|
/Linux-v4.19/drivers/platform/chrome/ |
D | Kconfig | 21 This driver instantiates i2c and smbus devices such as
|