Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/rtc/
Dlib.c49 void rtc_time64_to_tm(time64_t time, struct rtc_time *tm) in rtc_time64_to_tm() function
89 EXPORT_SYMBOL(rtc_time64_to_tm);
143 rtc_time64_to_tm(ts.tv_sec, &ret); in rtc_ktime_to_tm()
Drtc-88pm80x.c95 rtc_time64_to_tm(next_time, next); in rtc_next_alarm_time()
116 rtc_time64_to_tm(ticks, tm); in pm80x_rtc_read_time()
163 rtc_time64_to_tm(ticks, &alrm->time); in pm80x_rtc_read_alarm()
193 rtc_time64_to_tm(ticks, &now_tm); in pm80x_rtc_set_alarm()
Drtc-zynqmp.c97 rtc_time64_to_tm(readl(xrtcdev->reg_base + RTC_CUR_TM), tm); in xlnx_rtc_read_time()
107 rtc_time64_to_tm(read_time, tm); in xlnx_rtc_read_time()
117 rtc_time64_to_tm(readl(xrtcdev->reg_base + RTC_ALRM), &alrm->time); in xlnx_rtc_read_alarm()
Drtc-pcap.c54 rtc_time64_to_tm(secs, tm); in pcap_rtc_read_alarm()
86 rtc_time64_to_tm(secs, tm); in pcap_rtc_read_time()
Drtc-test.c32 rtc_time64_to_tm(alarm, &alrm->time); in test_rtc_read_alarm()
68 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()
Drtc-goldfish.c51 rtc_time64_to_tm(rtc_alarm, &alrm->time); in goldfish_rtc_read_alarm()
136 rtc_time64_to_tm(time, tm); in goldfish_rtc_read_time()
Dsystohc.c53 rtc_time64_to_tm(to_set.tv_sec, &tm); in rtc_set_ntp_time()
Drtc-digicolor.c100 rtc_time64_to_tm(now, tm); in dc_rtc_read_time()
121 rtc_time64_to_tm(reference + alarm_reg, &alarm->time); in dc_rtc_read_alarm()
Drtc-ps3.c31 rtc_time64_to_tm(read_rtc() + ps3_os_area_get_rtc_diff(), tm); in ps3_get_time()
Drtc-mxc.c250 rtc_time64_to_tm(val, tm); in mxc_rtc_read_time()
280 rtc_time64_to_tm(get_alarm_or_time(dev, MXC_RTC_ALARM), &alrm->time); in mxc_rtc_read_alarm()
349 rtc_time64_to_tm(ktime_get_real_seconds(), &tm); in mxc_rtc_probe()
Drtc-sun4v.c42 rtc_time64_to_tm(hypervisor_get_time(), tm); in sun4v_read_time()
Drtc-xgene.c48 rtc_time64_to_tm(readl(pdata->csr_base + RTC_CCVR), tm); in xgene_rtc_read_time()
71 rtc_time64_to_tm(0, &alrm->time); in xgene_rtc_read_alarm()
Drtc-brcmstb-waketimer.c127 rtc_time64_to_tm(now.sec, tm); in brcmstb_waketmr_gettime()
156 rtc_time64_to_tm(sec, &alarm->time); in brcmstb_waketmr_getalarm()
Drtc-coh901331.c88 rtc_time64_to_tm(readl(rtap->virtbase + COH901331_CUR_TIME), tm); in coh901331_read_time()
109 rtc_time64_to_tm(readl(rtap->virtbase + COH901331_ALARM), &alarm->time); in coh901331_read_alarm()
Drtc-rk808.c78 rtc_time64_to_tm(time + nov2dec_transitions(tm) * 86400, tm); in rockchip_to_gregorian()
85 rtc_time64_to_tm(time - extra_days * 86400, tm); in gregorian_to_rockchip()
92 rtc_time64_to_tm(time - (extra_days - 1) * 86400, tm); in gregorian_to_rockchip()
Drtc-vr41xx.c116 rtc_time64_to_tm(epoch_sec + elapsed_sec, time); in vr41xx_rtc_read_time()
147 rtc_time64_to_tm((high << 17) | (mid << 1) | (low >> 15), time); in vr41xx_rtc_read_alarm()
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-stmp3xxx.c155 rtc_time64_to_tm(readl(rtc_data->io + STMP3XXX_RTC_SECONDS), rtc_tm); in stmp3xxx_rtc_gettime()
209 rtc_time64_to_tm(readl(rtc_data->io + STMP3XXX_RTC_ALARM), &alm->time); in stmp3xxx_rtc_read_alarm()
Drtc-lpc32xx.c61 rtc_time64_to_tm(elapsed_sec, time); in lpc32xx_rtc_read_time()
91 rtc_time64_to_tm(rtc_readl(rtc, LPC32XX_RTC_MATCH0), &wkalrm->time); in lpc32xx_rtc_read_alarm()
Drtc-dm355evm.c77 rtc_time64_to_tm(le32_to_cpu(time.value), tm); in dm355evm_rtc_read_time()
Drtc-mc13xxx.c84 rtc_time64_to_tm((time64_t)days1 * SEC_PER_DAY + seconds, tm); in mc13xxx_rtc_read_time()
191 rtc_time64_to_tm(s1970, &alarm->time); in mc13xxx_rtc_read_alarm()
/Linux-v5.4/arch/powerpc/platforms/powermac/
Dtime.c125 rtc_time64_to_tm(cuda_get_time(), tm); in pmac_get_rtc_time()
130 rtc_time64_to_tm(pmu_get_time(), tm); in pmac_get_rtc_time()
/Linux-v5.4/arch/sh/boards/mach-dreamcast/
Drtc.c49 rtc_time64_to_tm(t, tm); in aica_rtc_gettimeofday()
/Linux-v5.4/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()

123