Lines Matching refs:IO_INDEX_PORT
47 #define IO_INDEX_PORT 0x370 /* on some systems it can be 0x3F0 */ macro
48 #define IO_DATA_PORT (IO_INDEX_PORT + 1)
87 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_start()
88 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_start()
96 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_start()
98 outb_p(0xF2, IO_INDEX_PORT); in wdt977_start()
100 outb_p(0xF3, IO_INDEX_PORT); in wdt977_start()
103 outb_p(0xF4, IO_INDEX_PORT); in wdt977_start()
111 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_start()
113 outb_p(0xE6, IO_INDEX_PORT); in wdt977_start()
118 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt977_start()
136 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_stop()
137 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_stop()
144 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_stop()
146 outb_p(0xF2, IO_INDEX_PORT); in wdt977_stop()
148 outb_p(0xF3, IO_INDEX_PORT); in wdt977_stop()
150 outb_p(0xF4, IO_INDEX_PORT); in wdt977_stop()
152 outb_p(0xF2, IO_INDEX_PORT); in wdt977_stop()
157 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_stop()
159 outb_p(0xE6, IO_INDEX_PORT); in wdt977_stop()
163 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt977_stop()
182 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_keepalive()
183 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_keepalive()
187 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_keepalive()
189 outb_p(0xF2, IO_INDEX_PORT); in wdt977_keepalive()
193 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt977_keepalive()
240 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_get_status()
241 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_get_status()
244 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_get_status()
246 outb_p(0xF4, IO_INDEX_PORT); in wdt977_get_status()
250 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt977_get_status()
461 if (!request_region(IO_INDEX_PORT, 2, WATCHDOG_NAME)) { in wd977_init()
463 IO_INDEX_PORT); in wd977_init()
491 release_region(IO_INDEX_PORT, 2); in wd977_init()
501 release_region(IO_INDEX_PORT, 2); in wd977_exit()