Home
last modified time | relevance | path

Searched refs:rtc_tm_to_time64 (Results 1 – 25 of 85) sorted by relevance

1234

/linux-6.6.21/drivers/rtc/
Dinterface.c30 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 …]
Dlib.c168 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()
Dsysfs.c70 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()
Drtc-cmos.c417 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(&current_alarm.time); in cmos_check_wkalrm()
[all …]
Drtc-ab-b5ze-s3.c327 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()
Drtc-88pm80x.c89 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()
Drtc-pl030.c47 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()
Drtc-st-lpc.c108 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()
Drtc-rzn1.c84 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()
Drtc-test.c44 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()
Drtc-pcap.c62 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()
Drtc-goldfish.c63 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()
Drtc-wm831x.c177 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()
Dclass.c74 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()
Drtc-nxp-bbnsm.c81 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()
Drtc-digicolor.c109 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()
Drtc-pl031.c130 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()
Drtc-ps3.c37 ps3_os_area_set_rtc_diff(rtc_tm_to_time64(tm) - read_rtc()); in ps3_set_time()
Drtc-xgene.c59 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()
Drtc-msc313.c85 seconds = rtc_tm_to_time64(&alarm->time); in msc313_rtc_set_alarm()
138 seconds = rtc_tm_to_time64(tm); in msc313_rtc_set_time()
Drtc-sun4v.c69 return hypervisor_set_time(rtc_tm_to_time64(tm)); in sun4v_set_time()
Drtc-au1xxx.c43 t = rtc_tm_to_time64(tm); in au1xtoy_rtc_set_time()
/linux-6.6.21/include/linux/
Drtc.h24 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/
Drtc.c64 time64_t secs = rtc_tm_to_time64(tm); in aica_rtc_settimeofday()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dopal-rtc.c61 return rtc_tm_to_time64(&tm); in opal_get_boot_time()

1234