Lines Matching refs:base
28 int base;
74 while (timeout-- && (inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_IBF))
90 while (timeout-- && (~inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_OBF))
107 outb(AMD_EC_CMD_RD, smbus->base + AMD_EC_CMD);
111 outb(address, smbus->base + AMD_EC_DATA);
115 *data = inb(smbus->base + AMD_EC_DATA);
125 outb(AMD_EC_CMD_WR, smbus->base + AMD_EC_CMD);
129 outb(address, smbus->base + AMD_EC_DATA);
133 outb(data, smbus->base + AMD_EC_DATA);
359 smbus->base = pci_resource_start(dev, 0);
362 if (!request_region(smbus->base, smbus->size, amd8111_driver.name)) {
369 "SMBus2 AMD8111 adapter at %04x", smbus->base);
387 release_region(smbus->base, smbus->size);
398 release_region(smbus->base, smbus->size);