Searched refs:rtc_base (Results 1 – 3 of 3) sorted by relevance
68 static inline void jz4740_rtc_wait_ready(void __iomem *rtc_base) in jz4740_rtc_wait_ready() argument73 ctrl = readl(rtc_base + JZ_REG_RTC_CTRL); in jz4740_rtc_wait_ready()79 void __iomem *rtc_base = ioremap(JZ4740_RTC_BASE_ADDR, 0x38); in jz4740_power_off() local92 jz4740_rtc_wait_ready(rtc_base); in jz4740_power_off()93 writel(wakeup_filter_ticks, rtc_base + JZ_REG_RTC_WAKEUP_FILTER); in jz4740_power_off()104 jz4740_rtc_wait_ready(rtc_base); in jz4740_power_off()105 writel(reset_counter_ticks, rtc_base + JZ_REG_RTC_RESET_COUNTER); in jz4740_power_off()107 jz4740_rtc_wait_ready(rtc_base); in jz4740_power_off()108 writel(1, rtc_base + JZ_REG_RTC_HIBERNATE); in jz4740_power_off()
27 void __iomem *rtc_base; in estimate_cpu_frequency() local42 rtc_base = IO_ADDRESS(base); in estimate_cpu_frequency()48 rtcstart = readl(rtc_base+GOLDFISH_TIMER_LOW); in estimate_cpu_frequency()51 rtcdelta = readl(rtc_base+GOLDFISH_TIMER_LOW) - rtcstart; in estimate_cpu_frequency()
63 static unsigned int __init detect_bus_frequency(unsigned long rtc_base) in detect_bus_frequency() argument