Searched refs:smbus (Results 1 - 8 of 8) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/i2c/busses/ |
H A D | i2c-pasemi.c | 64 static inline void reg_write(struct pasemi_smbus *smbus, int reg, int val) argument 66 dev_dbg(&smbus->dev->dev, "smbus write reg %lx val %08x\n", 67 smbus->base + reg, val); 68 outl(val, smbus->base + reg); 71 static inline int reg_read(struct pasemi_smbus *smbus, int reg) argument 74 ret = inl(smbus->base + reg); 75 dev_dbg(&smbus->dev->dev, "smbus read reg %lx val %08x\n", 76 smbus 83 pasemi_smb_clear(struct pasemi_smbus *smbus) argument 91 pasemi_smb_waitready(struct pasemi_smbus *smbus) argument 122 struct pasemi_smbus *smbus = adapter->algo_data; local 165 struct pasemi_smbus *smbus = adapter->algo_data; local 182 struct pasemi_smbus *smbus = adapter->algo_data; local 346 struct pasemi_smbus *smbus; local 397 struct pasemi_smbus *smbus = pci_get_drvdata(dev); local [all...] |
H A D | i2c-amd8111.c | 72 static unsigned int amd_ec_wait_write(struct amd_smbus *smbus) argument 76 while ((inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_IBF) && --timeout) 80 dev_warn(&smbus->dev->dev, 88 static unsigned int amd_ec_wait_read(struct amd_smbus *smbus) argument 92 while ((~inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_OBF) && --timeout) 96 dev_warn(&smbus->dev->dev, 104 static unsigned int amd_ec_read(struct amd_smbus *smbus, unsigned char address, argument 109 status = amd_ec_wait_write(smbus); 112 outb(AMD_EC_CMD_RD, smbus->base + AMD_EC_CMD); 114 status = amd_ec_wait_write(smbus); 127 amd_ec_write(struct amd_smbus *smbus, unsigned char address, unsigned char data) argument 197 struct amd_smbus *smbus = adap->algo_data; local 360 struct amd_smbus *smbus; local 412 struct amd_smbus *smbus = pci_get_drvdata(dev); local [all...] |
H A D | i2c-nforce2.c | 87 #define NVIDIA_SMB_PRTCL (smbus->base + 0x00) /* protocol, PEC */ 88 #define NVIDIA_SMB_STS (smbus->base + 0x01) /* status */ 89 #define NVIDIA_SMB_ADDR (smbus->base + 0x02) /* address */ 90 #define NVIDIA_SMB_CMD (smbus->base + 0x03) /* command */ 91 #define NVIDIA_SMB_DATA (smbus->base + 0x04) /* 32 data registers */ 92 #define NVIDIA_SMB_BCNT (smbus->base + 0x24) /* number of data 94 #define NVIDIA_SMB_STATUS_ABRT (smbus->base + 0x3c) /* register used to 97 #define NVIDIA_SMB_CTRL (smbus->base + 0x3e) /* control register */ 149 struct nforce2_smbus *smbus = adap->algo_data; local 162 dev_err(&adap->dev, "Can't reset the smbus\ 168 struct nforce2_smbus *smbus = adap->algo_data; local 195 struct nforce2_smbus *smbus = adap->algo_data; local 333 nforce2_probe_smb(struct pci_dev *dev, int bar, int alt_reg, struct nforce2_smbus *smbus, const char *name) argument [all...] |
H A D | i2c-parport-light.c | 35 #include <linux/i2c-smbus.h>
|
H A D | i2c-parport.c | 34 #include <linux/i2c-smbus.h>
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/i2c/ |
H A D | Makefile | 7 obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
|
H A D | i2c-smbus.c | 2 * i2c-smbus.c - SMBus extensions to the I2C protocol 28 #include <linux/i2c-smbus.h>
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/rtc/ |
H A D | rtc-rs5c372.c | 97 unsigned smbus:1; member in struct:rs5c372 120 if (rs5c->smbus) { 621 rs5c372->smbus = smbus_mode;
|
Completed in 76 milliseconds