Home
last modified time | relevance | path

Searched refs:smbus (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-pasemi-core.c59 #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 Di2c-amd8111.c76 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 Di2c-nforce2.c166 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 Di2c-pasemi-platform.c19 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 Di2c-pasemi-pci.c28 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 Di2c-pasemi-core.h24 int pasemi_i2c_common_probe(struct pasemi_smbus *smbus);
A Di2c-mlxbf.c416 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 Di2c-stm32f7.c278 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 Dstts751.txt8 - smbus-timeout-disable: when set, the smbus timeout function will be disabled
A Djedec,jc42.yaml56 smbus-timeout-disable:
58 When set, the smbus timeout function will be disabled. This is not
A Dmax6697.txt20 - smbus-timeout-disable
60 smbus-timeout-disable;
/linux-6.3-rc2/drivers/i2c/
A DMakefile8 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 Ddev-interface.rst28 #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 Dindex.rst15 smbus-protocol
/linux-6.3-rc2/drivers/input/mouse/
A Dcyapa.c170 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 DMakefile42 psmouse-$(CONFIG_MOUSE_PS2_SMBUS) += psmouse-smbus.o
A Dcyapa_gen3.c281 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 Drtc-rs5c372.c128 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 Di2c.txt90 - smbus
95 - smbus-alert
/linux-6.3-rc2/drivers/usb/host/
A Dpci-quirks.c515 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 Di2c.rst47 .. kernel-doc:: drivers/i2c/i2c-core-smbus.c
A Dipmb.rst78 If xmit of data to be done using raw i2c block vs smbus
/linux-6.3-rc2/include/trace/events/
A Dsmbus.h8 #define TRACE_SYSTEM smbus
/linux-6.3-rc2/arch/arm/boot/dts/
A Dat91-nattis-2-natte-2.dts189 smbus-timeout-disable;
A Dat91-tse850-3.dts204 smbus-timeout-disable;

Completed in 101 milliseconds

12