Lines Matching defs:SIS5595_dev
133 static int sis5595_setup(struct pci_dev *SIS5595_dev)
145 dev_err(&SIS5595_dev->dev, "Looked for SIS5595 but found unsupported device %.4x\n", *i);
152 pci_read_config_word(SIS5595_dev, ACPI_BASE, &sis5595_base);
154 dev_err(&SIS5595_dev->dev, "ACPI base address uninitialized - upgrade BIOS or use force_addr=0xaddr\n");
160 dev_dbg(&SIS5595_dev->dev, "ACPI Base address: %04x\n", sis5595_base);
171 dev_err(&SIS5595_dev->dev, "SMBus registers 0x%04x-0x%04x already in use!\n",
177 dev_info(&SIS5595_dev->dev, "forcing ISA address 0x%04X\n", sis5595_base);
178 if (pci_write_config_word(SIS5595_dev, ACPI_BASE, sis5595_base)
181 if (pci_read_config_word(SIS5595_dev, ACPI_BASE, &a)
186 dev_err(&SIS5595_dev->dev, "force address failed - not supported?\n");
191 if (pci_read_config_byte(SIS5595_dev, SIS5595_ENABLE_REG, &val)
195 dev_info(&SIS5595_dev->dev, "enabling ACPI\n");
196 if (pci_write_config_byte(SIS5595_dev, SIS5595_ENABLE_REG, val | 0x80)
199 if (pci_read_config_byte(SIS5595_dev, SIS5595_ENABLE_REG, &val)
204 dev_err(&SIS5595_dev->dev, "ACPI enable failed - not supported?\n");