Lines Matching refs:time
135 * This function reads the current RTC time into tm in Gregorian date.
137 * @param tm contains the RTC time value upon return
157 * This function sets the internal RTC time based on tm in Gregorian date.
159 * @param tm the time value to be set in the RTC
166 time64_t time = rtc_tm_to_time64(tm);
173 writel(time, pdata->ioaddr + SRTC_LPSCMR);
197 rtc_time64_to_tm(readl(ioaddr + SRTC_LPSAR), &alrm->time);
240 const time64_t time = rtc_tm_to_time64(&alrm->time);
247 writel((u32)time, pdata->ioaddr + SRTC_LPSAR);