| /Linux-v5.4/drivers/i2c/busses/ |
| D | i2c-pasemi.c | 52 static inline void reg_write(struct pasemi_smbus *smbus, int reg, int val) in reg_write() argument 54 dev_dbg(&smbus->dev->dev, "smbus write reg %lx val %08x\n", in reg_write() 55 smbus->base + reg, val); in reg_write() 56 outl(val, smbus->base + reg); in reg_write() 59 static inline int reg_read(struct pasemi_smbus *smbus, int reg) in reg_read() argument 62 ret = inl(smbus->base + reg); in reg_read() 63 dev_dbg(&smbus->dev->dev, "smbus read reg %lx val %08x\n", in reg_read() 64 smbus->base + reg, ret); in reg_read() 68 #define TXFIFO_WR(smbus, reg) reg_write((smbus), REG_MTXFIFO, (reg)) argument 69 #define RXFIFO_RD(smbus) reg_read((smbus), REG_MRXFIFO) argument [all …]
|
| D | i2c-amd8111.c | 68 static int amd_ec_wait_write(struct amd_smbus *smbus) in amd_ec_wait_write() argument 72 while ((inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_IBF) && --timeout) in amd_ec_wait_write() 76 dev_warn(&smbus->dev->dev, in amd_ec_wait_write() 84 static int amd_ec_wait_read(struct amd_smbus *smbus) in amd_ec_wait_read() argument 88 while ((~inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_OBF) && --timeout) in amd_ec_wait_read() 92 dev_warn(&smbus->dev->dev, in amd_ec_wait_read() 100 static int amd_ec_read(struct amd_smbus *smbus, unsigned char address, in amd_ec_read() argument 105 status = amd_ec_wait_write(smbus); in amd_ec_read() 108 outb(AMD_EC_CMD_RD, smbus->base + AMD_EC_CMD); in amd_ec_read() 110 status = amd_ec_wait_write(smbus); in amd_ec_read() [all …]
|
| D | i2c-nforce2.c | 74 #define NVIDIA_SMB_PRTCL (smbus->base + 0x00) /* protocol, PEC */ 75 #define NVIDIA_SMB_STS (smbus->base + 0x01) /* status */ 76 #define NVIDIA_SMB_ADDR (smbus->base + 0x02) /* address */ 77 #define NVIDIA_SMB_CMD (smbus->base + 0x03) /* command */ 78 #define NVIDIA_SMB_DATA (smbus->base + 0x04) /* 32 data registers */ 79 #define NVIDIA_SMB_BCNT (smbus->base + 0x24) /* number of data 81 #define NVIDIA_SMB_STATUS_ABRT (smbus->base + 0x3c) /* register used to 84 #define NVIDIA_SMB_CTRL (smbus->base + 0x3e) /* control register */ 136 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_abort() local 155 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_check_status() local [all …]
|
| D | i2c-stm32f7.c | 257 bool smbus; member 1442 } else if (f7_msg->smbus) { in stm32f7_i2c_isr_event() 1452 if (f7_msg->smbus) in stm32f7_i2c_isr_event() 1484 if (f7_msg->smbus) { in stm32f7_i2c_isr_event_thread() 1565 f7_msg->smbus = false; in stm32f7_i2c_xfer() 1611 f7_msg->smbus = true; in stm32f7_i2c_smbus_xfer()
|
| D | Kconfig | 208 tristate "Intel Cherry Trail Whiskey Cove PMIC smbus controller"
|
| /Linux-v5.4/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-v5.4/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 | 96 will be called i2c-smbus.
|
| /Linux-v5.4/drivers/hwmon/ |
| D | jc42.c | 483 int smbus; in jc42_probe() local 491 smbus = i2c_smbus_read_word_swapped(client, JC42_REG_SMBUS); in jc42_probe() 492 if (smbus < 0) in jc42_probe() 493 return smbus; in jc42_probe() 495 smbus | SMBUS_STMOUT); in jc42_probe()
|
| /Linux-v5.4/Documentation/i2c/ |
| D | index.rst | 22 smbus-protocol
|
| D | dev-interface.rst | 28 #include <i2c/smbus.h> 151 You can do SMBus level transactions (see documentation file smbus-protocol 199 performs an SMBus transaction using i2c-core-smbus.c:i2c_smbus_xfer(). 212 i2c-core-smbus.c:i2c_smbus_xfer() calls either 214 i2c-core-smbus.c:i2c_smbus_xfer_emulated() which in turn calls
|
| D | writing-clients.rst | 414 You can read the file ``smbus-protocol`` for more information about the
|
| /Linux-v5.4/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() 1274 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-v5.4/drivers/rtc/ |
| D | rtc-rs5c372.c | 126 unsigned smbus:1; member 154 if (rs5c->smbus) { in rs5c_get_regs() 658 rs5c372->smbus = smbus_mode; in rs5c372_probe()
|
| /Linux-v5.4/drivers/usb/host/ |
| D | pci-quirks.c | 512 struct pci_dev *nb, *smbus; in usb_amd_dev_put() local 525 smbus = amd_chipset.smbus_dev; in usb_amd_dev_put() 537 pci_dev_put(smbus); in usb_amd_dev_put()
|
| /Linux-v5.4/Documentation/driver-api/ |
| D | i2c.rst | 47 .. kernel-doc:: drivers/i2c/i2c-core-smbus.c
|
| /Linux-v5.4/include/trace/events/ |
| D | smbus.h | 8 #define TRACE_SYSTEM smbus
|
| /Linux-v5.4/arch/arm/boot/dts/ |
| D | at91-nattis-2-natte-2.dts | 190 smbus-timeout-disable;
|
| D | at91-tse850-3.dts | 204 smbus-timeout-disable;
|
| /Linux-v5.4/drivers/platform/chrome/ |
| D | Kconfig | 32 This driver instantiates i2c and smbus devices such as
|