Home
last modified time | relevance | path

Searched refs:RTC_ENABLE (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/rtc/
H A Dexynos4210_rtc.c78 #define RTC_ENABLE 0x0001 macro
406 if (value & RTC_ENABLE) { in exynos4210_rtc_write()
409 if ((value & RTC_ENABLE) > (s->reg_rtccon & RTC_ENABLE)) { in exynos4210_rtc_write()
415 if ((value & RTC_ENABLE) < (s->reg_rtccon & RTC_ENABLE)) { in exynos4210_rtc_write()
422 if (value & RTC_ENABLE) { in exynos4210_rtc_write()
472 if (s->reg_rtccon & RTC_ENABLE) { in exynos4210_rtc_write()
477 if (s->reg_rtccon & RTC_ENABLE) { in exynos4210_rtc_write()
482 if (s->reg_rtccon & RTC_ENABLE) { in exynos4210_rtc_write()
487 if (s->reg_rtccon & RTC_ENABLE) { in exynos4210_rtc_write()
492 if (s->reg_rtccon & RTC_ENABLE) { in exynos4210_rtc_write()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-tps6586x.c25 #define RTC_ENABLE BIT(5) /* enables alarm */ macro
100 ret = tps6586x_clr_bits(tps_dev, RTC_CTRL, RTC_ENABLE); in tps6586x_rtc_set_time()
113 ret = tps6586x_set_bits(tps_dev, RTC_CTRL, RTC_ENABLE); in tps6586x_rtc_set_time()
236 RTC_ENABLE | OSC_SRC_SEL | in tps6586x_rtc_probe()
238 RTC_ENABLE | OSC_SRC_SEL | PRE_BYPASS | CL_SEL_MASK); in tps6586x_rtc_probe()
279 RTC_ENABLE | OSC_SRC_SEL | PRE_BYPASS | CL_SEL_MASK); in tps6586x_rtc_probe()
288 RTC_ENABLE | OSC_SRC_SEL | PRE_BYPASS | CL_SEL_MASK); in tps6586x_rtc_remove()
H A Drtc-aspeed.c20 #define RTC_ENABLE BIT(0) macro
28 if (!(readl(rtc->base + RTC_CTRL) & RTC_ENABLE)) { in aspeed_rtc_read_time()
75 writel(ctrl | RTC_ENABLE, rtc->base + RTC_CTRL); in aspeed_rtc_set_time()
H A Drtc-loongson.c54 #define RTC_ENABLE BIT(13) /* 1: RTC counters enable */ macro
/openbmc/u-boot/drivers/rtc/
H A Ds3c24x0_rtc.c21 RTC_ENABLE, enumerator
31 case RTC_ENABLE: in SetRTC_Access()
51 SetRTC_Access(RTC_ENABLE); in rtc_get()
126 SetRTC_Access(RTC_ENABLE); in rtc_set()