Searched refs:smba (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/i2c/busses/ |
H A D | i2c-ismt.c | 168 void __iomem *smba; /* PCI BAR */ member in struct:ismt_priv 235 priv->smba + ISMT_GR_GCTRL, ismt_gen_reg_dump() 236 readl(priv->smba + ISMT_GR_GCTRL)); ismt_gen_reg_dump() 238 priv->smba + ISMT_GR_SMTICL, ismt_gen_reg_dump() 239 (long long unsigned int)readq(priv->smba + ISMT_GR_SMTICL)); ismt_gen_reg_dump() 241 priv->smba + ISMT_GR_ERRINTMSK, ismt_gen_reg_dump() 242 readl(priv->smba + ISMT_GR_ERRINTMSK)); ismt_gen_reg_dump() 244 priv->smba + ISMT_GR_ERRAERMSK, ismt_gen_reg_dump() 245 readl(priv->smba + ISMT_GR_ERRAERMSK)); ismt_gen_reg_dump() 247 priv->smba + ISMT_GR_ERRSTS, ismt_gen_reg_dump() 248 readl(priv->smba + ISMT_GR_ERRSTS)); ismt_gen_reg_dump() 250 priv->smba + ISMT_GR_ERRINFO, ismt_gen_reg_dump() 251 readl(priv->smba + ISMT_GR_ERRINFO)); ismt_gen_reg_dump() 264 priv->smba + ISMT_MSTR_MDBA, ismt_mstr_reg_dump() 265 (long long unsigned int)readq(priv->smba + ISMT_MSTR_MDBA)); ismt_mstr_reg_dump() 267 priv->smba + ISMT_MSTR_MCTRL, ismt_mstr_reg_dump() 268 readl(priv->smba + ISMT_MSTR_MCTRL)); ismt_mstr_reg_dump() 270 priv->smba + ISMT_MSTR_MSTS, ismt_mstr_reg_dump() 271 readl(priv->smba + ISMT_MSTR_MSTS)); ismt_mstr_reg_dump() 273 priv->smba + ISMT_MSTR_MDS, ismt_mstr_reg_dump() 274 readl(priv->smba + ISMT_MSTR_MDS)); ismt_mstr_reg_dump() 276 priv->smba + ISMT_MSTR_RPOLICY, ismt_mstr_reg_dump() 277 readl(priv->smba + ISMT_MSTR_RPOLICY)); ismt_mstr_reg_dump() 279 priv->smba + ISMT_SPGT, ismt_mstr_reg_dump() 280 readl(priv->smba + ISMT_SPGT)); ismt_mstr_reg_dump() 298 val = readl(priv->smba + ISMT_MSTR_MCTRL); ismt_submit_desc() 300 priv->smba + ISMT_MSTR_MCTRL); ismt_submit_desc() 303 val = readl(priv->smba + ISMT_MSTR_MCTRL); ismt_submit_desc() 305 priv->smba + ISMT_MSTR_MCTRL); ismt_submit_desc() 656 val = readl(priv->smba + ISMT_MSTR_MSTS); ismt_do_interrupt() 662 priv->smba + ISMT_MSTR_MSTS); ismt_do_interrupt() 687 writeq(priv->io_rng_dma, priv->smba + ISMT_MSTR_MDBA); ismt_hw_init() 690 writel(ISMT_MCTRL_MEIE, priv->smba + ISMT_MSTR_MCTRL); ismt_hw_init() 693 writel(0, priv->smba + ISMT_MSTR_MSTS); ismt_hw_init() 696 val = readl(priv->smba + ISMT_MSTR_MDS); ismt_hw_init() 698 priv->smba + ISMT_MSTR_MDS); ismt_hw_init() 704 val = readl(priv->smba + ISMT_SPGT); ismt_hw_init() 713 priv->smba + ISMT_SPGT); ismt_hw_init() 719 priv->smba + ISMT_SPGT); ismt_hw_init() 725 priv->smba + ISMT_SPGT); ismt_hw_init() 731 priv->smba + ISMT_SPGT); ismt_hw_init() 739 val = readl(priv->smba + ISMT_SPGT); ismt_hw_init() 895 priv->smba = pcim_iomap(pdev, SMBBAR, len); ismt_probe() 896 if (!priv->smba) { ismt_probe()
|
H A D | i2c-piix4.c | 126 unsigned short smba; member in struct:i2c_piix4_adapdata 363 unsigned short piix4_smba = adapdata->smba; piix4_transaction() 442 unsigned short piix4_smba = adapdata->smba; piix4_access() 567 static int piix4_add_adapter(struct pci_dev *dev, unsigned short smba, piix4_add_adapter() argument 576 release_region(smba, SMBIOSIZE); piix4_add_adapter() 587 release_region(smba, SMBIOSIZE); piix4_add_adapter() 591 adapdata->smba = smba; piix4_add_adapter() 597 "SMBus PIIX4 adapter at %04x", smba); piix4_add_adapter() 606 release_region(smba, SMBIOSIZE); piix4_add_adapter() 667 if (adapdata->smba) { piix4_adap_remove() 669 release_region(adapdata->smba, SMBIOSIZE); piix4_adap_remove()
|
H A D | i2c-i801.c | 105 #define SMBHSTSTS(p) (0 + (p)->smba) 106 #define SMBHSTCNT(p) (2 + (p)->smba) 107 #define SMBHSTCMD(p) (3 + (p)->smba) 108 #define SMBHSTADD(p) (4 + (p)->smba) 109 #define SMBHSTDAT0(p) (5 + (p)->smba) 110 #define SMBHSTDAT1(p) (6 + (p)->smba) 111 #define SMBBLKDAT(p) (7 + (p)->smba) 112 #define SMBPEC(p) (8 + (p)->smba) /* ICH3 and later */ 113 #define SMBAUXSTS(p) (12 + (p)->smba) /* ICH4 and later */ 114 #define SMBAUXCTL(p) (13 + (p)->smba) /* ICH4 and later */ 225 unsigned long smba; member in struct:i801_priv 1324 priv->smba = pci_resource_start(dev, SMBBAR); i801_probe() 1325 if (!priv->smba) { i801_probe() 1341 priv->smba, i801_probe() 1403 "SMBus I801 adapter at %04lx", priv->smba); i801_probe()
|
Completed in 126 milliseconds