| /Linux-v5.4/drivers/rtc/ |
| D | lib.c | 49 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()
|
| D | rtc-88pm80x.c | 95 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()
|
| D | rtc-zynqmp.c | 97 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()
|
| D | rtc-pcap.c | 54 rtc_time64_to_tm(secs, tm); in pcap_rtc_read_alarm() 86 rtc_time64_to_tm(secs, tm); in pcap_rtc_read_time()
|
| D | rtc-test.c | 32 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()
|
| D | rtc-ab3100.c | 107 rtc_time64_to_tm(time, tm); in ab3100_rtc_read_time() 140 rtc_time64_to_tm(time, &alarm->time); in ab3100_rtc_read_alarm()
|
| D | rtc-goldfish.c | 51 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()
|
| D | systohc.c | 53 rtc_time64_to_tm(to_set.tv_sec, &tm); in rtc_set_ntp_time()
|
| D | rtc-digicolor.c | 100 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()
|
| D | rtc-ps3.c | 31 rtc_time64_to_tm(read_rtc() + ps3_os_area_get_rtc_diff(), tm); in ps3_get_time()
|
| D | rtc-mxc.c | 250 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()
|
| D | rtc-sun4v.c | 42 rtc_time64_to_tm(hypervisor_get_time(), tm); in sun4v_read_time()
|
| D | rtc-xgene.c | 48 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()
|
| D | rtc-brcmstb-waketimer.c | 127 rtc_time64_to_tm(now.sec, tm); in brcmstb_waketmr_gettime() 156 rtc_time64_to_tm(sec, &alarm->time); in brcmstb_waketmr_getalarm()
|
| D | rtc-coh901331.c | 88 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()
|
| D | rtc-rk808.c | 78 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()
|
| D | rtc-vr41xx.c | 116 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()
|
| D | rtc-tps6586x.c | 89 rtc_time64_to_tm(seconds, tm); in tps6586x_rtc_read_time() 213 rtc_time64_to_tm(seconds, &alrm->time); in tps6586x_rtc_read_alarm()
|
| D | rtc-stmp3xxx.c | 155 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()
|
| D | rtc-lpc32xx.c | 61 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()
|
| D | rtc-dm355evm.c | 77 rtc_time64_to_tm(le32_to_cpu(time.value), tm); in dm355evm_rtc_read_time()
|
| D | rtc-mc13xxx.c | 84 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/ |
| D | time.c | 125 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/ |
| D | rtc.c | 49 rtc_time64_to_tm(t, tm); in aica_rtc_gettimeofday()
|
| /Linux-v5.4/include/linux/ |
| D | rtc.h | 25 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()
|