ALI15X3_dev 121 drivers/i2c/busses/i2c-ali15x3.c static int ali15x3_setup(struct pci_dev *ALI15X3_dev) ALI15X3_dev 137 drivers/i2c/busses/i2c-ali15x3.c pci_read_config_byte(ALI15X3_dev, SMBATPC, &temp); ALI15X3_dev 140 drivers/i2c/busses/i2c-ali15x3.c pci_write_config_byte(ALI15X3_dev, SMBATPC, temp); ALI15X3_dev 144 drivers/i2c/busses/i2c-ali15x3.c pci_read_config_word(ALI15X3_dev, SMBBA, &ali15x3_smba); ALI15X3_dev 147 drivers/i2c/busses/i2c-ali15x3.c dev_err(&ALI15X3_dev->dev, "ALI15X3_smb region uninitialized " ALI15X3_dev 161 drivers/i2c/busses/i2c-ali15x3.c dev_err(&ALI15X3_dev->dev, ALI15X3_dev 168 drivers/i2c/busses/i2c-ali15x3.c dev_info(&ALI15X3_dev->dev, "forcing ISA address 0x%04X\n", ALI15X3_dev 170 drivers/i2c/busses/i2c-ali15x3.c if (PCIBIOS_SUCCESSFUL != pci_write_config_word(ALI15X3_dev, ALI15X3_dev 174 drivers/i2c/busses/i2c-ali15x3.c if (PCIBIOS_SUCCESSFUL != pci_read_config_word(ALI15X3_dev, ALI15X3_dev 179 drivers/i2c/busses/i2c-ali15x3.c dev_err(&ALI15X3_dev->dev, ALI15X3_dev 185 drivers/i2c/busses/i2c-ali15x3.c pci_read_config_byte(ALI15X3_dev, SMBCOM, &temp); ALI15X3_dev 187 drivers/i2c/busses/i2c-ali15x3.c dev_info(&ALI15X3_dev->dev, "enabling SMBus device\n"); ALI15X3_dev 188 drivers/i2c/busses/i2c-ali15x3.c pci_write_config_byte(ALI15X3_dev, SMBCOM, temp | 0x01); ALI15X3_dev 192 drivers/i2c/busses/i2c-ali15x3.c pci_read_config_byte(ALI15X3_dev, SMBHSTCFG, &temp); ALI15X3_dev 194 drivers/i2c/busses/i2c-ali15x3.c dev_info(&ALI15X3_dev->dev, "enabling SMBus controller\n"); ALI15X3_dev 195 drivers/i2c/busses/i2c-ali15x3.c pci_write_config_byte(ALI15X3_dev, SMBHSTCFG, temp | 0x01); ALI15X3_dev 199 drivers/i2c/busses/i2c-ali15x3.c pci_write_config_byte(ALI15X3_dev, SMBCLK, 0x20); ALI15X3_dev 208 drivers/i2c/busses/i2c-ali15x3.c pci_read_config_byte(ALI15X3_dev, SMBREV, &temp); ALI15X3_dev 209 drivers/i2c/busses/i2c-ali15x3.c dev_dbg(&ALI15X3_dev->dev, "SMBREV = 0x%X\n", temp); ALI15X3_dev 210 drivers/i2c/busses/i2c-ali15x3.c dev_dbg(&ALI15X3_dev->dev, "iALI15X3_smba = 0x%X\n", ali15x3_smba);