Lines Matching refs:tcobase
44 static unsigned int tcobase; variable
81 val = inl(TCO_CNT(tcobase)); in tco_timer_start()
83 outl(val, TCO_CNT(tcobase)); in tco_timer_start()
93 val = inl(TCO_CNT(tcobase)); in tco_timer_stop()
95 outl(val, TCO_CNT(tcobase)); in tco_timer_stop()
104 outb(0x01, TCO_RLD(tcobase)); in tco_timer_keepalive()
130 val = inb(TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
133 outb(val, TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
134 val = inb(TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
331 tcobase = val + 0x40; in nv_tco_getdevice()
333 if (!request_region(tcobase, 0x10, "NV TCO")) { in nv_tco_getdevice()
334 pr_err("I/O address 0x%04x already in use\n", tcobase); in nv_tco_getdevice()
349 if (!request_region(MCP51_SMI_EN(tcobase), 4, "NV TCO")) { in nv_tco_getdevice()
351 MCP51_SMI_EN(tcobase)); in nv_tco_getdevice()
354 val = inl(MCP51_SMI_EN(tcobase)); in nv_tco_getdevice()
356 outl(val, MCP51_SMI_EN(tcobase)); in nv_tco_getdevice()
357 val = inl(MCP51_SMI_EN(tcobase)); in nv_tco_getdevice()
358 release_region(MCP51_SMI_EN(tcobase), 4); in nv_tco_getdevice()
376 release_region(tcobase, 0x10); in nv_tco_getdevice()
390 inl(TCO_STS(tcobase)) & TCO_STS_TCO2TO_STS ? "" : "not "); in nv_tco_init()
393 outl(TCO_STS_RESET, TCO_STS(tcobase)); in nv_tco_init()
418 tcobase, heartbeat, nowayout); in nv_tco_init()
423 release_region(tcobase, 0x10); in nv_tco_init()
446 release_region(tcobase, 0x10); in nv_tco_cleanup()
451 if (tcobase) in nv_tco_remove()