Home
last modified time | relevance | path

Searched refs:RTC_CTRL (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/rtc/
Drtc-aspeed.c17 #define RTC_CTRL 0x10 macro
28 if (!(readl(rtc->base + RTC_CTRL) & RTC_ENABLE)) { in aspeed_rtc_read_time()
68 ctrl = readl(rtc->base + RTC_CTRL); in aspeed_rtc_set_time()
69 writel(ctrl | RTC_UNLOCK, rtc->base + RTC_CTRL); in aspeed_rtc_set_time()
75 writel(ctrl | RTC_ENABLE, rtc->base + RTC_CTRL); in aspeed_rtc_set_time()
Drtc-tps6586x.c22 #define RTC_CTRL 0xc0 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()
235 ret = tps6586x_update(tps_dev, RTC_CTRL, in tps6586x_rtc_probe()
278 tps6586x_update(tps_dev, RTC_CTRL, 0, in tps6586x_rtc_probe()
287 tps6586x_update(tps_dev, RTC_CTRL, 0, in tps6586x_rtc_remove()
Drtc-sunplus.c22 #define RTC_CTRL 0x40 macro
139 sp_rtc->reg_base + RTC_CTRL); in sp_rtc_alarm_irq_enable()
142 0x0, sp_rtc->reg_base + RTC_CTRL); in sp_rtc_alarm_irq_enable()
294 writel(DIS_SYS_RST_RTC_MASK_BIT | DIS_SYS_RST_RTC, sp_rtc->reg_base + RTC_CTRL); in sp_rtc_probe()
Drtc-zynqmp.c30 #define RTC_CTRL 0x40 macro
173 rtc_ctrl = readl(xrtcdev->reg_base + RTC_CTRL); in xlnx_init_rtc()
175 writel(rtc_ctrl, xrtcdev->reg_base + RTC_CTRL); in xlnx_init_rtc()
/linux-6.6.21/drivers/clk/meson/
Da1-peripherals.h19 #define RTC_CTRL 0xc macro
Da1-peripherals.c207 .offset = RTC_CTRL,
/linux-6.6.21/drivers/mfd/
Dab8500-sysctrl.c24 #define RTC_CTRL 0x0B macro