Home
last modified time | relevance | path

Searched refs:sis630_dev (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/i2c/busses/
H A Di2c-sis630.c404 static int sis630_setup(struct pci_dev *sis630_dev) in sis630_setup() argument
422 dev_err(&sis630_dev->dev, in sis630_setup()
433 if (pci_read_config_byte(sis630_dev, SIS630_BIOS_CTL_REG, &b)) { in sis630_setup()
434 dev_err(&sis630_dev->dev, "Error: Can't read bios ctl reg\n"); in sis630_setup()
440 pci_write_config_byte(sis630_dev, SIS630_BIOS_CTL_REG, b | 0x80)) { in sis630_setup()
441 dev_err(&sis630_dev->dev, "Error: Can't enable ACPI\n"); in sis630_setup()
447 if (pci_read_config_word(sis630_dev, in sis630_setup()
449 dev_err(&sis630_dev->dev, in sis630_setup()
455 dev_dbg(&sis630_dev->dev, "ACPI base at 0x%04hx\n", acpi_base); in sis630_setup()
462 dev_dbg(&sis630_dev->dev, "SMBus base at 0x%04hx\n", smbus_base); in sis630_setup()
[all …]