/linux-6.6.21/drivers/rtc/ |
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() 173 trace_rtc_set_time(rtc_tm_to_time64(tm), err); in rtc_set_time() 208 trace_rtc_read_alarm(rtc_tm_to_time64(&alarm->time), err); in rtc_read_alarm_internal() 327 t_now = rtc_tm_to_time64(&now); in __rtc_read_alarm() 328 t_alm = rtc_tm_to_time64(&alarm->time); in __rtc_read_alarm() 404 trace_rtc_read_alarm(rtc_tm_to_time64(&alarm->time), err); in rtc_read_alarm() 419 scheduled = rtc_tm_to_time64(&alarm->time); in __rtc_set_alarm() [all …]
|
D | lib.c | 168 time64_t rtc_tm_to_time64(struct rtc_time *tm) in rtc_tm_to_time64() function 173 EXPORT_SYMBOL(rtc_tm_to_time64); 180 return ktime_set(rtc_tm_to_time64(&tm), 0); in rtc_tm_to_ktime()
|
D | sysfs.c | 70 time = rtc_tm_to_time64(&tm); in since_epoch_show() 144 alarm = rtc_tm_to_time64(&alm.time); in wakealarm_show() 169 now = rtc_tm_to_time64(&alm.time); in wakealarm_store() 196 push = rtc_tm_to_time64(&alm.time); in wakealarm_store()
|
D | rtc-cmos.c | 417 t_max_date = rtc_tm_to_time64(&now); in cmos_validate_alarm() 419 t_alrm = rtc_tm_to_time64(&t->time); in cmos_validate_alarm() 441 t_max_date = rtc_tm_to_time64(&max_date); in cmos_validate_alarm() 443 t_alrm = rtc_tm_to_time64(&t->time); in cmos_validate_alarm() 460 t_max_date = rtc_tm_to_time64(&max_date); in cmos_validate_alarm() 462 t_alrm = rtc_tm_to_time64(&t->time); in cmos_validate_alarm() 562 cmos->alarm_expires = rtc_tm_to_time64(&t->time); in cmos_set_alarm() 1205 t_now = rtc_tm_to_time64(&now); in cmos_aie_poweroff() 1299 t_now = rtc_tm_to_time64(&now); in cmos_check_wkalrm() 1314 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-pl030.c | 47 writel(rtc_tm_to_time64(&alrm->time), rtc->base + RTC_MR); in pl030_set_alarm() 73 writel(rtc_tm_to_time64(tm) + 1, rtc->base + RTC_LR); in pl030_set_time()
|
D | rtc-st-lpc.c | 108 secs = rtc_tm_to_time64(tm); in st_rtc_set_time() 161 now_secs = rtc_tm_to_time64(&now); in st_rtc_set_alarm() 162 alarm_secs = rtc_tm_to_time64(&t->time); in st_rtc_set_alarm()
|
D | rtc-rzn1.c | 84 time = rtc_tm_to_time64(tm); in rzn1_rtc_tm_to_wday() 207 alarm = rtc_tm_to_time64(tm) + (delta_days * 86400); in rzn1_rtc_read_alarm() 230 farest = rtc_tm_to_time64(&tm_now) + rtc->rtcdev->alarm_offset_max; in rzn1_rtc_set_alarm() 231 alarm = rtc_tm_to_time64(tm); in rzn1_rtc_set_alarm()
|
D | rtc-test.c | 44 timeout = rtc_tm_to_time64(&alrm->time) - ktime_get_real_seconds(); in test_rtc_set_alarm() 76 rtd->offset = rtc_tm_to_time64(tm) - ktime_get_real_seconds(); in test_rtc_set_time()
|
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-goldfish.c | 63 rtc_alarm64 = rtc_tm_to_time64(&alrm->time) * NSEC_PER_SEC; in goldfish_rtc_set_alarm() 141 now64 = rtc_tm_to_time64(tm) * NSEC_PER_SEC; in goldfish_rtc_set_time()
|
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 | class.c | 74 tv64.tv_sec = rtc_tm_to_time64(&tm); in rtc_hctosys() 122 old_rtc.tv_sec = rtc_tm_to_time64(&tm); in rtc_suspend() 169 new_rtc.tv_sec = rtc_tm_to_time64(&tm); in rtc_resume()
|
D | rtc-nxp-bbnsm.c | 81 unsigned long time = rtc_tm_to_time64(tm); in bbnsm_rtc_set_time() 125 unsigned long time = rtc_tm_to_time64(&alrm->time); in bbnsm_rtc_set_alarm()
|
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-pl031.c | 130 rtc_time64_to_tm(rtc_tm_to_time64(tm), &calc_tm); in pl031_stv2_tm_to_time() 256 writel(rtc_tm_to_time64(tm), ldata->base + RTC_LR); in pl031_set_time() 277 writel(rtc_tm_to_time64(&alarm->time), ldata->base + RTC_MR); in pl031_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-xgene.c | 59 writel((u32)rtc_tm_to_time64(tm), pdata->csr_base + RTC_CLR); in xgene_rtc_set_time() 105 writel((u32)rtc_tm_to_time64(&alrm->time), pdata->csr_base + RTC_CMR); in xgene_rtc_set_alarm()
|
D | rtc-msc313.c | 85 seconds = rtc_tm_to_time64(&alarm->time); in msc313_rtc_set_alarm() 138 seconds = rtc_tm_to_time64(tm); in msc313_rtc_set_time()
|
D | rtc-sun4v.c | 69 return hypervisor_set_time(rtc_tm_to_time64(tm)); in sun4v_set_time()
|
D | rtc-au1xxx.c | 43 t = rtc_tm_to_time64(tm); in au1xtoy_rtc_set_time()
|
/linux-6.6.21/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()
|
/linux-6.6.21/arch/sh/boards/mach-dreamcast/ |
D | rtc.c | 64 time64_t secs = rtc_tm_to_time64(tm); in aica_rtc_settimeofday()
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | opal-rtc.c | 61 return rtc_tm_to_time64(&tm); in opal_get_boot_time()
|