Lines Matching refs:tcobase
48 static unsigned int tcobase; variable
85 val = inl(TCO_CNT(tcobase)); in tco_timer_start()
87 outl(val, TCO_CNT(tcobase)); in tco_timer_start()
97 val = inl(TCO_CNT(tcobase)); in tco_timer_stop()
99 outl(val, TCO_CNT(tcobase)); in tco_timer_stop()
108 outb(0x01, TCO_RLD(tcobase)); in tco_timer_keepalive()
134 val = inb(TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
137 outb(val, TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
138 val = inb(TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
332 tcobase = val + 0x40; in nv_tco_getdevice()
334 if (!request_region(tcobase, 0x10, "NV TCO")) { in nv_tco_getdevice()
335 pr_err("I/O address 0x%04x already in use\n", tcobase); in nv_tco_getdevice()
350 if (!request_region(MCP51_SMI_EN(tcobase), 4, "NV TCO")) { in nv_tco_getdevice()
352 MCP51_SMI_EN(tcobase)); in nv_tco_getdevice()
355 val = inl(MCP51_SMI_EN(tcobase)); in nv_tco_getdevice()
357 outl(val, MCP51_SMI_EN(tcobase)); in nv_tco_getdevice()
358 val = inl(MCP51_SMI_EN(tcobase)); in nv_tco_getdevice()
359 release_region(MCP51_SMI_EN(tcobase), 4); in nv_tco_getdevice()
377 release_region(tcobase, 0x10); in nv_tco_getdevice()
391 inl(TCO_STS(tcobase)) & TCO_STS_TCO2TO_STS ? "" : "not "); in nv_tco_init()
394 outl(TCO_STS_RESET, TCO_STS(tcobase)); in nv_tco_init()
419 tcobase, heartbeat, nowayout); in nv_tco_init()
424 release_region(tcobase, 0x10); in nv_tco_init()
447 release_region(tcobase, 0x10); in nv_tco_cleanup()
452 if (tcobase) in nv_tco_remove()