arch/mips/include/asm/mc146818-time.h
24
return rtc_tm_to_time64(&tm);
arch/parisc/kernel/time.c
151
time64_t secs = rtc_tm_to_time64(tm);
arch/powerpc/kernel/time.c
821
ts->tv_sec = rtc_tm_to_time64(&tm);
arch/powerpc/platforms/8xx/m8xx_setup.c
142
time = rtc_tm_to_time64(tm);
arch/powerpc/platforms/powermac/time.c
93
return rtc_tm_to_time64(&tm);
arch/powerpc/platforms/powernv/opal-rtc.c
61
return rtc_tm_to_time64(&tm);
arch/sh/boards/mach-dreamcast/rtc.c
64
time64_t secs = rtc_tm_to_time64(tm);
arch/um/drivers/rtc_kern.c
88
uml_rtc_alarm_time = rtc_tm_to_time64(&alrm->time);
arch/x86/kernel/rtc.c
75
now->tv_sec = rtc_tm_to_time64(&tm);
drivers/acpi/acpi_tad.c
683
value = rtc_tm_to_time64(&t->time) - rtc_tm_to_time64(&tm_now);
drivers/acpi/acpi_tad.c
747
rtc_time64_to_tm(rtc_tm_to_time64(&tm_now) + retval, &t->time);
drivers/macintosh/via-cuda.c
793
now = lower_32_bits(rtc_tm_to_time64(tm) + RTC_OFFSET);
drivers/macintosh/via-pmu.c
1750
now = lower_32_bits(rtc_tm_to_time64(tm) + RTC_OFFSET);
drivers/platform/cznic/turris-omnia-mcu-sys-off-wakeup.c
84
mcu->rtc_alarm = rtc_tm_to_time64(&alrm->time);
drivers/platform/x86/amd/pmc/pmc.c
683
then = rtc_tm_to_time64(&alarm.time);
drivers/platform/x86/amd/pmc/pmc.c
684
now = rtc_tm_to_time64(&tm);
drivers/rtc/class.c
121
old_rtc.tv_sec = rtc_tm_to_time64(&tm);
drivers/rtc/class.c
168
new_rtc.tv_sec = rtc_tm_to_time64(&tm);
drivers/rtc/class.c
73
tv64.tv_sec = rtc_tm_to_time64(&tm);
drivers/rtc/dev.c
308
now = rtc_tm_to_time64(&tm);
drivers/rtc/dev.c
316
then = rtc_tm_to_time64(&alarm.time);
drivers/rtc/interface.c
121
trace_rtc_read_time(rtc_tm_to_time64(tm), err);
drivers/rtc/interface.c
173
trace_rtc_set_time(rtc_tm_to_time64(tm), err);
drivers/rtc/interface.c
208
trace_rtc_read_alarm(err?0:rtc_tm_to_time64(&alarm->time), err);
drivers/rtc/interface.c
30
secs = rtc_tm_to_time64(tm);
drivers/rtc/interface.c
326
t_now = rtc_tm_to_time64(&now);
drivers/rtc/interface.c
327
t_alm = rtc_tm_to_time64(&alarm->time);
drivers/rtc/interface.c
445
trace_rtc_read_alarm(rtc_tm_to_time64(&alarm->time), err);
drivers/rtc/interface.c
460
scheduled = rtc_tm_to_time64(&alarm->time);
drivers/rtc/interface.c
466
now = rtc_tm_to_time64(&tm);
drivers/rtc/interface.c
504
now = rtc_tm_to_time64(&tm);
drivers/rtc/interface.c
509
trace_rtc_set_alarm(rtc_tm_to_time64(&alarm->time), err);
drivers/rtc/interface.c
53
secs = rtc_tm_to_time64(tm);
drivers/rtc/interface.c
70
time64_t time = rtc_tm_to_time64(tm);
drivers/rtc/lib.c
185
EXPORT_SYMBOL(rtc_tm_to_time64);
drivers/rtc/lib.c
192
return ktime_set(rtc_tm_to_time64(&tm), 0);
drivers/rtc/rtc-88pm80x.c
126
ticks = rtc_tm_to_time64(tm);
drivers/rtc/rtc-88pm80x.c
197
ticks = rtc_tm_to_time64(&alarm_tm);
drivers/rtc/rtc-88pm80x.c
89
now_time = rtc_tm_to_time64(now);
drivers/rtc/rtc-88pm80x.c
90
next_time = rtc_tm_to_time64(next);
drivers/rtc/rtc-88pm860x.c
109
ticks = rtc_tm_to_time64(tm);
drivers/rtc/rtc-88pm860x.c
169
ticks = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-88pm886.c
45
buf = rtc_tm_to_time64(tm) - buf;
drivers/rtc/rtc-ab-b5ze-s3.c
327
rtc_secs = rtc_tm_to_time64(&rtc_tm);
drivers/rtc/rtc-ab-b5ze-s3.c
386
rtc_secs = rtc_tm_to_time64(&rtc_tm);
drivers/rtc/rtc-ab-b5ze-s3.c
387
alarm_secs = rtc_tm_to_time64(alarm_tm);
drivers/rtc/rtc-ab-b5ze-s3.c
467
rtc_secs = rtc_tm_to_time64(&rtc_tm);
drivers/rtc/rtc-ab-b5ze-s3.c
468
alarm_secs = rtc_tm_to_time64(alarm_tm);
drivers/rtc/rtc-ab-b5ze-s3.c
553
rtc_secs = rtc_tm_to_time64(&rtc_tm);
drivers/rtc/rtc-ab-b5ze-s3.c
554
alarm_secs = rtc_tm_to_time64(alarm_tm);
drivers/rtc/rtc-ab8500.c
113
secs = rtc_tm_to_time64(tm);
drivers/rtc/rtc-ab8500.c
189
mins = (unsigned long)rtc_tm_to_time64(&alarm->time) / 60;
drivers/rtc/rtc-amlogic-a4.c
124
time_sec = rtc_tm_to_time64(tm);
drivers/rtc/rtc-amlogic-a4.c
147
alarm_sec = rtc_tm_to_time64(&alarm->time);
drivers/rtc/rtc-armada38x.c
248
time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-armada38x.c
288
time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-at91sam9.c
138
secs = rtc_tm_to_time64(tm);
drivers/rtc/rtc-at91sam9.c
207
secs = rtc_tm_to_time64(tm);
drivers/rtc/rtc-atcrtc100.c
192
time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-au1xxx.c
43
t = rtc_tm_to_time64(tm);
drivers/rtc/rtc-brcmstb-waketimer.c
205
sec = rtc_tm_to_time64(tm);
drivers/rtc/rtc-brcmstb-waketimer.c
258
timer->rtc_alarm = rtc_tm_to_time64(&alarm->time);
drivers/rtc/rtc-cmos.c
1214
t_now = rtc_tm_to_time64(&now);
drivers/rtc/rtc-cmos.c
1308
t_now = rtc_tm_to_time64(&now);
drivers/rtc/rtc-cmos.c
1321
t_current_expires = rtc_tm_to_time64(¤t_alarm.time);
drivers/rtc/rtc-cmos.c
1322
t_saved_expires = rtc_tm_to_time64(&cmos->saved_wkalrm.time);
drivers/rtc/rtc-cmos.c
418
t_max_date = rtc_tm_to_time64(&now);
drivers/rtc/rtc-cmos.c
420
t_alrm = rtc_tm_to_time64(&t->time);
drivers/rtc/rtc-cmos.c
442
t_max_date = rtc_tm_to_time64(&max_date);
drivers/rtc/rtc-cmos.c
444
t_alrm = rtc_tm_to_time64(&t->time);
drivers/rtc/rtc-cmos.c
461
t_max_date = rtc_tm_to_time64(&max_date);
drivers/rtc/rtc-cmos.c
463
t_alrm = rtc_tm_to_time64(&t->time);
drivers/rtc/rtc-cmos.c
563
cmos->alarm_expires = rtc_tm_to_time64(&t->time);
drivers/rtc/rtc-cpcap.c
65
time = rtc_tm_to_time64(rtc);
drivers/rtc/rtc-cros-ec.c
157
alarm_time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-cros-ec.c
95
time64_t time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-cv1800.c
127
sec = rtc_tm_to_time64(tm);
drivers/rtc/rtc-cv1800.c
74
alarm_time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-da9052.c
106
alm_time = rtc_tm_to_time64(rtc_tm);
drivers/rtc/rtc-da9063.c
234
tm_secs = rtc_tm_to_time64(tm);
drivers/rtc/rtc-da9063.c
235
al_secs = rtc_tm_to_time64(&rtc->alarm_time);
drivers/rtc/rtc-digicolor.c
109
return dc_rtc_write(rtc, rtc_tm_to_time64(tm));
drivers/rtc/rtc-digicolor.c
139
alarm_time = rtc_tm_to_time64(&alarm->time);
drivers/rtc/rtc-ds1305.c
328
later = rtc_tm_to_time64(&alm->time);
drivers/rtc/rtc-ds1305.c
334
now = rtc_tm_to_time64(&tm);
drivers/rtc/rtc-ds1307.c
790
days_now = div_s64(rtc_tm_to_time64(&tm_now), 24 * 60 * 60);
drivers/rtc/rtc-ds1307.c
791
days_alarm = div_s64(rtc_tm_to_time64(tm_alarm), 24 * 60 * 60);
drivers/rtc/rtc-ds1374.c
175
unsigned long itime = rtc_tm_to_time64(time);
drivers/rtc/rtc-ds1374.c
239
new_alarm = rtc_tm_to_time64(&alarm->time);
drivers/rtc/rtc-ds1374.c
240
itime = rtc_tm_to_time64(&now);
drivers/rtc/rtc-ds1672.c
86
unsigned long secs = rtc_tm_to_time64(tm);
drivers/rtc/rtc-ds2404.c
171
u32 time = cpu_to_le32(rtc_tm_to_time64(dt));
drivers/rtc/rtc-ep93xx.c
65
unsigned long secs = rtc_tm_to_time64(tm);
drivers/rtc/rtc-fsl-ftm-alarm.c
210
alm_time = rtc_tm_to_time64(&alm->time);
drivers/rtc/rtc-ftrtc010.c
88
time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-gamecube.c
185
timestamp = rtc_tm_to_time64(t);
drivers/rtc/rtc-goldfish.c
141
now64 = rtc_tm_to_time64(tm) * NSEC_PER_SEC;
drivers/rtc/rtc-goldfish.c
63
rtc_alarm64 = rtc_tm_to_time64(&alrm->time) * NSEC_PER_SEC;
drivers/rtc/rtc-imx-sm-bbm.c
42
val = rtc_tm_to_time64(tm);
drivers/rtc/rtc-imx-sm-bbm.c
66
val = rtc_tm_to_time64(alrm_tm);
drivers/rtc/rtc-imxdi.c
582
rc = di_write_wait(imxdi, rtc_tm_to_time64(tm), DTCMR);
drivers/rtc/rtc-imxdi.c
637
rc = di_write_wait(imxdi, rtc_tm_to_time64(&alarm->time), DCAMR);
drivers/rtc/rtc-isl1208.c
619
(unsigned long long)rtc_tm_to_time64(&tm));
drivers/rtc/rtc-jz4740.c
176
ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC, rtc_tm_to_time64(time));
drivers/rtc/rtc-jz4740.c
205
uint32_t secs = lower_32_bits(rtc_tm_to_time64(&alrm->time));
drivers/rtc/rtc-lpc32xx.c
106
alarmsecs = rtc_tm_to_time64(&wkalrm->time);
drivers/rtc/rtc-lpc32xx.c
69
u32 secs = rtc_tm_to_time64(time);
drivers/rtc/rtc-m41t80.c
245
time = rtc_tm_to_time64(&tm);
drivers/rtc/rtc-macsmc.c
76
off = (rtc_tm_to_time64(tm) << RTC_SEC_SHIFT) - ctr;
drivers/rtc/rtc-mc13xxx.c
206
s1970 = rtc_tm_to_time64(&alarm->time);
drivers/rtc/rtc-mc13xxx.c
95
days = div_s64_rem(rtc_tm_to_time64(tm), SEC_PER_DAY, &seconds);
drivers/rtc/rtc-mcp795.c
273
now = rtc_tm_to_time64(&now_tm);
drivers/rtc/rtc-mcp795.c
274
later = rtc_tm_to_time64(&alm->time);
drivers/rtc/rtc-meson-vrtc.c
43
vrtc->alarm_time = rtc_tm_to_time64(&alarm->time);
drivers/rtc/rtc-meson.c
246
return regmap_write(rtc->serial, RTC_COUNTER, rtc_tm_to_time64(tm));
drivers/rtc/rtc-mpc5121.c
133
now = rtc_tm_to_time64(tm);
drivers/rtc/rtc-mpfs.c
105
time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-mpfs.c
152
time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-msc313.c
137
seconds = rtc_tm_to_time64(tm);
drivers/rtc/rtc-msc313.c
84
seconds = rtc_tm_to_time64(&alarm->time);
drivers/rtc/rtc-mxc.c
158
time = rtc_tm_to_time64(alrm);
drivers/rtc/rtc-mxc.c
243
time64_t time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-mxc_v2.c
165
time64_t time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-mxc_v2.c
239
const time64_t time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-nvidia-vrs10.c
227
secs = rtc_tm_to_time64(tm);
drivers/rtc/rtc-nvidia-vrs10.c
313
secs = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-nxp-bbnsm.c
125
unsigned long time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-nxp-bbnsm.c
81
unsigned long time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-omap.c
432
now = rtc_tm_to_time64(&tm);
drivers/rtc/rtc-pcf2127.c
743
*ts = rtc_tm_to_time64(&tm);
drivers/rtc/rtc-pl030.c
46
writel(rtc_tm_to_time64(&alrm->time), rtc->base + RTC_MR);
drivers/rtc/rtc-pl030.c
72
writel(rtc_tm_to_time64(tm) + 1, rtc->base + RTC_LR);
drivers/rtc/rtc-pl031.c
132
rtc_time64_to_tm(rtc_tm_to_time64(tm), &calc_tm);
drivers/rtc/rtc-pl031.c
258
writel(rtc_tm_to_time64(tm), ldata->base + RTC_LR);
drivers/rtc/rtc-pl031.c
279
writel(rtc_tm_to_time64(&alarm->time), ldata->base + RTC_MR);
drivers/rtc/rtc-pm8xxx.c
351
secs = rtc_tm_to_time64(tm);
drivers/rtc/rtc-pm8xxx.c
392
secs = rtc_tm_to_time64(&alarm->time);
drivers/rtc/rtc-ps3.c
37
ps3_os_area_set_rtc_diff(rtc_tm_to_time64(tm) - read_rtc());
drivers/rtc/rtc-renesas-rtca3.c
834
alarm_time = rtc_tm_to_time64(&alarm.time);
drivers/rtc/rtc-renesas-rtca3.c
835
now = rtc_tm_to_time64(&tm);
drivers/rtc/rtc-rk808.c
76
time64_t time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-rk808.c
83
time64_t time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-rv3028.c
151
(unsigned long long)rtc_tm_to_time64(&tm));
drivers/rtc/rtc-rv3028.c
406
time64_t alarm_time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-rv8803.c
400
time64_t alarm_time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-rzn1.c
248
alarm = rtc_tm_to_time64(tm) + (delta_days * 86400);
drivers/rtc/rtc-rzn1.c
271
farest = rtc_tm_to_time64(&tm_now) + rtc->rtcdev->alarm_offset_max;
drivers/rtc/rtc-rzn1.c
272
alarm = rtc_tm_to_time64(tm);
drivers/rtc/rtc-s32g.c
154
alrm_time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-sa1100.c
120
writel_relaxed(rtc_tm_to_time64(tm), info->rcnr);
drivers/rtc/rtc-sa1100.c
143
writel_relaxed(rtc_tm_to_time64(&alrm->time), info->rtar);
drivers/rtc/rtc-sc27xx.c
305
time64_t secs = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-sc27xx.c
354
time64_t secs = rtc_tm_to_time64(tm);
drivers/rtc/rtc-sc27xx.c
417
time64_t secs = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-snvs.c
181
unsigned long time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-snvs.c
249
unsigned long time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-ssd202d.c
191
unsigned long seconds = rtc_tm_to_time64(tm);
drivers/rtc/rtc-st-lpc.c
108
secs = rtc_tm_to_time64(tm);
drivers/rtc/rtc-st-lpc.c
161
now_secs = rtc_tm_to_time64(&now);
drivers/rtc/rtc-st-lpc.c
162
alarm_secs = rtc_tm_to_time64(&t->time);
drivers/rtc/rtc-stm32.c
720
max_alarm_time64 = rtc_tm_to_time64(&now) + max_day_forward * SEC_PER_DAY;
drivers/rtc/rtc-stm32.c
721
return rtc_tm_to_time64(tm) <= max_alarm_time64 ? 0 : -EINVAL;
drivers/rtc/rtc-stmp3xxx.c
164
writel(rtc_tm_to_time64(rtc_tm), rtc_data->io + STMP3XXX_RTC_SECONDS);
drivers/rtc/rtc-stmp3xxx.c
218
writel(rtc_tm_to_time64(&alm->time), rtc_data->io + STMP3XXX_RTC_ALARM);
drivers/rtc/rtc-sun4v.c
69
return hypervisor_set_time(rtc_tm_to_time64(tm));
drivers/rtc/rtc-sun6i.c
529
time_set = rtc_tm_to_time64(alrm_tm);
drivers/rtc/rtc-sun6i.c
540
counter_val = div_u64(rtc_tm_to_time64(alrm_tm), SECS_PER_DAY);
drivers/rtc/rtc-sun6i.c
551
time_now = rtc_tm_to_time64(&tm_now);
drivers/rtc/rtc-sun6i.c
610
date = div_u64(rtc_tm_to_time64(rtc_tm), SECS_PER_DAY);
drivers/rtc/rtc-sunplus.c
105
alarm_time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-sunplus.c
93
secs = rtc_tm_to_time64(tm);
drivers/rtc/rtc-tegra.c
132
sec = rtc_tm_to_time64(tm);
drivers/rtc/rtc-tegra.c
198
sec = rtc_tm_to_time64(&alarm->time);
drivers/rtc/rtc-test.c
44
timeout = rtc_tm_to_time64(&alrm->time) - ktime_get_real_seconds();
drivers/rtc/rtc-test.c
76
rtd->offset = rtc_tm_to_time64(tm) - ktime_get_real_seconds();
drivers/rtc/rtc-ti-k3.c
282
seconds = rtc_tm_to_time64(tm);
drivers/rtc/rtc-ti-k3.c
336
seconds = rtc_tm_to_time64(&alarm->time);
drivers/rtc/rtc-tps6586x.c
148
seconds = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-tps6586x.c
90
seconds = rtc_tm_to_time64(tm);
drivers/rtc/rtc-wm831x.c
177
time = rtc_tm_to_time64(tm);
drivers/rtc/rtc-wm831x.c
216
new_time = rtc_tm_to_time64(&new_tm);
drivers/rtc/rtc-wm831x.c
285
time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-xgene.c
105
writel((u32)rtc_tm_to_time64(&alrm->time), pdata->csr_base + RTC_CMR);
drivers/rtc/rtc-xgene.c
59
writel((u32)rtc_tm_to_time64(tm), pdata->csr_base + RTC_CLR);
drivers/rtc/rtc-zynqmp.c
157
alarm_time = rtc_tm_to_time64(&alrm->time);
drivers/rtc/rtc-zynqmp.c
67
new_time = rtc_tm_to_time64(tm) + 1;
drivers/rtc/sysfs.c
142
return sysfs_emit(buf, "%lld\n", rtc_tm_to_time64(&alm.time));
drivers/rtc/sysfs.c
165
now = rtc_tm_to_time64(&alm.time);
drivers/rtc/sysfs.c
192
push = rtc_tm_to_time64(&alm.time);
drivers/rtc/sysfs.c
70
return sysfs_emit(buf, "%lld\n", rtc_tm_to_time64(&tm));
drivers/virtio/virtio_rtc_class.c
137
alarm_time_sec = rtc_tm_to_time64(&alrm->time);
include/linux/rtc.h
24
extern time64_t rtc_tm_to_time64(struct rtc_time *tm);
include/linux/rtc.h
34
return rtc_tm_to_time64(lhs) - rtc_tm_to_time64(rhs);
kernel/power/suspend_test.c
84
now = rtc_tm_to_time64(&alm.time);