Lines Matching defs:io_base
40 u16 io_base;
58 u8 control = inb(wdt->io_base + NIWD_CONTROL);
60 outb(control | NIWD_CONTROL_RESET, wdt->io_base + NIWD_CONTROL);
61 outb(control | NIWD_CONTROL_PET, wdt->io_base + NIWD_CONTROL);
70 outb(((0x00FF0000 & counter) >> 16), wdt->io_base + NIWD_SEED2);
71 outb(((0x0000FF00 & counter) >> 8), wdt->io_base + NIWD_SEED1);
72 outb((0x000000FF & counter), wdt->io_base + NIWD_SEED0);
85 control = inb(wdt->io_base + NIWD_CONTROL);
87 outb(control, wdt->io_base + NIWD_CONTROL);
89 counter2 = inb(wdt->io_base + NIWD_COUNTER2);
90 counter1 = inb(wdt->io_base + NIWD_COUNTER1);
91 counter0 = inb(wdt->io_base + NIWD_COUNTER0);
103 control = inb(wdt->io_base + NIWD_CONTROL);
104 outb(control | NIWD_CONTROL_PET, wdt->io_base + NIWD_CONTROL);
114 wdt->io_base + NIWD_CONTROL);
126 outb(NIWD_CONTROL_RESET, wdt->io_base + NIWD_CONTROL);
138 if (wdt->io_base != 0) {
143 wdt->io_base = res->data.io.minimum;
151 if (!devm_request_region(wdt->dev, wdt->io_base, io_size,
197 if (ACPI_FAILURE(status) || wdt->io_base == 0) {
219 wdt->io_base + NIWD_CONTROL);
221 dev_dbg(dev, "io_base=0x%04X, timeout=%d, nowayout=%d\n",
222 wdt->io_base, timeout, nowayout);