Searched refs:OSCR (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/clocksource/ |
D | timer-pxa.c | 31 #define OSCR 0x10 /* OS Timer Counter Register */ macro 59 return timer_readl(OSCR); in pxa_read_sched_clock() 84 next = timer_readl(OSCR) + delta; in pxa_osmr0_set_next_event() 86 oscr = timer_readl(OSCR); in pxa_osmr0_set_next_event() 109 oscr = timer_readl(OSCR); in pxa_timer_suspend() 128 timer_writel(oscr, OSCR); in pxa_timer_resume() 170 ret = clocksource_mmio_init(timer_base + OSCR, "oscr0", clock_tick_rate, 200, in pxa_timer_common_init()
|
/Linux-v5.4/drivers/watchdog/ |
D | sa1100_wdt.c | 54 writel_relaxed(readl_relaxed(OSCR) + pre_margin, OSMR3); in sa1100dog_open() 80 writel_relaxed(readl_relaxed(OSCR) + pre_margin, OSMR3); in sa1100dog_write() 114 writel_relaxed(readl_relaxed(OSCR) + pre_margin, OSMR3); in sa1100dog_ioctl() 129 writel_relaxed(readl_relaxed(OSCR) + pre_margin, OSMR3); in sa1100dog_ioctl()
|
/Linux-v5.4/arch/arm/mach-sa1100/include/mach/ |
D | mtd-xip.h | 20 #define xip_currtime() readl_relaxed(OSCR) 21 #define xip_elapsed_since(x) (signed)((readl_relaxed(OSCR) - (x)) / 4)
|
D | SA-1100.h | 838 #define OSCR io_p2v(0x90000010) /* OS timer Counter Reg. */ macro
|
/Linux-v5.4/arch/arm/mach-pxa/include/mach/ |
D | mtd-xip.h | 24 #define xip_currtime() readl(OSCR) 25 #define xip_elapsed_since(x) (signed)((readl(OSCR) - (x)) / 4)
|
D | regs-ost.h | 16 #define OSCR io_p2v(0x40A00010) /* OS Timer Counter Register */ macro
|
/Linux-v5.4/arch/arm/mach-pxa/ |
D | reset.c | 80 writel_relaxed(readl_relaxed(OSCR) + 368640, OSMR3); in do_hw_reset()
|