Searched refs:tcobase (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/watchdog/ |
D | nv_tco.c | 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() [all …]
|
D | sp5100_tco.c | 57 void __iomem *tcobase; member 114 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start() 116 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start() 126 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop() 128 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop() 138 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping() 140 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping() 151 writel(t, SP5100_WDT_COUNT(tco->tcobase)); in tco_timer_set_timeout() 162 return readl(SP5100_WDT_COUNT(tco->tcobase)); in tco_timer_get_timeleft() 275 tco->tcobase = devm_ioremap(dev, mmio_addr, SP5100_WDT_MEM_MAP_SIZE); in sp5100_tco_prepare_base() [all …]
|