Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-rtd119x.c26 #define RTD_RTCSEC_RTCSEC_MASK 0x7f macro
91 tm->tm_sec = (readl_relaxed(data->base + RTD_RTCSEC) & RTD_RTCSEC_RTCSEC_MASK) >> 1; in rtd119x_rtc_read_time()
96 sec = (readl_relaxed(data->base + RTD_RTCSEC) & RTD_RTCSEC_RTCSEC_MASK) >> 1; in rtd119x_rtc_read_time()
145 writel_relaxed((tm->tm_sec << 1) & RTD_RTCSEC_RTCSEC_MASK, data->base + RTD_RTCSEC); in rtd119x_rtc_set_time()