Searched refs:RTC_CTRL (Results 1 – 4 of 4) sorted by relevance
/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() 277 tps6586x_update(tps_dev, RTC_CTRL, 0, in tps6586x_rtc_probe() 286 tps6586x_update(tps_dev, RTC_CTRL, 0, in tps6586x_rtc_remove()
|
D | rtc-zynqmp.c | 29 #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()
|
/drivers/mfd/ |
D | ab8500-sysctrl.c | 24 #define RTC_CTRL 0x0B macro
|