Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/rtc/
Drtc-sun6i.c42 #define SUN6I_LOSC_CTRL 0x0000 macro
144 val = readl(rtc->base + SUN6I_LOSC_CTRL); in sun6i_rtc_osc_recalc_rate()
158 return readl(rtc->base + SUN6I_LOSC_CTRL) & SUN6I_LOSC_CTRL_EXT_OSC; in sun6i_rtc_osc_get_parent()
171 val = readl(rtc->base + SUN6I_LOSC_CTRL); in sun6i_rtc_osc_set_parent()
175 writel(val, rtc->base + SUN6I_LOSC_CTRL); in sun6i_rtc_osc_set_parent()
219 rtc->base + SUN6I_LOSC_CTRL); in sun6i_rtc_clk_init()
465 if (sun6i_rtc_wait(chip, SUN6I_LOSC_CTRL, in sun6i_rtc_settime()
479 if (sun6i_rtc_wait(chip, SUN6I_LOSC_CTRL, in sun6i_rtc_settime()
493 if (sun6i_rtc_wait(chip, SUN6I_LOSC_CTRL, in sun6i_rtc_settime()