Lines Matching refs:virtbase
74 static void __iomem *virtbase; variable
95 val = readw(virtbase + U300_WDOG_D2R); in coh901327_enable()
98 virtbase + U300_WDOG_RR); in coh901327_enable()
101 virtbase + U300_WDOG_IER); in coh901327_enable()
111 writew(U300_WDOG_IMR_WILL_BARK_IRQ_ENABLE, virtbase + U300_WDOG_IMR); in coh901327_enable()
113 writew(timeout, virtbase + U300_WDOG_TR); in coh901327_enable()
115 writew(U300_WDOG_FR_FEED_RESTART_TIMER, virtbase + U300_WDOG_FR); in coh901327_enable()
119 (void) readw(virtbase + U300_WDOG_CR); in coh901327_enable()
120 val = readw(virtbase + U300_WDOG_D2R); in coh901327_enable()
134 writew(0x0000U, virtbase + U300_WDOG_IMR); in coh901327_disable()
136 val = readw(virtbase + U300_WDOG_D2R); in coh901327_disable()
139 virtbase + U300_WDOG_D1R); in coh901327_disable()
141 virtbase + U300_WDOG_D2R); in coh901327_disable()
144 virtbase + U300_WDOG_D2R); in coh901327_disable()
146 val = readw(virtbase + U300_WDOG_D2R); in coh901327_disable()
171 virtbase + U300_WDOG_FR); in coh901327_ping()
182 writew(time * 100, virtbase + U300_WDOG_TR); in coh901327_settimeout()
185 virtbase + U300_WDOG_FR); in coh901327_settimeout()
196 val = readw(virtbase + U300_WDOG_CR); in coh901327_gettimeleft()
198 val = readw(virtbase + U300_WDOG_CR); in coh901327_gettimeleft()
225 val = readw(virtbase + U300_WDOG_IER); in coh901327_interrupt()
228 virtbase + U300_WDOG_IER); in coh901327_interrupt()
229 writew(0x0000U, virtbase + U300_WDOG_IMR); in coh901327_interrupt()
268 iounmap(virtbase); in coh901327_remove()
292 virtbase = ioremap(phybase, physize); in coh901327_probe()
293 if (!virtbase) { in coh901327_probe()
310 val = readw(virtbase + U300_WDOG_SR); in coh901327_probe()
328 val = readw(virtbase + U300_WDOG_D2R); in coh901327_probe()
346 writew(U300_WDOG_SR_RESET_STATUS_RESET, virtbase + U300_WDOG_SR); in coh901327_probe()
378 iounmap(virtbase); in coh901327_probe()
392 irqmaskstore = readw(virtbase + U300_WDOG_IMR) & 0x0001U; in coh901327_suspend()
393 wdogenablestore = readw(virtbase + U300_WDOG_D2R); in coh901327_suspend()
403 writew(irqmaskstore, virtbase + U300_WDOG_IMR); in coh901327_resume()
407 virtbase + U300_WDOG_RR); in coh901327_resume()
409 virtbase + U300_WDOG_FR); in coh901327_resume()
426 virtbase + U300_WDOG_JOR); in coh901327_watchdog_reset()