/openbmc/linux/drivers/rtc/ |
H A D | lib.c | 52 void rtc_time64_to_tm(time64_t time, struct rtc_time *tm) in rtc_time64_to_tm() function 142 EXPORT_SYMBOL(rtc_time64_to_tm); 196 rtc_time64_to_tm(ts.tv_sec, &ret); in rtc_ktime_to_tm()
|
H A 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()
|
H A D | rtc-pl030.c | 39 rtc_time64_to_tm(readl(rtc->base + RTC_MR), &alrm->time); in pl030_read_alarm() 56 rtc_time64_to_tm(readl(rtc->base + RTC_DR), tm); in pl030_read_time()
|
H A 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()
|
H A D | rtc-test.c | 32 rtc_time64_to_tm(alarm, &alrm->time); in test_rtc_read_alarm() 67 rtc_time64_to_tm(ktime_get_real_seconds() + rtd->offset, tm); in test_rtc_read_time()
|
H A D | rtc-goldfish.c | 41 rtc_time64_to_tm(rtc_alarm, &alrm->time); in goldfish_rtc_read_alarm() 127 rtc_time64_to_tm(time, tm); in goldfish_rtc_read_time()
|
H A D | rtc-starfire.c | 30 rtc_time64_to_tm(starfire_get_time(), tm); in starfire_read_time()
|
H A D | rtc-mxc.c | 233 rtc_time64_to_tm(val, tm); in mxc_rtc_read_time() 263 rtc_time64_to_tm(get_alarm_or_time(dev, MXC_RTC_ALARM), &alrm->time); in mxc_rtc_read_alarm() 327 rtc_time64_to_tm(ktime_get_real_seconds(), &tm); in mxc_rtc_probe()
|
H A D | rtc-ps3.c | 31 rtc_time64_to_tm(read_rtc() + ps3_os_area_get_rtc_diff(), tm); in ps3_get_time()
|
H A 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()
|
H A D | rtc-nxp-bbnsm.c | 73 rtc_time64_to_tm(time, tm); in bbnsm_rtc_read_time() 102 rtc_time64_to_tm(bbnsm_ta, &alrm->time); in bbnsm_rtc_read_alarm()
|
H A D | rtc-sun4v.c | 42 rtc_time64_to_tm(hypervisor_get_time(), tm); in sun4v_read_time()
|
H A D | lib_test.c | 53 rtc_time64_to_tm(secs, &result); in rtc_time64_to_tm_test_date_range()
|
H A D | rtc-msc313.c | 58 rtc_time64_to_tm(seconds, &alarm->time); in msc313_rtc_read_alarm() 127 rtc_time64_to_tm(seconds, tm); in msc313_rtc_read_time()
|
H A D | rtc-xgene.c | 47 rtc_time64_to_tm(readl(pdata->csr_base + RTC_CCVR), tm); in xgene_rtc_read_time() 70 rtc_time64_to_tm(0, &alrm->time); in xgene_rtc_read_alarm()
|
H A D | rtc-pl031.c | 130 rtc_time64_to_tm(rtc_tm_to_time64(tm), &calc_tm); in pl031_stv2_tm_to_time() 247 rtc_time64_to_tm(readl(ldata->base + RTC_DR), tm); in pl031_read_time() 265 rtc_time64_to_tm(readl(ldata->base + RTC_MR), &alarm->time); in pl031_read_alarm()
|
H A D | rtc-rk808.c | 77 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()
|
H A D | rtc-au1xxx.c | 34 rtc_time64_to_tm(t, tm); in au1xtoy_rtc_read_time()
|
H A 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()
|
H A D | rtc-tps6586x.c | 77 rtc_time64_to_tm(seconds, tm); in tps6586x_rtc_read_time() 201 rtc_time64_to_tm(seconds, &alrm->time); in tps6586x_rtc_read_alarm()
|
H A D | rtc-mpfs.c | 93 rtc_time64_to_tm(time, tm); in mpfs_rtc_readtime() 136 rtc_time64_to_tm(time, &alrm->time); in mpfs_rtc_readalarm()
|
/openbmc/linux/arch/powerpc/platforms/powermac/ |
H A D | time.c | 124 rtc_time64_to_tm(cuda_get_time(), tm); in pmac_get_rtc_time() 129 rtc_time64_to_tm(pmu_get_time(), tm); in pmac_get_rtc_time()
|
/openbmc/linux/arch/um/drivers/ |
H A D | rtc_kern.c | 39 rtc_time64_to_tm(timespec64_to_ktime(ts) / NSEC_PER_SEC, tm); in uml_rtc_read_time() 46 rtc_time64_to_tm(uml_rtc_alarm_time, &alrm->time); in uml_rtc_read_alarm()
|
/openbmc/linux/arch/sh/boards/mach-dreamcast/ |
H A D | rtc.c | 49 rtc_time64_to_tm(t, tm); in aica_rtc_gettimeofday()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | rtc.c | 42 rtc_time64_to_tm(nowtime, &tm); in mach_set_cmos_time()
|