Home
last modified time | relevance | path

Searched refs:rtc_time64_to_tm (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v4.19/drivers/rtc/
Drtc-lib.c53 void rtc_time64_to_tm(time64_t time, struct rtc_time *tm) in rtc_time64_to_tm() function
93 EXPORT_SYMBOL(rtc_time64_to_tm);
145 rtc_time64_to_tm(ts.tv_sec, &ret); in rtc_ktime_to_tm()
Drtc-88pm80x.c107 rtc_time64_to_tm(next_time, next); in rtc_next_alarm_time()
126 rtc_time64_to_tm(ticks, tm); in pm80x_rtc_read_time()
170 rtc_time64_to_tm(ticks, &alrm->time); in pm80x_rtc_read_alarm()
198 rtc_time64_to_tm(ticks, &now_tm); in pm80x_rtc_set_alarm()
Drtc-zynqmp.c112 rtc_time64_to_tm(readl(xrtcdev->reg_base + RTC_CUR_TM), tm); in xlnx_rtc_read_time()
122 rtc_time64_to_tm(read_time, tm); in xlnx_rtc_read_time()
132 rtc_time64_to_tm(readl(xrtcdev->reg_base + RTC_ALRM), &alrm->time); in xlnx_rtc_read_alarm()
Drtc-test.c35 rtc_time64_to_tm(alarm, &alrm->time); in test_rtc_read_alarm()
71 rtc_time64_to_tm(ktime_get_real_seconds() + rtd->offset, tm); in test_rtc_read_time()
Drtc-ab3100.c107 rtc_time64_to_tm(time, tm); in ab3100_rtc_read_time()
140 rtc_time64_to_tm(time, &alarm->time); in ab3100_rtc_read_alarm()
Dsystohc.c59 rtc_time64_to_tm(to_set.tv_sec, &tm); in rtc_set_ntp_time()
Drtc-digicolor.c104 rtc_time64_to_tm(now, tm); in dc_rtc_read_time()
125 rtc_time64_to_tm(reference + alarm_reg, &alarm->time); in dc_rtc_read_alarm()
Drtc-mxc.c248 rtc_time64_to_tm(val, tm); in mxc_rtc_read_time()
266 rtc_time64_to_tm(time, &tm); in mxc_rtc_set_mmss()
289 rtc_time64_to_tm(get_alarm_or_time(dev, MXC_RTC_ALARM), &alrm->time); in mxc_rtc_read_alarm()
Drtc-rk808.c77 rtc_time64_to_tm(time + nov2dec_transitions(tm) * 86400, tm); in rockchip_to_gregorian()
84 rtc_time64_to_tm(time - extra_days * 86400, tm); in gregorian_to_rockchip()
91 rtc_time64_to_tm(time - (extra_days - 1) * 86400, tm); in gregorian_to_rockchip()
Drtc-tps6586x.c89 rtc_time64_to_tm(seconds, tm); in tps6586x_rtc_read_time()
213 rtc_time64_to_tm(seconds, &alrm->time); in tps6586x_rtc_read_alarm()
Drtc-mc13xxx.c87 rtc_time64_to_tm((time64_t)days1 * SEC_PER_DAY + seconds, tm); in mc13xxx_rtc_read_time()
194 rtc_time64_to_tm(s1970, &alarm->time); in mc13xxx_rtc_read_alarm()
Drtc-mxc_v2.c149 rtc_time64_to_tm(now, tm); in mxc_rtc_read_time()
197 rtc_time64_to_tm(readl(ioaddr + SRTC_LPSAR), &alrm->time); in mxc_rtc_read_alarm()
Drtc-cros-ec.c98 rtc_time64_to_tm(time, tm); in cros_ec_rtc_read_time()
149 rtc_time64_to_tm(current_time + alarm_offset, &alrm->time); in cros_ec_rtc_read_alarm()
Drtc-sc27xx.c325 rtc_time64_to_tm(secs, &alrm->time); in sprd_rtc_read_aux_alarm()
386 rtc_time64_to_tm(secs, tm); in sprd_rtc_read_time()
440 rtc_time64_to_tm(secs, &alrm->time); in sprd_rtc_read_alarm()
Drtc-ls1x.c100 rtc_time64_to_tm(t, rtm); in ls1x_rtc_read_time()
Drtc-ftrtc010.c88 rtc_time64_to_tm(time, tm); in ftrtc010_rtc_read_time()
Dinterface.c46 rtc_time64_to_tm(secs + rtc->offset_secs, tm); in rtc_add_offset()
67 rtc_time64_to_tm(secs - rtc->offset_secs, tm); in rtc_subtract_offset()
333 rtc_time64_to_tm(t_alm, &alarm->time); in __rtc_read_alarm()
/Linux-v4.19/arch/powerpc/platforms/powermac/
Dtime.c114 #define cuda_get_rtc_time(tm) rtc_time64_to_tm(cuda_get_time(), (tm))
161 #define pmu_get_rtc_time(tm) rtc_time64_to_tm(pmu_get_time(), (tm))
/Linux-v4.19/include/linux/
Drtc.h25 extern void rtc_time64_to_tm(time64_t time, struct rtc_time *tm);
39 rtc_time64_to_tm(time, tm); in rtc_time_to_tm()
/Linux-v4.19/arch/x86/platform/intel-mid/
Dintel_mid_vrtc.c97 rtc_time64_to_tm(now->tv_sec, &tm); in vrtc_set_mmss()
/Linux-v4.19/arch/parisc/kernel/
Dtime.c176 rtc_time64_to_tm(tod_data.tod_sec, tm); in rtc_generic_get_time()
/Linux-v4.19/arch/x86/kernel/
Drtc.c48 rtc_time64_to_tm(nowtime, &tm); in mach_set_rtc_mmss()
/Linux-v4.19/arch/powerpc/platforms/8xx/
Dm8xx_setup.c194 rtc_time64_to_tm(data, tm); in mpc8xx_get_rtc_time()
/Linux-v4.19/arch/mips/sibyte/swarm/
Drtc_m41t81.c150 rtc_time64_to_tm(t, &tm); in m41t81_set_time()
Drtc_xicor1241.c118 rtc_time64_to_tm(t, &tm); in xicor_set_time()

12