Lines Matching refs:sis96x_smbus_base
64 static u16 sis96x_smbus_base; variable
68 return inb(sis96x_smbus_base + reg) ; in sis96x_read()
73 outb(data, sis96x_smbus_base + reg) ; in sis96x_write()
248 if (sis96x_smbus_base) { in sis96x_probe()
259 sis96x_smbus_base = pci_resource_start(dev, SIS96x_BAR); in sis96x_probe()
260 if (!sis96x_smbus_base) { in sis96x_probe()
266 sis96x_smbus_base); in sis96x_probe()
273 if (!request_region(sis96x_smbus_base, SMB_IOSIZE, in sis96x_probe()
276 "already in use!\n", sis96x_smbus_base, in sis96x_probe()
277 sis96x_smbus_base + SMB_IOSIZE - 1); in sis96x_probe()
279 sis96x_smbus_base = 0; in sis96x_probe()
287 "SiS96x SMBus adapter at 0x%04x", sis96x_smbus_base); in sis96x_probe()
291 release_region(sis96x_smbus_base, SMB_IOSIZE); in sis96x_probe()
292 sis96x_smbus_base = 0; in sis96x_probe()
300 if (sis96x_smbus_base) { in sis96x_remove()
302 release_region(sis96x_smbus_base, SMB_IOSIZE); in sis96x_remove()
303 sis96x_smbus_base = 0; in sis96x_remove()