Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/i2c/busses/
Di2c-sis630.c412 static int sis630_setup(struct pci_dev *sis630_dev) in sis630_setup() argument
430 dev_err(&sis630_dev->dev, in sis630_setup()
441 if (pci_read_config_byte(sis630_dev, SIS630_BIOS_CTL_REG, &b)) { in sis630_setup()
442 dev_err(&sis630_dev->dev, "Error: Can't read bios ctl reg\n"); in sis630_setup()
448 pci_write_config_byte(sis630_dev, SIS630_BIOS_CTL_REG, b | 0x80)) { in sis630_setup()
449 dev_err(&sis630_dev->dev, "Error: Can't enable ACPI\n"); in sis630_setup()
455 if (pci_read_config_word(sis630_dev, in sis630_setup()
457 dev_err(&sis630_dev->dev, in sis630_setup()
463 dev_dbg(&sis630_dev->dev, "ACPI base at 0x%04hx\n", acpi_base); in sis630_setup()
470 dev_dbg(&sis630_dev->dev, "SMBus base at 0x%04hx\n", smbus_base); in sis630_setup()
[all …]