Searched refs:RTC_CTRL (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/rtc/ |
D | rtc-aspeed.c | 17 #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()
|
D | rtc-tps6586x.c | 22 #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()
|
D | rtc-sunplus.c | 22 #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()
|
D | rtc-zynqmp.c | 30 #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/ |
D | a1-peripherals.h | 19 #define RTC_CTRL 0xc macro
|
D | a1-peripherals.c | 207 .offset = RTC_CTRL,
|
/linux-6.6.21/drivers/mfd/ |
D | ab8500-sysctrl.c | 24 #define RTC_CTRL 0x0B macro
|