• Home
  • Raw
  • Download

Lines Matching refs:io_base

40 	u16 io_base;  member
58 u8 control = inb(wdt->io_base + NIWD_CONTROL); in ni903x_start()
60 outb(control | NIWD_CONTROL_RESET, wdt->io_base + NIWD_CONTROL); in ni903x_start()
61 outb(control | NIWD_CONTROL_PET, wdt->io_base + NIWD_CONTROL); in ni903x_start()
70 outb(((0x00FF0000 & counter) >> 16), wdt->io_base + NIWD_SEED2); in ni903x_wdd_set_timeout()
71 outb(((0x0000FF00 & counter) >> 8), wdt->io_base + NIWD_SEED1); in ni903x_wdd_set_timeout()
72 outb((0x000000FF & counter), wdt->io_base + NIWD_SEED0); in ni903x_wdd_set_timeout()
85 control = inb(wdt->io_base + NIWD_CONTROL); in ni903x_wdd_get_timeleft()
87 outb(control, wdt->io_base + NIWD_CONTROL); in ni903x_wdd_get_timeleft()
89 counter2 = inb(wdt->io_base + NIWD_COUNTER2); in ni903x_wdd_get_timeleft()
90 counter1 = inb(wdt->io_base + NIWD_COUNTER1); in ni903x_wdd_get_timeleft()
91 counter0 = inb(wdt->io_base + NIWD_COUNTER0); in ni903x_wdd_get_timeleft()
103 control = inb(wdt->io_base + NIWD_CONTROL); in ni903x_wdd_ping()
104 outb(control | NIWD_CONTROL_PET, wdt->io_base + NIWD_CONTROL); in ni903x_wdd_ping()
114 wdt->io_base + NIWD_CONTROL); in ni903x_wdd_start()
126 outb(NIWD_CONTROL_RESET, wdt->io_base + NIWD_CONTROL); in ni903x_wdd_stop()
138 if (wdt->io_base != 0) { in ni903x_resources()
143 wdt->io_base = res->data.io.minimum; in ni903x_resources()
151 if (!devm_request_region(wdt->dev, wdt->io_base, io_size, in ni903x_resources()
197 if (ACPI_FAILURE(status) || wdt->io_base == 0) { in ni903x_acpi_add()
219 wdt->io_base + NIWD_CONTROL); in ni903x_acpi_add()
222 wdt->io_base, timeout, nowayout); in ni903x_acpi_add()