Symbol: rtc_time
arch/alpha/include/asm/machvec.h
25
struct rtc_time;
arch/alpha/kernel/rtc.c
109
alpha_rtc_set_time(struct device *dev, struct rtc_time *tm)
arch/alpha/kernel/rtc.c
111
struct rtc_time xtm;
arch/alpha/kernel/rtc.c
154
struct rtc_time *tm;
arch/alpha/kernel/rtc.c
166
remote_read_time(struct device *dev, struct rtc_time *tm)
arch/alpha/kernel/rtc.c
185
remote_set_time(struct device *dev, struct rtc_time *tm)
arch/alpha/kernel/rtc.c
81
alpha_rtc_read_time(struct device *dev, struct rtc_time *tm)
arch/m68k/68000/m68328.h
4
struct rtc_time;
arch/m68k/68000/m68328.h
5
int m68328_hwclk(int set, struct rtc_time *t);
arch/m68k/68000/timers.c
122
int m68328_hwclk(int set, struct rtc_time *t)
arch/m68k/apollo/config.c
181
int dn_dummy_hwclk(int op, struct rtc_time *t) {
arch/m68k/apollo/config.c
30
extern int dn_dummy_hwclk(int, struct rtc_time *);
arch/m68k/atari/atari.h
14
int atari_mste_hwclk(int op, struct rtc_time *t);
arch/m68k/atari/atari.h
15
int atari_tt_hwclk(int op, struct rtc_time *t);
arch/m68k/atari/atari.h
3
struct rtc_time;
arch/m68k/atari/time.c
142
int atari_mste_hwclk( int op, struct rtc_time *t )
arch/m68k/atari/time.c
201
int atari_tt_hwclk( int op, struct rtc_time *t )
arch/m68k/bvme6000/config.c
283
int bvme6000_hwclk(int op, struct rtc_time *t)
arch/m68k/bvme6000/config.c
39
extern int bvme6000_hwclk (int, struct rtc_time *);
arch/m68k/bvme6000/rtc.c
44
struct rtc_time wtime;
arch/m68k/bvme6000/rtc.c
54
memset(&wtime, 0, sizeof(struct rtc_time));
arch/m68k/bvme6000/rtc.c
73
struct rtc_time rtc_tm;
arch/m68k/bvme6000/rtc.c
80
if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time)))
arch/m68k/hp300/config.c
202
static int hp300_hwclk(int op, struct rtc_time *t)
arch/m68k/include/asm/machdep.h
11
struct rtc_time;
arch/m68k/include/asm/machdep.h
21
extern int (*mach_hwclk)(int, struct rtc_time*);
arch/m68k/kernel/time.c
100
static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm)
arch/m68k/kernel/time.c
67
int (*mach_hwclk) (int, struct rtc_time*);
arch/m68k/kernel/time.c
78
struct rtc_time time;
arch/m68k/kernel/time.c
94
static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm)
arch/m68k/mac/mac.h
12
int mac_hwclk(int op, struct rtc_time *t);
arch/m68k/mac/mac.h
3
struct rtc_time;
arch/m68k/mac/misc.c
293
static void via_set_rtc_time(struct rtc_time *tm)
arch/m68k/mac/misc.c
610
int mac_hwclk(int op, struct rtc_time *t)
arch/m68k/q40/config.c
203
static int q40_hwclk(int op, struct rtc_time *t)
arch/m68k/q40/config.c
38
static int q40_hwclk(int, struct rtc_time *);
arch/m68k/sun3/intersil.c
28
int sun3_hwclk(int set, struct rtc_time *t)
arch/m68k/sun3/sun3.h
14
int sun3_hwclk(int set, struct rtc_time *t);
arch/m68k/sun3/sun3.h
5
struct rtc_time;
arch/m68k/sun3x/time.c
40
int sun3x_hwclk(int set, struct rtc_time *t)
arch/m68k/sun3x/time.h
5
extern int sun3x_hwclk(int set, struct rtc_time *t);
arch/mips/include/asm/mc146818-time.h
17
struct rtc_time tm;
arch/mips/sibyte/swarm/rtc_m41t81.c
141
struct rtc_time tm;
arch/mips/sibyte/swarm/rtc_xicor1241.c
110
struct rtc_time tm;
arch/parisc/kernel/time.c
136
static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm)
arch/parisc/kernel/time.c
149
static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm)
arch/powerpc/include/asm/machdep.h
18
struct rtc_time;
arch/powerpc/include/asm/machdep.h
72
int (*set_rtc_time)(struct rtc_time *);
arch/powerpc/include/asm/machdep.h
73
void (*get_rtc_time)(struct rtc_time *);
arch/powerpc/include/asm/opal.h
340
struct rtc_time;
arch/powerpc/include/asm/rtas.h
454
struct rtc_time;
arch/powerpc/include/asm/rtas.h
456
void rtas_get_rtc_time(struct rtc_time *rtc_time);
arch/powerpc/include/asm/rtas.h
457
int rtas_set_rtc_time(struct rtc_time *rtc_time);
arch/powerpc/include/asm/smu.h
470
struct rtc_time;
arch/powerpc/include/asm/smu.h
471
extern int smu_get_rtc_time(struct rtc_time *time, int spinwait);
arch/powerpc/include/asm/smu.h
472
extern int smu_set_rtc_time(struct rtc_time *time, int spinwait);
arch/powerpc/kernel/rtas-proc.c
280
struct rtc_time tm;
arch/powerpc/kernel/rtas-proc.c
346
struct rtc_time tm;
arch/powerpc/kernel/rtas-rtc.c
47
void rtas_get_rtc_time(struct rtc_time *rtc_tm)
arch/powerpc/kernel/rtas-rtc.c
61
memset(rtc_tm, 0, sizeof(struct rtc_time));
arch/powerpc/kernel/rtas-rtc.c
86
int rtas_set_rtc_time(struct rtc_time *tm)
arch/powerpc/kernel/time.c
1025
static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm)
arch/powerpc/kernel/time.c
1031
static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm)
arch/powerpc/kernel/time.c
744
struct rtc_time tm;
arch/powerpc/kernel/time.c
756
struct rtc_time tm;
arch/powerpc/platforms/8xx/m8xx_setup.c
138
int mpc8xx_set_rtc_time(struct rtc_time *tm)
arch/powerpc/platforms/8xx/m8xx_setup.c
151
void mpc8xx_get_rtc_time(struct rtc_time *tm)
arch/powerpc/platforms/8xx/mpc8xx.h
16
extern int mpc8xx_set_rtc_time(struct rtc_time *tm);
arch/powerpc/platforms/8xx/mpc8xx.h
17
extern void mpc8xx_get_rtc_time(struct rtc_time *tm);
arch/powerpc/platforms/chrp/chrp.h
7
extern void chrp_get_rtc_time(struct rtc_time *);
arch/powerpc/platforms/chrp/chrp.h
8
extern int chrp_set_rtc_time(struct rtc_time *);
arch/powerpc/platforms/chrp/time.c
130
void chrp_get_rtc_time(struct rtc_time *tm)
arch/powerpc/platforms/chrp/time.c
86
int chrp_set_rtc_time(struct rtc_time *tmarg)
arch/powerpc/platforms/chrp/time.c
89
struct rtc_time tm = *tmarg;
arch/powerpc/platforms/powermac/pmac.h
15
struct rtc_time;
arch/powerpc/platforms/powermac/pmac.h
23
extern void pmac_get_rtc_time(struct rtc_time *);
arch/powerpc/platforms/powermac/pmac.h
24
extern int pmac_set_rtc_time(struct rtc_time *);
arch/powerpc/platforms/powermac/time.c
119
void pmac_get_rtc_time(struct rtc_time *tm)
arch/powerpc/platforms/powermac/time.c
143
int pmac_set_rtc_time(struct rtc_time *tm)
arch/powerpc/platforms/powermac/time.c
89
struct rtc_time tm;
arch/powerpc/platforms/powernv/opal-rtc.c
22
static void __init opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm)
arch/powerpc/platforms/powernv/opal-rtc.c
36
struct rtc_time tm;
arch/powerpc/platforms/ps3/platform.h
49
void ps3_get_rtc_time(struct rtc_time *time);
arch/powerpc/platforms/ps3/platform.h
50
int ps3_set_rtc_time(struct rtc_time *time);
arch/sh/boards/mach-dreamcast/rtc.c
33
static int aica_rtc_gettimeofday(struct device *dev, struct rtc_time *tm)
arch/sh/boards/mach-dreamcast/rtc.c
61
static int aica_rtc_settimeofday(struct device *dev, struct rtc_time *tm)
arch/sh/boards/mach-sh03/rtc.c
123
static int sh03_rtc_settimeofday(struct device *dev, struct rtc_time *tm)
arch/sh/boards/mach-sh03/rtc.c
41
static int sh03_rtc_gettimeofday(struct device *dev, struct rtc_time *tm)
arch/sh/boards/mach-sh03/rtc.c
89
static int set_rtc_mmss(struct rtc_time *tm)
arch/um/drivers/rtc_kern.c
33
static int uml_rtc_read_time(struct device *dev, struct rtc_time *tm)
arch/x86/kernel/hpet.c
1213
static struct rtc_time hpet_alarm_time;
arch/x86/kernel/hpet.c
1419
struct rtc_time curr_time;
arch/x86/kernel/hpet.c
1423
memset(&curr_time, 0, sizeof(struct rtc_time));
arch/x86/kernel/rtc.c
38
struct rtc_time tm;
arch/x86/kernel/rtc.c
58
struct rtc_time tm;
drivers/base/power/trace.c
120
struct rtc_time time;
drivers/base/power/trace.c
91
static struct rtc_time time = {
drivers/input/misc/hp_sdc_rtc.c
102
memset(rtctm, 0, sizeof(struct rtc_time));
drivers/input/misc/hp_sdc_rtc.c
114
static int hp_sdc_rtc_read_bbrtc (struct rtc_time *rtctm)
drivers/input/misc/hp_sdc_rtc.c
116
struct rtc_time tm, tm_last;
drivers/input/misc/hp_sdc_rtc.c
124
while (memcmp(&tm, &tm_last, sizeof(struct rtc_time))) {
drivers/input/misc/hp_sdc_rtc.c
126
memcpy(&tm_last, &tm, sizeof(struct rtc_time));
drivers/input/misc/hp_sdc_rtc.c
130
memcpy(rtctm, &tm, sizeof(struct rtc_time));
drivers/input/misc/hp_sdc_rtc.c
272
struct rtc_time tm;
drivers/input/misc/hp_sdc_rtc.c
275
memset(&tm, 0, sizeof(struct rtc_time));
drivers/input/misc/hp_sdc_rtc.c
66
static int hp_sdc_rtc_do_read_bbrtc (struct rtc_time *rtctm)
drivers/macintosh/smu.c
366
struct rtc_time *time)
drivers/macintosh/smu.c
381
int smu_get_rtc_time(struct rtc_time *time, int spinwait)
drivers/macintosh/smu.c
389
memset(time, 0, sizeof(struct rtc_time));
drivers/macintosh/smu.c
408
int smu_set_rtc_time(struct rtc_time *time, int spinwait)
drivers/macintosh/via-cuda.c
788
int cuda_set_rtc_time(struct rtc_time *tm)
drivers/macintosh/via-pmu.c
1745
int pmu_set_rtc_time(struct rtc_time *tm)
drivers/mfd/menelaus.c
827
static void menelaus_to_time(char *regs, struct rtc_time *t)
drivers/mfd/menelaus.c
842
static int time_to_menelaus(struct rtc_time *t, int regnum)
drivers/mfd/menelaus.c
885
static int menelaus_read_time(struct device *dev, struct rtc_time *t)
drivers/mfd/menelaus.c
916
static int menelaus_set_time(struct device *dev, struct rtc_time *t)
drivers/net/ethernet/sfc/efx_devlink.c
246
struct rtc_time build_date;
drivers/platform/chrome/cros_usbpd_logger.c
90
struct rtc_time rt;
drivers/platform/cznic/turris-omnia-mcu-sys-off-wakeup.c
48
static int omnia_read_time(struct device *dev, struct rtc_time *tm)
drivers/platform/x86/amd/pmc/pmc.c
554
struct rtc_time tm;
drivers/rtc/class.c
103
struct rtc_time tm;
drivers/rtc/class.c
148
struct rtc_time tm;
drivers/rtc/class.c
61
struct rtc_time tm;
drivers/rtc/dev.c
110
struct rtc_time tm;
drivers/rtc/dev.c
209
struct rtc_time tm;
drivers/rtc/dev.c
49
struct rtc_time tm;
drivers/rtc/interface.c
110
int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm)
drivers/rtc/interface.c
126
int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm)
drivers/rtc/interface.c
215
struct rtc_time before, now;
drivers/rtc/interface.c
23
static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm)
drivers/rtc/interface.c
268
memcpy(&before, &now, sizeof(struct rtc_time));
drivers/rtc/interface.c
412
struct rtc_time tm;
drivers/rtc/interface.c
46
static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm)
drivers/rtc/interface.c
520
struct rtc_time now;
drivers/rtc/interface.c
609
struct rtc_time tm;
drivers/rtc/interface.c
67
static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm)
drivers/rtc/interface.c
833
struct rtc_time tm;
drivers/rtc/interface.c
84
static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm)
drivers/rtc/interface.c
93
memset(tm, 0, sizeof(struct rtc_time));
drivers/rtc/interface.c
933
struct rtc_time tm;
drivers/rtc/lib.c
159
int rtc_valid_tm(struct rtc_time *tm)
drivers/rtc/lib.c
180
time64_t rtc_tm_to_time64(struct rtc_time *tm)
drivers/rtc/lib.c
190
ktime_t rtc_tm_to_ktime(struct rtc_time tm)
drivers/rtc/lib.c
199
struct rtc_time rtc_ktime_to_tm(ktime_t kt)
drivers/rtc/lib.c
202
struct rtc_time ret;
drivers/rtc/lib.c
52
void rtc_time64_to_tm(time64_t time, struct rtc_time *tm)
drivers/rtc/proc.c
45
struct rtc_time tm;
drivers/rtc/rtc-88pm80x.c
120
static int pm80x_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-88pm80x.c
173
struct rtc_time now_tm, alarm_tm;
drivers/rtc/rtc-88pm80x.c
76
static void rtc_next_alarm_time(struct rtc_time *next, struct rtc_time *now,
drivers/rtc/rtc-88pm80x.c
77
struct rtc_time *alrm)
drivers/rtc/rtc-88pm80x.c
99
static int pm80x_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-88pm860x.c
103
static int pm860x_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-88pm860x.c
78
static int pm860x_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-88pm886.c
14
static int pm886_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-88pm886.c
36
static int pm886_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ab-b5ze-s3.c
205
static int _abb5zes3_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ab-b5ze-s3.c
248
static int abb5zes3_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ab-b5ze-s3.c
301
struct rtc_time rtc_tm, *alarm_tm = &alarm->time;
drivers/rtc/rtc-ab-b5ze-s3.c
354
struct rtc_time rtc_tm, *alarm_tm = &alarm->time;
drivers/rtc/rtc-ab-b5ze-s3.c
440
struct rtc_time *alarm_tm = &alarm->time;
drivers/rtc/rtc-ab-b5ze-s3.c
442
struct rtc_time rtc_tm;
drivers/rtc/rtc-ab-b5ze-s3.c
544
struct rtc_time *alarm_tm = &alarm->time;
drivers/rtc/rtc-ab-b5ze-s3.c
546
struct rtc_time rtc_tm;
drivers/rtc/rtc-ab-eoz9.c
143
static int abeoz9_rtc_get_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ab-eoz9.c
181
static int abeoz9_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ab8500.c
107
static int ab8500_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ab8500.c
61
static int ab8500_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-abx80x.c
179
static int abx80x_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-abx80x.c
219
static int abx80x_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ac100.c
385
static int ac100_rtc_get_time(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-ac100.c
408
static int ac100_rtc_set_time(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-ac100.c
456
struct rtc_time *alrm_tm = &alrm->time;
drivers/rtc/rtc-ac100.c
487
struct rtc_time *alrm_tm = &alrm->time;
drivers/rtc/rtc-amlogic-a4.c
110
static int aml_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-amlogic-a4.c
92
static int aml_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-armada38x.c
212
static int armada38x_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-armada38x.c
243
static int armada38x_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-as3722.c
33
static void as3722_time_to_reg(u8 *rbuff, struct rtc_time *tm)
drivers/rtc/rtc-as3722.c
43
static void as3722_reg_to_time(u8 *rbuff, struct rtc_time *tm)
drivers/rtc/rtc-as3722.c
54
static int as3722_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-as3722.c
71
static int as3722_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-asm9260.c
136
static int asm9260_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-asm9260.c
169
static int asm9260_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-aspeed.c
21
static int aspeed_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-aspeed.c
52
static int aspeed_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-at91rm9200.c
161
struct rtc_time *tm)
drivers/rtc/rtc-at91rm9200.c
191
static int at91_rtc_readtime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-at91rm9200.c
205
static int at91_rtc_settime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-at91rm9200.c
248
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-at91rm9200.c
267
struct rtc_time tm = alrm->time;
drivers/rtc/rtc-at91sam9.c
103
static int at91_rtc_readtime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-at91sam9.c
130
static int at91_rtc_settime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-at91sam9.c
178
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-at91sam9.c
202
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-atcrtc100.c
165
static int atcrtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-atcrtc100.c
184
static int atcrtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-atcrtc100.c
214
struct rtc_time *tm = &wkalrm->time;
drivers/rtc/rtc-atcrtc100.c
234
struct rtc_time *tm = &wkalrm->time;
drivers/rtc/rtc-au1xxx.c
28
static int au1xtoy_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-au1xxx.c
39
static int au1xtoy_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-bd70528.c
161
static int bd71828_set_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-bd70528.c
183
static int bd70528_get_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-bd70528.c
307
struct rtc_time t;
drivers/rtc/rtc-bd70528.c
57
static inline void tmday2rtc(struct rtc_time *t, struct bd70528_rtc_day *d)
drivers/rtc/rtc-bd70528.c
67
static inline void tm2rtc(struct rtc_time *t, struct bd70528_rtc_data *r)
drivers/rtc/rtc-bd70528.c
89
static inline void rtc2tm(struct bd70528_rtc_data *r, struct rtc_time *t)
drivers/rtc/rtc-bq32k.c
118
static int bq32k_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-bq32k.c
90
static int bq32k_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-bq4802.c
50
static int bq4802_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-bq4802.c
92
static int bq4802_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-brcmstb-waketimer.c
187
struct rtc_time *tm)
drivers/rtc/rtc-brcmstb-waketimer.c
200
struct rtc_time *tm)
drivers/rtc/rtc-cadence.c
112
static u32 cdns_rtc_time2reg(struct rtc_time *tm)
drivers/rtc/rtc-cadence.c
119
static void cdns_rtc_reg2time(u32 reg, struct rtc_time *tm)
drivers/rtc/rtc-cadence.c
126
static int cdns_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-cadence.c
151
static int cdns_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-cmos.c
1184
struct rtc_time now;
drivers/rtc/rtc-cmos.c
1288
struct rtc_time now;
drivers/rtc/rtc-cmos.c
218
static int cmos_read_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-cmos.c
238
static int cmos_set_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-cmos.c
249
struct rtc_time *time;
drivers/rtc/rtc-cmos.c
258
struct rtc_time *time = p->time;
drivers/rtc/rtc-cmos.c
404
struct rtc_time now;
drivers/rtc/rtc-cmos.c
421
struct rtc_time max_date = now;
drivers/rtc/rtc-cmos.c
445
struct rtc_time max_date = now;
drivers/rtc/rtc-cpcap.c
118
static int cpcap_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-cpcap.c
51
static void cpcap2rtc_time(struct rtc_time *rtc, struct cpcap_time *cpcap)
drivers/rtc/rtc-cpcap.c
62
static void rtc2cpcap_time(struct cpcap_time *cpcap, struct rtc_time *rtc)
drivers/rtc/rtc-cpcap.c
91
static int cpcap_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-cros-ec.c
316
struct rtc_time tm;
drivers/rtc/rtc-cros-ec.c
72
static int cros_ec_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-cros-ec.c
91
static int cros_ec_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-cv1800.c
107
static int cv1800_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-cv1800.c
122
static int cv1800_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-da9052.c
153
static int da9052_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-da9052.c
196
static int da9052_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-da9052.c
224
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-da9052.c
240
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-da9052.c
56
static int da9052_read_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm)
drivers/rtc/rtc-da9052.c
99
static int da9052_set_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm)
drivers/rtc/rtc-da9055.c
125
static int da9055_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-da9055.c
159
static int da9055_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-da9055.c
179
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-da9055.c
195
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-da9055.c
56
static int da9055_read_alarm(struct da9055 *da9055, struct rtc_time *rtc_tm)
drivers/rtc/rtc-da9055.c
77
static int da9055_set_alarm(struct da9055 *da9055, struct rtc_time *rtc_tm)
drivers/rtc/rtc-da9063.c
167
static void da9063_data_to_tm(u8 *data, struct rtc_time *tm,
drivers/rtc/rtc-da9063.c
182
static void da9063_tm_to_data(struct rtc_time *tm, u8 *data,
drivers/rtc/rtc-da9063.c
210
static int da9063_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-da9063.c
239
memcpy(tm, &rtc->alarm_time, sizeof(struct rtc_time));
drivers/rtc/rtc-da9063.c
246
static int da9063_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-da9063.c
68
struct rtc_time alarm_time;
drivers/rtc/rtc-digicolor.c
105
static int dc_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-digicolor.c
91
static int dc_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1216.c
105
static int ds1216_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1216.c
78
static int ds1216_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1286.c
150
static int ds1286_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1286.c
213
static int ds1286_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1302.c
37
static int ds1302_rtc_set_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-ds1302.c
72
static int ds1302_rtc_get_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-ds1305.c
170
static int ds1305_get_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-ds1305.c
205
static int ds1305_set_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-ds1305.c
323
struct rtc_time tm;
drivers/rtc/rtc-ds1307.c
210
static int ds1307_get_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-ds1307.c
332
static int ds1307_set_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-ds1307.c
776
static int mcp794xx_alm_weekday(struct device *dev, struct rtc_time *tm_alarm)
drivers/rtc/rtc-ds1307.c
778
struct rtc_time tm_now;
drivers/rtc/rtc-ds1343.c
198
static int ds1343_read_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-ds1343.c
219
static int ds1343_set_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-ds1347.c
50
static int ds1347_read_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-ds1347.c
89
static int ds1347_set_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-ds1374.c
159
static int ds1374_read_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-ds1374.c
172
static int ds1374_set_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-ds1374.c
227
struct rtc_time now;
drivers/rtc/rtc-ds1390.c
127
static int ds1390_read_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-ds1390.c
156
static int ds1390_set_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-ds1511.c
135
static int ds1511_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-ds1511.c
94
static int ds1511_rtc_set_time(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-ds1553.c
71
static int ds1553_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1553.c
95
static int ds1553_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1672.c
26
static int ds1672_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1672.c
81
static int ds1672_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1685.c
261
ds1685_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1685.c
309
ds1685_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1742.c
55
static int ds1742_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds1742.c
79
static int ds1742_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ds2404.c
155
static int ds2404_read_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-ds2404.c
168
static int ds2404_set_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-ds3232.c
151
static int ds3232_set_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-ds3232.c
97
static int ds3232_read_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-efi.c
115
static int efi_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-efi.c
135
static int efi_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-efi.c
53
convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft)
drivers/rtc/rtc-efi.c
67
convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime)
drivers/rtc/rtc-em3027.c
42
static int em3027_get_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-em3027.c
80
static int em3027_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ep93xx.c
52
static int ep93xx_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ep93xx.c
63
static int ep93xx_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-fm3130.c
139
static int fm3130_set_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-fm3130.c
186
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-fm3130.c
242
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-fm3130.c
92
static int fm3130_get_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-fsl-ftm-alarm.c
182
static int ftm_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ftrtc010.c
63
static int ftrtc010_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ftrtc010.c
83
static int ftrtc010_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-gamecube.c
161
static int gamecube_rtc_read_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-gamecube.c
179
static int gamecube_rtc_set_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-goldfish.c
110
static int goldfish_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-goldfish.c
132
static int goldfish_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-hid-sensor-time.c
192
static int hid_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-hid-sensor-time.c
27
struct rtc_time last_time;
drivers/rtc/rtc-hid-sensor-time.c
30
struct rtc_time time_buf;
drivers/rtc/rtc-hid-sensor-time.c
81
struct rtc_time *time_buf = &time_state->time_buf;
drivers/rtc/rtc-hym8563.c
117
static int hym8563_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-hym8563.c
182
struct rtc_time *alm_tm = &alm->time;
drivers/rtc/rtc-hym8563.c
219
struct rtc_time *alm_tm = &alm->time;
drivers/rtc/rtc-hym8563.c
90
static int hym8563_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-imx-sc.c
42
static int imx_sc_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-imx-sc.c
64
static int imx_sc_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-imx-sc.c
88
struct rtc_time *alrm_tm = &alrm->time;
drivers/rtc/rtc-imx-sm-bbm.c
20
static int scmi_imx_bbm_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-imx-sm-bbm.c
36
static int scmi_imx_bbm_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-imx-sm-bbm.c
63
struct rtc_time *alrm_tm = &alrm->time;
drivers/rtc/rtc-imxdi.c
540
static int dryice_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-imxdi.c
555
static int dryice_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-isl12022.c
171
static int isl12022_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-isl12022.c
207
static int isl12022_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-isl12022.c
242
struct rtc_time *tm = &alarm->time;
drivers/rtc/rtc-isl12022.c
289
struct rtc_time *alarm_tm = &alarm->time;
drivers/rtc/rtc-isl12022.c
293
struct rtc_time rtc_tm;
drivers/rtc/rtc-isl12026.c
164
static int isl12026_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-isl12026.c
203
static int isl12026_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-isl1208.c
338
isl1208_i2c_read_time(struct i2c_client *client, struct rtc_time *tm)
drivers/rtc/rtc-isl1208.c
383
struct rtc_time *const tm = &alarm->time;
drivers/rtc/rtc-isl1208.c
430
struct rtc_time *alarm_tm = &alarm->time;
drivers/rtc/rtc-isl1208.c
433
struct rtc_time rtc_tm;
drivers/rtc/rtc-isl1208.c
473
isl1208_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-isl1208.c
479
isl1208_i2c_set_time(struct i2c_client *client, struct rtc_time const *tm)
drivers/rtc/rtc-isl1208.c
540
isl1208_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-isl1208.c
585
struct rtc_time tm;
drivers/rtc/rtc-jz4740.c
142
static int jz4740_rtc_read_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-jz4740.c
171
static int jz4740_rtc_set_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-loongson.c
186
static int loongson_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-loongson.c
212
static int loongson_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-lp8788.c
109
static int lp8788_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-lp8788.c
133
static int lp8788_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-lp8788.c
167
struct rtc_time *tm = &alarm->time;
drivers/rtc/rtc-lp8788.c
192
struct rtc_time *tm = &alarm->time;
drivers/rtc/rtc-lpc24xx.c
113
struct rtc_time *tm = &wkalrm->time;
drivers/rtc/rtc-lpc24xx.c
133
struct rtc_time *tm = &wkalrm->time;
drivers/rtc/rtc-lpc24xx.c
68
static int lpc24xx_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-lpc24xx.c
89
static int lpc24xx_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-lpc32xx.c
55
static int lpc32xx_rtc_read_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-lpc32xx.c
66
static int lpc32xx_rtc_set_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-m41t80.c
197
static int m41t80_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-m41t80.c
231
static int m41t80_rtc_set_time(struct device *dev, struct rtc_time *in_tm)
drivers/rtc/rtc-m41t80.c
235
struct rtc_time tm = *in_tm;
drivers/rtc/rtc-m41t80.c
911
struct rtc_time tm;
drivers/rtc/rtc-m41t93.c
101
static int m41t93_get_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-m41t93.c
45
static int m41t93_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-m41t94.c
29
static int m41t94_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-m41t94.c
56
static int m41t94_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-m48t35.c
55
static int m48t35_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-m48t35.c
97
static int m48t35_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-m48t59.c
144
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-m48t59.c
184
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-m48t59.c
63
static int m48t59_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-m48t59.c
99
static int m48t59_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-m48t86.c
103
static int m48t86_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-m48t86.c
66
static int m48t86_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ma35d1.c
119
static int ma35d1_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ma35d1.c
144
static int ma35d1_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-macsmc.c
30
static int macsmc_rtc_get_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-macsmc.c
63
static int macsmc_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max31335.c
284
static int max31335_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max31335.c
309
static int max31335_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max31335.c
333
struct rtc_time time;
drivers/rtc/rtc-max6900.c
140
static int max6900_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max6900.c
167
static int max6900_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max6902.c
52
static int max6902_read_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-max6902.c
87
static int max6902_set_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-max6916.c
53
static int max6916_read_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-max6916.c
77
static int max6916_set_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-max77686.c
292
static void max77686_rtc_data_to_tm(u8 *data, struct rtc_time *tm,
drivers/rtc/rtc-max77686.c
317
static int max77686_rtc_tm_to_data(struct rtc_time *tm, u8 *data,
drivers/rtc/rtc-max77686.c
369
static int max77686_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max77686.c
396
static int max77686_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max77686.c
499
struct rtc_time tm;
drivers/rtc/rtc-max77686.c
549
struct rtc_time tm;
drivers/rtc/rtc-max8907.c
109
static int max8907_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max8907.c
57
static void regs_to_tm(u8 *regs, struct rtc_time *tm)
drivers/rtc/rtc-max8907.c
77
static void tm_to_regs(struct rtc_time *tm, u8 *regs)
drivers/rtc/rtc-max8907.c
93
static int max8907_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max8925.c
111
static int data_calc(unsigned char *buf, struct rtc_time *tm, int len)
drivers/rtc/rtc-max8925.c
151
static int max8925_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max8925.c
165
static int max8925_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max8925.c
82
static int tm_calc(struct rtc_time *tm, unsigned char *buf, int len)
drivers/rtc/rtc-max8997.c
132
static int max8997_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max8997.c
153
static int max8997_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max8997.c
74
static void max8997_rtc_data_to_tm(u8 *data, struct rtc_time *tm,
drivers/rtc/rtc-max8997.c
95
static int max8997_rtc_tm_to_data(struct rtc_time *tm, u8 *data)
drivers/rtc/rtc-max8998.c
105
static int max8998_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max8998.c
120
static int max8998_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-max8998.c
75
static void max8998_data_to_tm(u8 *data, struct rtc_time *tm)
drivers/rtc/rtc-max8998.c
93
static void max8998_tm_to_data(struct rtc_time *tm, u8 *data)
drivers/rtc/rtc-mc13xxx.c
60
static int mc13xxx_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mc13xxx.c
89
static int mc13xxx_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mc146818-lib.c
101
struct rtc_time *time;
drivers/rtc/rtc-mc146818-lib.c
154
int mc146818_get_time(struct rtc_time *time, int timeout)
drivers/rtc/rtc-mc146818-lib.c
212
int mc146818_set_time(struct rtc_time *time)
drivers/rtc/rtc-mcp795.c
183
static int mcp795_set_time(struct device *dev, struct rtc_time *tim)
drivers/rtc/rtc-mcp795.c
237
static int mcp795_read_time(struct device *dev, struct rtc_time *tim)
drivers/rtc/rtc-mcp795.c
262
struct rtc_time now_tm;
drivers/rtc/rtc-meson-vrtc.c
20
static int meson_vrtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-meson.c
229
static int meson_rtc_gettime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-meson.c
242
static int meson_rtc_settime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-moxart.c
142
static int moxart_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-moxart.c
185
static int moxart_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mpc5121.c
101
static int mpc5121_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mpc5121.c
123
static int mpc5121_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mpc5121.c
145
static int mpc5200_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mpc5121.c
172
static int mpc5200_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mpc5121.c
88
struct rtc_time *tm)
drivers/rtc/rtc-mpfs.c
86
static int mpfs_rtc_readtime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mpfs.c
98
static int mpfs_rtc_settime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-msc313.c
108
static int msc313_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-msc313.c
132
static int msc313_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-msm6242.c
114
static int msm6242_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-msm6242.c
151
static int msm6242_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mt2712.c
139
struct rtc_time *tm, int *sec)
drivers/rtc/rtc-mt2712.c
157
static int mt2712_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mt2712.c
172
static int mt2712_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mt2712.c
196
struct rtc_time *tm = &alm->time;
drivers/rtc/rtc-mt2712.c
234
struct rtc_time *tm = &alm->time;
drivers/rtc/rtc-mt6397.c
107
static int mtk_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mt6397.c
140
struct rtc_time *tm = &alm->time;
drivers/rtc/rtc-mt6397.c
180
struct rtc_time *tm = &alm->time;
drivers/rtc/rtc-mt6397.c
63
struct rtc_time *tm, int *sec)
drivers/rtc/rtc-mt6397.c
88
static int mtk_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mt7622.c
152
static void mtk_rtc_get_alarm_or_time(struct mtk_rtc *hw, struct rtc_time *tm,
drivers/rtc/rtc-mt7622.c
184
static void mtk_rtc_set_alarm_or_time(struct mtk_rtc *hw, struct rtc_time *tm,
drivers/rtc/rtc-mt7622.c
220
static int mtk_rtc_gettime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mt7622.c
229
static int mtk_rtc_settime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mt7622.c
250
struct rtc_time *alrm_tm = &wkalrm->time;
drivers/rtc/rtc-mt7622.c
263
struct rtc_time *alrm_tm = &wkalrm->time;
drivers/rtc/rtc-mv.c
101
u32 rtc_time, rtc_date;
drivers/rtc/rtc-mv.c
104
rtc_time = readl(ioaddr + RTC_ALARM_TIME_REG_OFFS);
drivers/rtc/rtc-mv.c
107
second = rtc_time & 0x7f;
drivers/rtc/rtc-mv.c
108
minute = (rtc_time >> RTC_MINUTES_OFFS) & 0x7f;
drivers/rtc/rtc-mv.c
109
hour = (rtc_time >> RTC_HOURS_OFFS) & 0x3f; /* assume 24 hour mode */
drivers/rtc/rtc-mv.c
110
wday = (rtc_time >> RTC_WDAY_OFFS) & 0x7;
drivers/rtc/rtc-mv.c
211
u32 rtc_time;
drivers/rtc/rtc-mv.c
228
rtc_time = readl(pdata->ioaddr + RTC_TIME_REG_OFFS);
drivers/rtc/rtc-mv.c
229
if (rtc_time & RTC_HOURS_12H_MODE) {
drivers/rtc/rtc-mv.c
236
if (rtc_time == 0x01000000) {
drivers/rtc/rtc-mv.c
238
rtc_time = readl(pdata->ioaddr + RTC_TIME_REG_OFFS);
drivers/rtc/rtc-mv.c
239
if (rtc_time == 0x01000000) {
drivers/rtc/rtc-mv.c
46
static int mv_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mv.c
66
static int mv_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mv.c
70
u32 rtc_time, rtc_date;
drivers/rtc/rtc-mv.c
73
rtc_time = readl(ioaddr + RTC_TIME_REG_OFFS);
drivers/rtc/rtc-mv.c
76
second = rtc_time & 0x7f;
drivers/rtc/rtc-mv.c
77
minute = (rtc_time >> RTC_MINUTES_OFFS) & 0x7f;
drivers/rtc/rtc-mv.c
78
hour = (rtc_time >> RTC_HOURS_OFFS) & 0x3f; /* assume 24 hour mode */
drivers/rtc/rtc-mv.c
79
wday = (rtc_time >> RTC_WDAY_OFFS) & 0x7;
drivers/rtc/rtc-mxc.c
152
static void rtc_update_alarm(struct device *dev, struct rtc_time *alrm)
drivers/rtc/rtc-mxc.c
224
static int mxc_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mxc.c
241
static int mxc_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mxc.c
278
memcpy(&pdata->g_rtc_alarm, &alrm->time, sizeof(struct rtc_time));
drivers/rtc/rtc-mxc.c
318
struct rtc_time tm;
drivers/rtc/rtc-mxc.c
68
struct rtc_time g_rtc_alarm;
drivers/rtc/rtc-mxc_v2.c
141
static int mxc_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-mxc_v2.c
163
static int mxc_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-nct3018y.c
150
static int nct3018y_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-nct3018y.c
180
static int nct3018y_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-nct6694.c
105
static int nct6694_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-nct6694.c
78
static int nct6694_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ntxec.c
36
static int ntxec_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ntxec.c
79
static int ntxec_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-nvidia-vrs10.c
176
static int nvvrs_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-nvidia-vrs10.c
220
static int nvvrs_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-nxp-bbnsm.c
62
static int bbnsm_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-nxp-bbnsm.c
78
static int bbnsm_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-omap.c
270
static void tm2bcd(struct rtc_time *tm)
drivers/rtc/rtc-omap.c
281
static void bcd2tm(struct rtc_time *tm)
drivers/rtc/rtc-omap.c
292
static void omap_rtc_read_time_raw(struct omap_rtc *rtc, struct rtc_time *tm)
drivers/rtc/rtc-omap.c
302
static int omap_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-omap.c
317
static int omap_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-omap.c
414
struct rtc_time tm;
drivers/rtc/rtc-opal.c
21
static void opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm)
drivers/rtc/rtc-opal.c
34
static void tm_to_opal(struct rtc_time *tm, u32 *y_m_d, u64 *h_m_s_ms)
drivers/rtc/rtc-opal.c
46
static int opal_get_rtc_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-opal.c
80
static int opal_set_rtc_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-optee.c
152
static int optee_rtc_readtime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-optee.c
192
static int optee_rtc_settime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-palmas.c
35
static int palmas_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-palmas.c
66
static int palmas_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcap.c
43
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-pcap.c
74
static int pcap_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcap.c
91
static int pcap_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf2123.c
175
static int pcf2123_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf2123.c
204
static int pcf2123_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf2123.c
378
struct rtc_time tm;
drivers/rtc/rtc-pcf2127.c
220
static int pcf2127_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf2127.c
271
static int pcf2127_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf2127.c
712
struct rtc_time tm;
drivers/rtc/rtc-pcf85063.c
115
static int pcf85063_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf85063.c
80
static int pcf85063_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf8523.c
124
static int pcf8523_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf8523.c
99
static int pcf8523_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf85363.c
149
static int pcf85363_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf85363.c
178
static int pcf85363_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf8563.c
147
static int pcf8563_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf8563.c
192
static int pcf8563_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf8583.c
172
static int pcf8583_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf8583.c
222
static int pcf8583_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pcf8583.c
49
static int pcf8583_get_datetime(struct i2c_client *client, struct rtc_time *dt)
drivers/rtc/rtc-pcf8583.c
87
static int pcf8583_set_datetime(struct i2c_client *client, struct rtc_time *dt, int datetoo)
drivers/rtc/rtc-pic32.c
131
static int pic32_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-pic32.c
170
static int pic32_rtc_settime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pic32.c
192
struct rtc_time *alm_tm = &alrm->time;
drivers/rtc/rtc-pic32.c
224
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-pl030.c
51
static int pl030_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pl030.c
68
static int pl030_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pl031.c
118
struct rtc_time *tm, unsigned long *st_time,
drivers/rtc/rtc-pl031.c
130
struct rtc_time calc_tm;
drivers/rtc/rtc-pl031.c
152
struct rtc_time *tm)
drivers/rtc/rtc-pl031.c
168
static int pl031_stv2_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pl031.c
178
static int pl031_stv2_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pl031.c
245
static int pl031_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pl031.c
254
static int pl031_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pm8xxx.c
345
static int pm8xxx_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pm8xxx.c
366
static int pm8xxx_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ps3.c
29
static int ps3_get_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ps3.c
35
static int ps3_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pxa.c
220
static int pxa_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pxa.c
232
static int pxa_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-pxa.c
82
static u32 ryxr_calc(struct rtc_time *tm)
drivers/rtc/rtc-pxa.c
89
static u32 rdxr_calc(struct rtc_time *tm)
drivers/rtc/rtc-pxa.c
98
static void tm_calc(u32 rycr, u32 rdcr, struct rtc_time *tm)
drivers/rtc/rtc-r7301.c
148
static void rtc7301_get_time(struct rtc7301_priv *priv, struct rtc_time *tm,
drivers/rtc/rtc-r7301.c
182
static void rtc7301_write_time(struct rtc7301_priv *priv, struct rtc_time *tm,
drivers/rtc/rtc-r7301.c
225
static int rtc7301_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-r7301.c
244
static int rtc7301_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-r9701.c
68
static int r9701_get_datetime(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-r9701.c
89
static int r9701_set_datetime(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-rc5t583.c
59
static int rc5t583_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rc5t583.c
83
static int rc5t583_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rc5t619.c
116
static int rc5t619_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rc5t619.c
162
static int rc5t619_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-renesas-rtca3.c
231
static int rtca3_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-renesas-rtca3.c
284
static int rtca3_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-renesas-rtca3.c
356
struct rtc_time *tm = &wkalrm->time;
drivers/rtc/rtc-renesas-rtca3.c
388
struct rtc_time *tm = &wkalrm->time;
drivers/rtc/rtc-renesas-rtca3.c
815
struct rtc_time tm;
drivers/rtc/rtc-rk808.c
146
static int rk808_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rk808.c
68
static time64_t nov2dec_transitions(struct rtc_time *tm)
drivers/rtc/rtc-rk808.c
73
static void rockchip_to_gregorian(struct rtc_time *tm)
drivers/rtc/rtc-rk808.c
80
static void gregorian_to_rockchip(struct rtc_time *tm)
drivers/rtc/rtc-rk808.c
96
static int rk808_rtc_readtime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rp5c01.c
122
static int rp5c01_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rp5c01.c
93
static int rp5c01_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rs5c313.c
213
static int rs5c313_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rs5c313.c
273
static int rs5c313_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rs5c313.c
333
struct rtc_time tm;
drivers/rtc/rtc-rs5c313.c
350
memset(&tm, 0, sizeof(struct rtc_time));
drivers/rtc/rtc-rs5c348.c
106
rs5c348_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rs5c348.c
59
rs5c348_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rs5c372.c
211
static int rs5c372_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rs5c372.c
259
static int rs5c372_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rtd119x.c
126
static int rtd119x_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rtd119x.c
82
static int rtd119x_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rv3028.c
122
struct rtc_time tm;
drivers/rtc/rtc-rv3028.c
310
static int rv3028_get_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rv3028.c
338
static int rv3028_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rv3029c2.c
305
static int rv3029_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rv3029c2.c
351
struct rtc_time *const tm = &alarm->time;
drivers/rtc/rtc-rv3029c2.c
395
struct rtc_time *const tm = &alarm->time;
drivers/rtc/rtc-rv3029c2.c
422
static int rv3029_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rv3032.c
223
static int rv3032_get_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rv3032.c
251
static int rv3032_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rv8803.c
235
static int rv8803_get_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rv8803.c
281
static int rv8803_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rx4581.c
170
static int rx4581_set_datetime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rx4581.c
94
static int rx4581_get_datetime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rx6110.c
108
static int rx6110_rtc_tm_to_data(struct rtc_time *tm, u8 *data)
drivers/rtc/rtc-rx6110.c
137
static int rx6110_data_to_rtc_tm(u8 *data, struct rtc_time *tm)
drivers/rtc/rtc-rx6110.c
174
static int rx6110_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rx6110.c
213
static int rx6110_get_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rx8010.c
107
static int rx8010_get_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-rx8010.c
137
static int rx8010_set_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-rx8025.c
214
static int rx8025_get_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-rx8025.c
248
static int rx8025_set_time(struct device *dev, struct rtc_time *dt)
drivers/rtc/rtc-rx8111.c
163
static int rx8111_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rx8111.c
219
static int rx8111_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rx8581.c
130
static int rx8581_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rx8581.c
64
static int rx8581_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rzn1.c
112
static int rzn1_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-rzn1.c
189
struct rtc_time *tm = &rtc->tm_alarm, tm_now;
drivers/rtc/rtc-rzn1.c
228
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-rzn1.c
262
struct rtc_time *tm = &alrm->time, tm_now;
drivers/rtc/rtc-rzn1.c
72
struct rtc_time tm_alarm;
drivers/rtc/rtc-rzn1.c
75
static void rzn1_rtc_get_time_snapshot(struct rzn1_rtc *rtc, struct rtc_time *tm)
drivers/rtc/rtc-rzn1.c
91
static int rzn1_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-s32g.c
101
struct rtc_time *tm)
drivers/rtc/rtc-s35390a.c
209
static int s35390a_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-s35390a.c
239
static int s35390a_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-s3c.c
130
static int s3c_rtc_read_time(struct s3c_rtc *info, struct rtc_time *tm)
drivers/rtc/rtc-s3c.c
170
static int s3c_rtc_write_time(struct s3c_rtc *info, const struct rtc_time *tm)
drivers/rtc/rtc-s3c.c
190
static int s3c_rtc_gettime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-s3c.c
207
static int s3c_rtc_settime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-s3c.c
210
struct rtc_time rtc_tm = *tm;
drivers/rtc/rtc-s3c.c
227
struct rtc_time *alm_tm = &alrm->time;
drivers/rtc/rtc-s3c.c
277
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-s5m.c
187
static void s5m8767_data_to_tm(u8 *data, struct rtc_time *tm,
drivers/rtc/rtc-s5m.c
208
static int s5m8767_tm_to_data(struct rtc_time *tm, u8 *data)
drivers/rtc/rtc-s5m.c
332
static int s5m_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-s5m.c
371
static int s5m_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-s5m.c
444
struct rtc_time tm;
drivers/rtc/rtc-s5m.c
483
struct rtc_time tm;
drivers/rtc/rtc-sa1100.c
108
static int sa1100_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sa1100.c
116
static int sa1100_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sc27xx.c
332
static int sprd_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sc27xx.c
351
static int sprd_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sc27xx.c
418
struct rtc_time aie_time =
drivers/rtc/rtc-sd2405al.c
121
static int sd2405al_set_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-sd2405al.c
87
static int sd2405al_read_time(struct device *dev, struct rtc_time *time)
drivers/rtc/rtc-sd3078.c
110
static int sd3078_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sd3078.c
72
static int sd3078_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sh.c
138
static int sh_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sh.c
194
static int sh_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sh.c
252
struct rtc_time *tm = &wkalrm->time;
drivers/rtc/rtc-sh.c
286
struct rtc_time *tm = &wkalrm->time;
drivers/rtc/rtc-snvs.c
160
static int snvs_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-snvs.c
178
static int snvs_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-spacemit-p1.c
51
static int p1_rtc_read_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-spacemit-p1.c
93
static int p1_rtc_set_time(struct device *dev, struct rtc_time *t)
drivers/rtc/rtc-spear.c
170
static void tm2bcd(struct rtc_time *tm)
drivers/rtc/rtc-spear.c
180
static void bcd2tm(struct rtc_time *tm)
drivers/rtc/rtc-spear.c
199
static int spear_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-spear.c
230
static int spear_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ssd202d.c
150
static int ssd202d_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ssd202d.c
189
static int ssd202d_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-st-lpc.c
102
static int st_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-st-lpc.c
155
struct rtc_time now;
drivers/rtc/rtc-st-lpc.c
79
static int st_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-starfire.c
28
static int starfire_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-stk17ta8.c
72
static int stk17ta8_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-stk17ta8.c
94
static int stk17ta8_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-stm32.c
491
static void tm2bcd(struct rtc_time *tm)
drivers/rtc/rtc-stm32.c
509
static void bcd2tm(struct rtc_time *tm)
drivers/rtc/rtc-stm32.c
526
static int stm32_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-stm32.c
552
static int stm32_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-stm32.c
597
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-stm32.c
686
static int stm32_rtc_valid_alrm(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-stm32.c
688
static struct rtc_time now;
drivers/rtc/rtc-stm32.c
728
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-stmp3xxx.c
147
static int stmp3xxx_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-stmp3xxx.c
160
static int stmp3xxx_rtc_settime(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-sun4v.c
40
static int sun4v_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sun4v.c
67
static int sun4v_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sun6i.c
460
static int sun6i_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-sun6i.c
523
struct rtc_time *alrm_tm = &wkalrm->time;
drivers/rtc/rtc-sun6i.c
524
struct rtc_time tm_now;
drivers/rtc/rtc-sun6i.c
598
static int sun6i_rtc_settime(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-sunplus.c
79
static int sp_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sunplus.c
89
static int sp_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-sunxi.c
186
struct rtc_time *alrm_tm = &wkalrm->time;
drivers/rtc/rtc-sunxi.c
218
static int sunxi_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-sunxi.c
255
struct rtc_time *alrm_tm = &wkalrm->time;
drivers/rtc/rtc-sunxi.c
256
struct rtc_time tm_now;
drivers/rtc/rtc-sunxi.c
326
static int sunxi_rtc_settime(struct device *dev, struct rtc_time *rtc_tm)
drivers/rtc/rtc-tegra.c
102
static int tegra_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-tegra.c
126
static int tegra_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-test.c
63
static int test_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-test.c
72
static int test_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ti-k3.c
265
static int ti_k3_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-ti-k3.c
278
static int ti_k3_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-tps6586x.c
56
static int tps6586x_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-tps6586x.c
82
static int tps6586x_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-tps65910.c
68
static int tps65910_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-tps65910.c
99
static int tps65910_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-tps6594.c
119
static int tps6594_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-tps6594.c
84
static int tps6594_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-twl.c
258
static int twl_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-twl.c
326
static int twl_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-vt8500.c
101
static int vt8500_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-vt8500.c
121
static int vt8500_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-wilco-ec.c
123
static int wilco_ec_rtc_write(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-wilco-ec.c
89
static int wilco_ec_rtc_read(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-wm831x.c
118
static int wm831x_rtc_readtime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-wm831x.c
168
static int wm831x_rtc_settime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-wm831x.c
172
struct rtc_time new_tm;
drivers/rtc/rtc-wm8350.c
142
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-wm8350.c
246
struct rtc_time *tm = &alrm->time;
drivers/rtc/rtc-wm8350.c
31
static int wm8350_rtc_readtime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-wm8350.c
90
static int wm8350_rtc_settime(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-x1205.c
172
static int x1205_set_datetime(struct i2c_client *client, struct rtc_time *tm,
drivers/rtc/rtc-x1205.c
282
struct rtc_time tm;
drivers/rtc/rtc-x1205.c
534
static int x1205_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-x1205.c
540
static int x1205_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-x1205.c
88
static int x1205_get_datetime(struct i2c_client *client, struct rtc_time *tm,
drivers/rtc/rtc-xgene.c
43
static int xgene_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-xgene.c
51
static int xgene_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-zynqmp.c
57
static int xlnx_rtc_set_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/rtc-zynqmp.c
84
static int xlnx_rtc_read_time(struct device *dev, struct rtc_time *tm)
drivers/rtc/sysfs.c
36
struct rtc_time tm;
drivers/rtc/sysfs.c
50
struct rtc_time tm;
drivers/rtc/sysfs.c
64
struct rtc_time tm;
drivers/rtc/test_rtc_lib.c
50
struct rtc_time result;
drivers/virtio/virtio_rtc_class.c
64
static int viortc_class_read_time(struct device *dev, struct rtc_time *tm)
include/linux/cuda.h
21
extern int cuda_set_rtc_time(struct rtc_time *tm);
include/linux/mc146818rtc.h
129
int mc146818_get_time(struct rtc_time *time, int timeout);
include/linux/mc146818rtc.h
130
int mc146818_set_time(struct rtc_time *time);
include/linux/pmu.h
41
extern int pmu_set_rtc_time(struct rtc_time *tm);
include/linux/rtc.h
188
extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm);
include/linux/rtc.h
189
extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm);
include/linux/rtc.h
23
extern int rtc_valid_tm(struct rtc_time *tm);
include/linux/rtc.h
24
extern time64_t rtc_tm_to_time64(struct rtc_time *tm);
include/linux/rtc.h
25
extern void rtc_time64_to_tm(time64_t time, struct rtc_time *tm);
include/linux/rtc.h
26
ktime_t rtc_tm_to_ktime(struct rtc_time tm);
include/linux/rtc.h
27
struct rtc_time rtc_ktime_to_tm(ktime_t kt);
include/linux/rtc.h
32
static inline time64_t rtc_tm_sub(struct rtc_time *lhs, struct rtc_time *rhs)
include/linux/rtc.h
61
int (*read_time)(struct device *, struct rtc_time *);
include/linux/rtc.h
62
int (*set_time)(struct device *, struct rtc_time *);
include/uapi/linux/rtc.h
44
struct rtc_time time; /* time the alarm is set to */
include/uapi/linux/rtc.h
95
#define RTC_ALM_SET _IOW('p', 0x07, struct rtc_time) /* Set alarm time */
include/uapi/linux/rtc.h
96
#define RTC_ALM_READ _IOR('p', 0x08, struct rtc_time) /* Read alarm time */
include/uapi/linux/rtc.h
97
#define RTC_RD_TIME _IOR('p', 0x09, struct rtc_time) /* Read RTC time */
include/uapi/linux/rtc.h
98
#define RTC_SET_TIME _IOW('p', 0x0a, struct rtc_time) /* Set RTC time */
kernel/time/alarmtimer.c
222
struct rtc_time tm;
kernel/time/ntp.c
580
struct rtc_time tm;
lib/tests/printf_kunit.c
499
const struct rtc_time tm = {
lib/vsprintf.c
1883
char *date_str(char *buf, char *end, const struct rtc_time *tm, bool r)
lib/vsprintf.c
1902
char *time_str(char *buf, char *end, const struct rtc_time *tm, bool r)
lib/vsprintf.c
1918
char *rtc_str(char *buf, char *end, const struct rtc_time *tm,
lib/vsprintf.c
1968
struct rtc_time rtc_time;
lib/vsprintf.c
1973
rtc_time.tm_sec = tm.tm_sec;
lib/vsprintf.c
1974
rtc_time.tm_min = tm.tm_min;
lib/vsprintf.c
1975
rtc_time.tm_hour = tm.tm_hour;
lib/vsprintf.c
1976
rtc_time.tm_mday = tm.tm_mday;
lib/vsprintf.c
1977
rtc_time.tm_mon = tm.tm_mon;
lib/vsprintf.c
1978
rtc_time.tm_year = tm.tm_year;
lib/vsprintf.c
1979
rtc_time.tm_wday = tm.tm_wday;
lib/vsprintf.c
1980
rtc_time.tm_yday = tm.tm_yday;
lib/vsprintf.c
1982
rtc_time.tm_isdst = 0;
lib/vsprintf.c
1984
return rtc_str(buf, end, &rtc_time, spec, fmt);
lib/vsprintf.c
2018
return rtc_str(buf, end, (const struct rtc_time *)ptr, spec, fmt);
samples/pfsm/pfsm-wakeup.c
34
struct rtc_time rtc_tm;
tools/testing/selftests/rtc/rtctest.c
117
struct rtc_time rtc_tm;
tools/testing/selftests/rtc/rtctest.c
225
struct rtc_time tm;
tools/testing/selftests/rtc/rtctest.c
294
struct rtc_time tm;
tools/testing/selftests/rtc/rtctest.c
359
struct rtc_time tm;
tools/testing/selftests/rtc/rtctest.c
426
struct rtc_time tm;
tools/testing/selftests/rtc/rtctest.c
49
struct rtc_time rtc_tm;
tools/testing/selftests/rtc/rtctest.c
64
static time_t rtc_time_to_timestamp(struct rtc_time *rtc_time)
tools/testing/selftests/rtc/rtctest.c
67
.tm_sec = rtc_time->tm_sec,
tools/testing/selftests/rtc/rtctest.c
68
.tm_min = rtc_time->tm_min,
tools/testing/selftests/rtc/rtctest.c
69
.tm_hour = rtc_time->tm_hour,
tools/testing/selftests/rtc/rtctest.c
70
.tm_mday = rtc_time->tm_mday,
tools/testing/selftests/rtc/rtctest.c
71
.tm_mon = rtc_time->tm_mon,
tools/testing/selftests/rtc/rtctest.c
72
.tm_year = rtc_time->tm_year,