Lines Matching refs:sch311x_wdt_data
64 } sch311x_wdt_data;
133 outb(timeout_unit, sch311x_wdt_data.runtime_reg + WDT_TIME_OUT);
138 outb(t, sch311x_wdt_data.runtime_reg + WDT_VAL);
143 spin_lock(&sch311x_wdt_data.io_lock);
156 outb(0x0e, sch311x_wdt_data.runtime_reg + GP60);
158 spin_unlock(&sch311x_wdt_data.io_lock);
164 spin_lock(&sch311x_wdt_data.io_lock);
167 outb(0x01, sch311x_wdt_data.runtime_reg + GP60);
171 spin_unlock(&sch311x_wdt_data.io_lock);
176 spin_lock(&sch311x_wdt_data.io_lock);
178 spin_unlock(&sch311x_wdt_data.io_lock);
201 spin_lock(&sch311x_wdt_data.io_lock);
213 new_status = inb(sch311x_wdt_data.runtime_reg + WDT_CTRL);
217 spin_unlock(&sch311x_wdt_data.io_lock);
273 return put_user(sch311x_wdt_data.boot_status, p);
364 spin_lock_init(&sch311x_wdt_data.io_lock);
366 if (!request_region(sch311x_wdt_data.runtime_reg + RESGEN, 1,
369 sch311x_wdt_data.runtime_reg + RESGEN,
370 sch311x_wdt_data.runtime_reg + RESGEN);
375 if (!request_region(sch311x_wdt_data.runtime_reg + GP60, 1, DRV_NAME)) {
377 sch311x_wdt_data.runtime_reg + GP60,
378 sch311x_wdt_data.runtime_reg + GP60);
383 if (!request_region(sch311x_wdt_data.runtime_reg + WDT_TIME_OUT, 4,
386 sch311x_wdt_data.runtime_reg + WDT_TIME_OUT,
387 sch311x_wdt_data.runtime_reg + WDT_CTRL);
404 outb(0, sch311x_wdt_data.runtime_reg + WDT_CFG);
415 sch311x_wdt_get_status(&sch311x_wdt_data.boot_status);
424 outb(0, sch311x_wdt_data.runtime_reg + RESGEN);
426 outb(val, sch311x_wdt_data.runtime_reg + RESGEN);
444 release_region(sch311x_wdt_data.runtime_reg + WDT_TIME_OUT, 4);
446 release_region(sch311x_wdt_data.runtime_reg + GP60, 1);
448 release_region(sch311x_wdt_data.runtime_reg + RESGEN, 1);
449 sch311x_wdt_data.runtime_reg = 0;
462 release_region(sch311x_wdt_data.runtime_reg + WDT_TIME_OUT, 4);
463 release_region(sch311x_wdt_data.runtime_reg + GP60, 1);
464 release_region(sch311x_wdt_data.runtime_reg + RESGEN, 1);
465 sch311x_wdt_data.runtime_reg = 0;
544 sch311x_wdt_data.runtime_reg = addr;