Searched refs:tcobase (Results 1 – 2 of 2) sorted by relevance
48 static unsigned int tcobase; variable85 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()[all …]
50 static void __iomem *tcobase; variable82 val = readl(SP5100_WDT_CONTROL(tcobase)); in tco_timer_start()84 writel(val, SP5100_WDT_CONTROL(tcobase)); in tco_timer_start()94 val = readl(SP5100_WDT_CONTROL(tcobase)); in tco_timer_stop()96 writel(val, SP5100_WDT_CONTROL(tcobase)); in tco_timer_stop()106 val = readl(SP5100_WDT_CONTROL(tcobase)); in tco_timer_keepalive()108 writel(val, SP5100_WDT_CONTROL(tcobase)); in tco_timer_keepalive()121 writel(t, SP5100_WDT_COUNT(tcobase)); in tco_timer_set_heartbeat()424 tcobase = ioremap(val, SP5100_WDT_MEM_MAP_SIZE); in sp5100_tco_setupdevice()425 if (!tcobase) { in sp5100_tco_setupdevice()[all …]