Lines Matching refs:IO_INDEX_PORT
38 #define IO_INDEX_PORT 0x3F0 macro
39 #define IO_DATA_PORT (IO_INDEX_PORT+1)
78 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_start()
79 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_start()
87 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_start()
89 outb_p(0xF2, IO_INDEX_PORT); in wdt_start()
91 outb_p(0xF3, IO_INDEX_PORT); in wdt_start()
93 outb_p(0xF4, IO_INDEX_PORT); in wdt_start()
97 outb_p(0x30, IO_INDEX_PORT); in wdt_start()
107 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_start()
112 outb_p(0xE6, IO_INDEX_PORT); in wdt_start()
114 outb_p(0x2C, IO_INDEX_PORT); in wdt_start()
118 outb_p(0x2C, IO_INDEX_PORT); in wdt_start()
121 outb_p(0xE3, IO_INDEX_PORT); in wdt_start()
125 outb_p(0x30, IO_INDEX_PORT); in wdt_start()
129 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt_start()
149 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_stop()
150 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_stop()
158 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_stop()
160 outb_p(0xF2, IO_INDEX_PORT); in wdt_stop()
162 outb_p(0xF3, IO_INDEX_PORT); in wdt_stop()
164 outb_p(0xF4, IO_INDEX_PORT); in wdt_stop()
166 outb_p(0xF2, IO_INDEX_PORT); in wdt_stop()
173 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_stop()
176 outb_p(0xE6, IO_INDEX_PORT); in wdt_stop()
179 outb_p(0xE3, IO_INDEX_PORT); in wdt_stop()
183 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt_stop()
204 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_keepalive()
205 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_keepalive()
208 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_keepalive()
210 outb_p(0xF2, IO_INDEX_PORT); in wdt_keepalive()
214 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt_keepalive()
265 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_get_status()
266 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_get_status()
269 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_get_status()
271 outb_p(0xF4, IO_INDEX_PORT); in wdt_get_status()
275 outb_p(LOCK_DATA, IO_INDEX_PORT); in wdt_get_status()
484 if (!request_region(IO_INDEX_PORT, 2, WATCHDOG_NAME)) { in w83977f_wdt_init()
485 pr_err("I/O address 0x%04x already in use\n", IO_INDEX_PORT); in w83977f_wdt_init()
511 release_region(IO_INDEX_PORT, 2); in w83977f_wdt_init()
521 release_region(IO_INDEX_PORT, 2); in w83977f_wdt_exit()