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