Lines Matching refs:tcobase
50 static void __iomem *tcobase; variable
82 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()
436 val = readl(SP5100_WDT_CONTROL(tcobase)); in sp5100_tco_setupdevice()
443 writel(val, SP5100_WDT_CONTROL(tcobase)); in sp5100_tco_setupdevice()
500 tcobase, heartbeat, nowayout); in sp5100_tco_init()
505 iounmap(tcobase); in sp5100_tco_init()
519 iounmap(tcobase); in sp5100_tco_cleanup()
526 if (tcobase) in sp5100_tco_remove()