Lines Matching refs:sirfsoc_rtciobrg_base
27 void __iomem *sirfsoc_rtciobrg_base; variable
36 while (readl_relaxed(sirfsoc_rtciobrg_base + SIRFSOC_CPUIOBRG_CTRL)) in sirfsoc_rtc_iobrg_wait_sync()
56 writel_relaxed(0x00, sirfsoc_rtciobrg_base + SIRFSOC_CPUIOBRG_WRBE); in __sirfsoc_rtc_iobrg_readl()
57 writel_relaxed(addr, sirfsoc_rtciobrg_base + SIRFSOC_CPUIOBRG_ADDR); in __sirfsoc_rtc_iobrg_readl()
58 writel_relaxed(0x01, sirfsoc_rtciobrg_base + SIRFSOC_CPUIOBRG_CTRL); in __sirfsoc_rtc_iobrg_readl()
62 return readl_relaxed(sirfsoc_rtciobrg_base + SIRFSOC_CPUIOBRG_DATA); in __sirfsoc_rtc_iobrg_readl()
84 writel_relaxed(0xf1, sirfsoc_rtciobrg_base + SIRFSOC_CPUIOBRG_WRBE); in sirfsoc_rtc_iobrg_pre_writel()
85 writel_relaxed(addr, sirfsoc_rtciobrg_base + SIRFSOC_CPUIOBRG_ADDR); in sirfsoc_rtc_iobrg_pre_writel()
87 writel_relaxed(val, sirfsoc_rtciobrg_base + SIRFSOC_CPUIOBRG_DATA); in sirfsoc_rtc_iobrg_pre_writel()
99 writel_relaxed(0x01, sirfsoc_rtciobrg_base + SIRFSOC_CPUIOBRG_CTRL); in sirfsoc_rtc_iobrg_writel()
155 sirfsoc_rtciobrg_base = of_iomap(np, 0); in sirfsoc_rtciobrg_probe()
156 if (!sirfsoc_rtciobrg_base) in sirfsoc_rtciobrg_probe()