/linux-6.3-rc2/drivers/i2c/busses/ |
A D | i2c-pasemi-core.c | 59 #define TXFIFO_WR(smbus, reg) reg_write((smbus), REG_MTXFIFO, (reg)) argument 60 #define RXFIFO_RD(smbus) reg_read((smbus), REG_MRXFIFO) argument 66 if (smbus->hw_rev >= 6) in pasemi_reset() 86 if (smbus->use_irq) { in pasemi_smb_waitready() 160 pasemi_reset(smbus); in pasemi_i2c_xfer_msg() 349 snprintf(smbus->adapter.name, sizeof(smbus->adapter.name), in pasemi_i2c_common_probe() 352 smbus->adapter.algo_data = smbus; in pasemi_i2c_common_probe() 355 smbus->adapter.dev.parent = smbus->dev; in pasemi_i2c_common_probe() 356 smbus->use_irq = 0; in pasemi_i2c_common_probe() 360 smbus->hw_rev = reg_read(smbus, REG_REV); in pasemi_i2c_common_probe() [all …]
|
A D | i2c-amd8111.c | 76 dev_warn(&smbus->dev->dev, in amd_ec_wait_write() 424 struct amd_smbus *smbus; in amd8111_probe() local 431 if (!smbus) in amd8111_probe() 434 smbus->dev = dev; in amd8111_probe() 444 if (!request_region(smbus->base, smbus->size, amd8111_driver.name)) { in amd8111_probe() 450 snprintf(smbus->adapter.name, sizeof(smbus->adapter.name), in amd8111_probe() 454 smbus->adapter.algo_data = smbus; in amd8111_probe() 468 release_region(smbus->base, smbus->size); in amd8111_probe() 470 kfree(smbus); in amd8111_probe() 479 release_region(smbus->base, smbus->size); in amd8111_remove() [all …]
|
A D | i2c-nforce2.c | 166 if (smbus->can_abort) in nforce2_check_status() 324 if (smbus->base) { in nforce2_probe_smb() 338 smbus->size = 64; in nforce2_probe_smb() 341 error = acpi_check_region(smbus->base, smbus->size, in nforce2_probe_smb() 346 if (!request_region(smbus->base, smbus->size, nforce2_driver.name)) { in nforce2_probe_smb() 348 smbus->base, smbus->base+smbus->size-1, name); in nforce2_probe_smb() 351 smbus->adapter.owner = THIS_MODULE; in nforce2_probe_smb() 354 smbus->adapter.algo_data = smbus; in nforce2_probe_smb() 356 snprintf(smbus->adapter.name, sizeof(smbus->adapter.name), in nforce2_probe_smb() 361 release_region(smbus->base, smbus->size); in nforce2_probe_smb() [all …]
|
A D | i2c-pasemi-platform.c | 19 struct pasemi_smbus smbus; member 33 if (data->smbus.clk_div < 4) in pasemi_platform_i2c_calc_clk_div() 37 if (data->smbus.clk_div > 0xff) in pasemi_platform_i2c_calc_clk_div() 49 struct pasemi_smbus *smbus; in pasemi_platform_i2c_probe() local 59 smbus = &data->smbus; in pasemi_platform_i2c_probe() 60 smbus->dev = dev; in pasemi_platform_i2c_probe() 63 if (IS_ERR(smbus->ioaddr)) in pasemi_platform_i2c_probe() 64 return PTR_ERR(smbus->ioaddr); in pasemi_platform_i2c_probe() 82 error = pasemi_i2c_common_probe(smbus); in pasemi_platform_i2c_probe() 87 …error = devm_request_irq(smbus->dev, irq_num, pasemi_irq_handler, 0, "pasemi_apple_i2c", (void *)s… in pasemi_platform_i2c_probe() [all …]
|
A D | i2c-pasemi-pci.c | 28 struct pasemi_smbus *smbus; in pasemi_smb_pci_probe() local 36 smbus = devm_kzalloc(&dev->dev, sizeof(*smbus), GFP_KERNEL); in pasemi_smb_pci_probe() 37 if (!smbus) in pasemi_smb_pci_probe() 40 smbus->dev = &dev->dev; in pasemi_smb_pci_probe() 43 smbus->clk_div = CLK_100K_DIV; in pasemi_smb_pci_probe() 49 smbus->hw_rev = PASEMI_HW_REV_PCI; in pasemi_smb_pci_probe() 55 smbus->ioaddr = pcim_iomap(dev, 0, 0); in pasemi_smb_pci_probe() 56 if (!smbus->ioaddr) in pasemi_smb_pci_probe() 59 smbus->adapter.class = I2C_CLASS_HWMON | I2C_CLASS_SPD; in pasemi_smb_pci_probe() 60 error = pasemi_i2c_common_probe(smbus); in pasemi_smb_pci_probe() [all …]
|
A D | i2c-pasemi-core.h | 24 int pasemi_i2c_common_probe(struct pasemi_smbus *smbus);
|
A D | i2c-mlxbf.c | 416 struct mlxbf_i2c_resource *smbus; member 2324 ret = mlxbf_i2c_init_resource(pdev, &priv->smbus, in mlxbf_i2c_probe() 2331 priv->timer->io = priv->smbus->io; in mlxbf_i2c_probe() 2332 priv->mst->io = priv->smbus->io + MLXBF_I2C_MST_ADDR_OFFSET; in mlxbf_i2c_probe() 2333 priv->slv->io = priv->smbus->io + MLXBF_I2C_SLV_ADDR_OFFSET; in mlxbf_i2c_probe() 2443 params = priv->smbus->params; in mlxbf_i2c_remove()
|
A D | i2c-stm32f7.c | 278 bool smbus; member 1552 } else if (f7_msg->smbus) { in stm32f7_i2c_isr_event() 1562 if (f7_msg->smbus) in stm32f7_i2c_isr_event() 1594 if (f7_msg->smbus) { in stm32f7_i2c_isr_event_thread() 1685 f7_msg->smbus = false; in stm32f7_i2c_xfer() 1745 f7_msg->smbus = true; in stm32f7_i2c_smbus_xfer()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/hwmon/ |
A D | stts751.txt | 8 - smbus-timeout-disable: when set, the smbus timeout function will be disabled
|
A D | jedec,jc42.yaml | 56 smbus-timeout-disable: 58 When set, the smbus timeout function will be disabled. This is not
|
A D | max6697.txt | 20 - smbus-timeout-disable 60 smbus-timeout-disable;
|
/linux-6.3-rc2/drivers/i2c/ |
A D | Makefile | 8 i2c-core-objs := i2c-core-base.o i2c-core-smbus.o 13 obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
|
/linux-6.3-rc2/Documentation/i2c/ |
A D | dev-interface.rst | 28 #include <i2c/smbus.h> 151 You can do SMBus level transactions (see documentation file smbus-protocol.rst 201 performs an SMBus transaction using i2c-core-smbus.c:i2c_smbus_xfer(). 214 i2c-core-smbus.c:i2c_smbus_xfer() calls either 216 i2c-core-smbus.c:i2c_smbus_xfer_emulated() which in turn calls
|
A D | index.rst | 15 smbus-protocol
|
/linux-6.3-rc2/drivers/input/mouse/ |
A 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() 1272 cyapa->smbus = true; in cyapa_probe()
|
A D | Makefile | 42 psmouse-$(CONFIG_MOUSE_PS2_SMBUS) += psmouse-smbus.o
|
A 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()
|
/linux-6.3-rc2/drivers/rtc/ |
A D | rtc-rs5c372.c | 128 unsigned smbus:1; member 156 if (rs5c->smbus) { in rs5c_get_regs() 838 rs5c372->smbus = smbus_mode; in rs5c372_probe()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/i2c/ |
A D | i2c.txt | 90 - smbus 95 - smbus-alert
|
/linux-6.3-rc2/drivers/usb/host/ |
A D | pci-quirks.c | 515 struct pci_dev *nb, *smbus; in usb_amd_dev_put() local 528 smbus = amd_chipset.smbus_dev; in usb_amd_dev_put() 540 pci_dev_put(smbus); in usb_amd_dev_put()
|
/linux-6.3-rc2/Documentation/driver-api/ |
A D | i2c.rst | 47 .. kernel-doc:: drivers/i2c/i2c-core-smbus.c
|
A D | ipmb.rst | 78 If xmit of data to be done using raw i2c block vs smbus
|
/linux-6.3-rc2/include/trace/events/ |
A D | smbus.h | 8 #define TRACE_SYSTEM smbus
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | at91-nattis-2-natte-2.dts | 189 smbus-timeout-disable;
|
A D | at91-tse850-3.dts | 204 smbus-timeout-disable;
|