Searched refs:smbus_base (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/i2c/busses/ |
H A D | i2c-sis630.c | 109 static unsigned short smbus_base; variable 121 return inb(smbus_base + reg); sis630_read() 126 outb(data, smbus_base + reg); sis630_write() 466 smbus_base = acpi_base + 0xE0; sis630_setup() 468 smbus_base = acpi_base + 0x80; sis630_setup() 470 dev_dbg(&sis630_dev->dev, "SMBus base at 0x%04hx\n", smbus_base); sis630_setup() 472 retval = acpi_check_region(smbus_base + SMB_STS, SIS630_SMB_IOREGION, sis630_setup() 478 if (!request_region(smbus_base + SMB_STS, SIS630_SMB_IOREGION, sis630_setup() 482 smbus_base + SMB_STS, sis630_setup() 483 smbus_base + SMB_STS + SIS630_SMB_IOREGION - 1); sis630_setup() 492 smbus_base = 0; sis630_setup() 531 "SMBus SIS630 adapter at %04hx", smbus_base + SMB_STS); sis630_probe() 538 if (smbus_base) { sis630_remove() 540 release_region(smbus_base + SMB_STS, SIS630_SMB_IOREGION); sis630_remove() 541 smbus_base = 0; sis630_remove()
|
Completed in 93 milliseconds