Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-sis630.c417 static int sis630_setup(struct pci_dev *sis630_dev) in sis630_setup() argument
435 dev_err(&sis630_dev->dev, in sis630_setup()
446 if (pci_read_config_byte(sis630_dev, SIS630_BIOS_CTL_REG, &b)) { in sis630_setup()
447 dev_err(&sis630_dev->dev, "Error: Can't read bios ctl reg\n"); in sis630_setup()
453 pci_write_config_byte(sis630_dev, SIS630_BIOS_CTL_REG, b | 0x80)) { in sis630_setup()
454 dev_err(&sis630_dev->dev, "Error: Can't enable ACPI\n"); in sis630_setup()
460 if (pci_read_config_word(sis630_dev, in sis630_setup()
462 dev_err(&sis630_dev->dev, in sis630_setup()
468 dev_dbg(&sis630_dev->dev, "ACPI base at 0x%04hx\n", acpi_base); in sis630_setup()
475 dev_dbg(&sis630_dev->dev, "SMBus base at 0x%04hx\n", smbus_base); in sis630_setup()
[all …]