/Linux-v5.4/drivers/rtc/ |
D | lib.c | 115 time64_t rtc_tm_to_time64(struct rtc_time *tm) in rtc_tm_to_time64() function 120 EXPORT_SYMBOL(rtc_tm_to_time64); 127 return ktime_set(rtc_tm_to_time64(&tm), 0); in rtc_tm_to_ktime()
|
D | interface.c | 30 secs = rtc_tm_to_time64(tm); in rtc_add_offset() 53 secs = rtc_tm_to_time64(tm); in rtc_subtract_offset() 70 time64_t time = rtc_tm_to_time64(tm); in rtc_valid_range() 121 trace_rtc_read_time(rtc_tm_to_time64(tm), err); in rtc_read_time() 156 trace_rtc_set_time(rtc_tm_to_time64(tm), err); in rtc_set_time() 191 trace_rtc_read_alarm(rtc_tm_to_time64(&alarm->time), err); in rtc_read_alarm_internal() 310 t_now = rtc_tm_to_time64(&now); in __rtc_read_alarm() 311 t_alm = rtc_tm_to_time64(&alarm->time); in __rtc_read_alarm() 387 trace_rtc_read_alarm(rtc_tm_to_time64(&alarm->time), err); in rtc_read_alarm() 402 scheduled = rtc_tm_to_time64(&alarm->time); in __rtc_set_alarm() [all …]
|
D | sysfs.c | 69 time = rtc_tm_to_time64(&tm); in since_epoch_show() 140 alarm = rtc_tm_to_time64(&alm.time); in wakealarm_show() 165 now = rtc_tm_to_time64(&alm.time); in wakealarm_store() 192 push = rtc_tm_to_time64(&alm.time); in wakealarm_store()
|
D | rtc-cmos.c | 390 t_max_date = rtc_tm_to_time64(&now); in cmos_validate_alarm() 392 t_alrm = rtc_tm_to_time64(&t->time); in cmos_validate_alarm() 414 t_max_date = rtc_tm_to_time64(&max_date); in cmos_validate_alarm() 416 t_alrm = rtc_tm_to_time64(&t->time); in cmos_validate_alarm() 433 t_max_date = rtc_tm_to_time64(&max_date); in cmos_validate_alarm() 435 t_alrm = rtc_tm_to_time64(&t->time); in cmos_validate_alarm() 507 cmos->alarm_expires = rtc_tm_to_time64(&t->time); in cmos_set_alarm() 952 t_now = rtc_tm_to_time64(&now); in cmos_aie_poweroff() 1045 t_now = rtc_tm_to_time64(&now); in cmos_check_wkalrm() 1057 t_current_expires = rtc_tm_to_time64(¤t_alarm.time); in cmos_check_wkalrm() [all …]
|
D | rtc-ab-b5ze-s3.c | 327 rtc_secs = rtc_tm_to_time64(&rtc_tm); in _abb5zes3_rtc_read_timer() 386 rtc_secs = rtc_tm_to_time64(&rtc_tm); in _abb5zes3_rtc_read_alarm() 387 alarm_secs = rtc_tm_to_time64(alarm_tm); in _abb5zes3_rtc_read_alarm() 467 rtc_secs = rtc_tm_to_time64(&rtc_tm); in _abb5zes3_rtc_set_alarm() 468 alarm_secs = rtc_tm_to_time64(alarm_tm); in _abb5zes3_rtc_set_alarm() 553 rtc_secs = rtc_tm_to_time64(&rtc_tm); in abb5zes3_rtc_set_alarm() 554 alarm_secs = rtc_tm_to_time64(alarm_tm); in abb5zes3_rtc_set_alarm()
|
D | rtc-88pm80x.c | 89 now_time = rtc_tm_to_time64(now); in rtc_next_alarm_time() 90 next_time = rtc_tm_to_time64(next); in rtc_next_alarm_time() 126 ticks = rtc_tm_to_time64(tm); in pm80x_rtc_set_time() 197 ticks = rtc_tm_to_time64(&alarm_tm); in pm80x_rtc_set_alarm()
|
D | rtc-st-lpc.c | 109 secs = rtc_tm_to_time64(tm); in st_rtc_set_time() 162 now_secs = rtc_tm_to_time64(&now); in st_rtc_set_alarm() 163 alarm_secs = rtc_tm_to_time64(&t->time); in st_rtc_set_alarm()
|
D | rtc-pcap.c | 62 unsigned long secs = rtc_tm_to_time64(&alrm->time); in pcap_rtc_set_alarm() 94 unsigned long secs = rtc_tm_to_time64(tm); in pcap_rtc_set_time()
|
D | rtc-test.c | 44 timeout = rtc_tm_to_time64(&alrm->time) - ktime_get_real_seconds(); in test_rtc_set_alarm() 77 rtd->offset = rtc_tm_to_time64(tm) - ktime_get_real_seconds(); in test_rtc_set_time()
|
D | rtc-ab3100.c | 51 u64 hw_counter = rtc_tm_to_time64(tm) * AB3100_RTC_CLOCK_RATE * 2; in ab3100_rtc_set_time() 154 secs = rtc_tm_to_time64(&alarm->time); in ab3100_rtc_set_alarm()
|
D | rtc-wm831x.c | 177 time = rtc_tm_to_time64(tm); in wm831x_rtc_settime() 216 new_time = rtc_tm_to_time64(&new_tm); in wm831x_rtc_settime() 285 time = rtc_tm_to_time64(&alrm->time); in wm831x_rtc_setalarm()
|
D | rtc-goldfish.c | 73 rtc_alarm64 = rtc_tm_to_time64(&alrm->time) * NSEC_PER_SEC; in goldfish_rtc_set_alarm() 150 now64 = rtc_tm_to_time64(tm) * NSEC_PER_SEC; in goldfish_rtc_set_time()
|
D | hctosys.c | 46 tv64.tv_sec = rtc_tm_to_time64(&tm); in rtc_hctosys()
|
D | rtc-digicolor.c | 109 return dc_rtc_write(rtc, rtc_tm_to_time64(tm)); in dc_rtc_set_time() 139 alarm_time = rtc_tm_to_time64(&alarm->time); in dc_rtc_set_alarm()
|
D | rtc-ps3.c | 37 ps3_os_area_set_rtc_diff(rtc_tm_to_time64(tm) - read_rtc()); in ps3_set_time()
|
D | rtc-sun4v.c | 69 return hypervisor_set_time(rtc_tm_to_time64(tm)); in sun4v_set_time()
|
D | rtc-xgene.c | 60 writel((u32)rtc_tm_to_time64(tm), pdata->csr_base + RTC_CLR); in xgene_rtc_set_time() 106 writel((u32)rtc_tm_to_time64(&alrm->time), pdata->csr_base + RTC_CMR); in xgene_rtc_set_alarm()
|
D | rtc-zynqmp.c | 60 new_time = rtc_tm_to_time64(tm) + 1; in xlnx_rtc_set_time() 140 alarm_time = rtc_tm_to_time64(&alrm->time); in xlnx_rtc_set_alarm()
|
D | rtc-brcmstb-waketimer.c | 138 sec = rtc_tm_to_time64(tm); in brcmstb_waketmr_settime() 172 sec = rtc_tm_to_time64(&alarm->time); in brcmstb_waketmr_setalarm()
|
D | rtc-coh901331.c | 98 writel(rtc_tm_to_time64(tm), rtap->virtbase + COH901331_SET_TIME); in coh901331_set_time() 120 unsigned long time = rtc_tm_to_time64(&alarm->time); in coh901331_set_alarm()
|
D | rtc-vr41xx.c | 126 current_sec = rtc_tm_to_time64(time); in vr41xx_rtc_set_time() 156 alarm_sec = rtc_tm_to_time64(&wkalrm->time); in vr41xx_rtc_set_alarm()
|
D | rtc-tps6586x.c | 102 seconds = rtc_tm_to_time64(tm); in tps6586x_rtc_set_time() 160 seconds = rtc_tm_to_time64(&alrm->time); in tps6586x_rtc_set_alarm()
|
/Linux-v5.4/include/linux/ |
D | rtc.h | 24 extern time64_t rtc_tm_to_time64(struct rtc_time *tm); 34 return rtc_tm_to_time64(lhs) - rtc_tm_to_time64(rhs); in rtc_tm_sub() 44 *time = rtc_tm_to_time64(tm); in rtc_tm_to_time()
|
/Linux-v5.4/arch/sh/boards/mach-dreamcast/ |
D | rtc.c | 64 time64_t secs = rtc_tm_to_time64(tm); in aica_rtc_settimeofday()
|
/Linux-v5.4/arch/powerpc/platforms/powernv/ |
D | opal-rtc.c | 60 return rtc_tm_to_time64(&tm); in opal_get_boot_time()
|