Lines Matching defs:sch311x_wdt_data

59 } sch311x_wdt_data;
124 outb(timeout_unit, sch311x_wdt_data.runtime_reg + WDT_TIME_OUT);
129 outb(t, sch311x_wdt_data.runtime_reg + WDT_VAL);
136 spin_lock(&sch311x_wdt_data.io_lock);
149 t = inb(sch311x_wdt_data.runtime_reg + GP60);
150 outb((t & ~0x0d) | 0x0c, sch311x_wdt_data.runtime_reg + GP60);
152 spin_unlock(&sch311x_wdt_data.io_lock);
160 spin_lock(&sch311x_wdt_data.io_lock);
163 t = inb(sch311x_wdt_data.runtime_reg + GP60);
164 outb((t & ~0x0d) | 0x01, sch311x_wdt_data.runtime_reg + GP60);
168 spin_unlock(&sch311x_wdt_data.io_lock);
173 spin_lock(&sch311x_wdt_data.io_lock);
175 spin_unlock(&sch311x_wdt_data.io_lock);
198 spin_lock(&sch311x_wdt_data.io_lock);
210 new_status = inb(sch311x_wdt_data.runtime_reg + WDT_CTRL);
214 spin_unlock(&sch311x_wdt_data.io_lock);
270 return put_user(sch311x_wdt_data.boot_status, p);
360 spin_lock_init(&sch311x_wdt_data.io_lock);
362 if (!request_region(sch311x_wdt_data.runtime_reg + GP60, 1, DRV_NAME)) {
364 sch311x_wdt_data.runtime_reg + GP60,
365 sch311x_wdt_data.runtime_reg + GP60);
370 if (!request_region(sch311x_wdt_data.runtime_reg + WDT_TIME_OUT, 4,
373 sch311x_wdt_data.runtime_reg + WDT_TIME_OUT,
374 sch311x_wdt_data.runtime_reg + WDT_CTRL);
391 outb(0, sch311x_wdt_data.runtime_reg + WDT_CFG);
402 sch311x_wdt_get_status(&sch311x_wdt_data.boot_status);
420 release_region(sch311x_wdt_data.runtime_reg + WDT_TIME_OUT, 4);
422 release_region(sch311x_wdt_data.runtime_reg + GP60, 1);
423 sch311x_wdt_data.runtime_reg = 0;
436 release_region(sch311x_wdt_data.runtime_reg + WDT_TIME_OUT, 4);
437 release_region(sch311x_wdt_data.runtime_reg + GP60, 1);
438 sch311x_wdt_data.runtime_reg = 0;
510 sch311x_wdt_data.runtime_reg = addr;