Lines Matching refs:IO_INDEX_PORT

43 #define IO_INDEX_PORT	0x370		/* on some systems it can be 0x3F0 */  macro
44 #define IO_DATA_PORT (IO_INDEX_PORT + 1)
83 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_start()
84 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_start()
92 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_start()
94 outb_p(0xF2, IO_INDEX_PORT); in wdt977_start()
96 outb_p(0xF3, IO_INDEX_PORT); in wdt977_start()
99 outb_p(0xF4, IO_INDEX_PORT); in wdt977_start()
107 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_start()
109 outb_p(0xE6, IO_INDEX_PORT); in wdt977_start()
114 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt977_start()
132 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_stop()
133 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_stop()
140 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_stop()
142 outb_p(0xF2, IO_INDEX_PORT); in wdt977_stop()
144 outb_p(0xF3, IO_INDEX_PORT); in wdt977_stop()
146 outb_p(0xF4, IO_INDEX_PORT); in wdt977_stop()
148 outb_p(0xF2, IO_INDEX_PORT); in wdt977_stop()
153 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_stop()
155 outb_p(0xE6, IO_INDEX_PORT); in wdt977_stop()
159 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt977_stop()
178 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_keepalive()
179 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_keepalive()
183 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_keepalive()
185 outb_p(0xF2, IO_INDEX_PORT); in wdt977_keepalive()
189 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt977_keepalive()
236 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_get_status()
237 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_get_status()
240 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_get_status()
242 outb_p(0xF4, IO_INDEX_PORT); in wdt977_get_status()
246 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt977_get_status()
458 if (!request_region(IO_INDEX_PORT, 2, WATCHDOG_NAME)) { in wd977_init()
460 IO_INDEX_PORT); in wd977_init()
488 release_region(IO_INDEX_PORT, 2); in wd977_init()
498 release_region(IO_INDEX_PORT, 2); in wd977_exit()