Lines Matching refs:IO_INDEX_PORT
33 #define IO_INDEX_PORT 0x3F0 macro
34 #define IO_DATA_PORT (IO_INDEX_PORT+1)
73 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_start()
74 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_start()
82 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_start()
84 outb_p(0xF2, IO_INDEX_PORT); in wdt_start()
86 outb_p(0xF3, IO_INDEX_PORT); in wdt_start()
88 outb_p(0xF4, IO_INDEX_PORT); in wdt_start()
92 outb_p(0x30, IO_INDEX_PORT); in wdt_start()
102 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_start()
107 outb_p(0xE6, IO_INDEX_PORT); in wdt_start()
109 outb_p(0x2C, IO_INDEX_PORT); in wdt_start()
113 outb_p(0x2C, IO_INDEX_PORT); in wdt_start()
116 outb_p(0xE3, IO_INDEX_PORT); in wdt_start()
120 outb_p(0x30, IO_INDEX_PORT); in wdt_start()
124 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt_start()
144 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_stop()
145 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_stop()
153 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_stop()
155 outb_p(0xF2, IO_INDEX_PORT); in wdt_stop()
157 outb_p(0xF3, IO_INDEX_PORT); in wdt_stop()
159 outb_p(0xF4, IO_INDEX_PORT); in wdt_stop()
161 outb_p(0xF2, IO_INDEX_PORT); in wdt_stop()
168 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_stop()
171 outb_p(0xE6, IO_INDEX_PORT); in wdt_stop()
174 outb_p(0xE3, IO_INDEX_PORT); in wdt_stop()
178 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt_stop()
199 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_keepalive()
200 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_keepalive()
203 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_keepalive()
205 outb_p(0xF2, IO_INDEX_PORT); in wdt_keepalive()
209 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt_keepalive()
260 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_get_status()
261 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_get_status()
264 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_get_status()
266 outb_p(0xF4, IO_INDEX_PORT); in wdt_get_status()
270 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt_get_status()
480 if (!request_region(IO_INDEX_PORT, 2, WATCHDOG_NAME)) { in w83977f_wdt_init()
481 pr_err("I/O address 0x%04x already in use\n", IO_INDEX_PORT); in w83977f_wdt_init()
507 release_region(IO_INDEX_PORT, 2); in w83977f_wdt_init()
517 release_region(IO_INDEX_PORT, 2); in w83977f_wdt_exit()