rtc_time 25 arch/alpha/include/asm/machvec.h struct rtc_time; rtc_time 81 arch/alpha/kernel/rtc.c alpha_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 104 arch/alpha/kernel/rtc.c alpha_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 106 arch/alpha/kernel/rtc.c struct rtc_time xtm; rtc_time 149 arch/alpha/kernel/rtc.c struct rtc_time *tm; rtc_time 161 arch/alpha/kernel/rtc.c remote_read_time(struct device *dev, struct rtc_time *tm) rtc_time 180 arch/alpha/kernel/rtc.c remote_set_time(struct device *dev, struct rtc_time *tm) rtc_time 30 arch/m68k/68000/m68328.c int m68328_hwclk(int set, struct rtc_time *t); rtc_time 29 arch/m68k/68000/m68EZ328.c int m68328_hwclk(int set, struct rtc_time *t); rtc_time 37 arch/m68k/68000/m68VZ328.c int m68328_hwclk(int set, struct rtc_time *t); rtc_time 124 arch/m68k/68000/timers.c int m68328_hwclk(int set, struct rtc_time *t) rtc_time 32 arch/m68k/apollo/config.c extern int dn_dummy_hwclk(int, struct rtc_time *); rtc_time 206 arch/m68k/apollo/config.c int dn_dummy_hwclk(int op, struct rtc_time *t) { rtc_time 81 arch/m68k/atari/config.c extern int atari_mste_hwclk (int, struct rtc_time *); rtc_time 82 arch/m68k/atari/config.c extern int atari_tt_hwclk (int, struct rtc_time *); rtc_time 139 arch/m68k/atari/time.c int atari_mste_hwclk( int op, struct rtc_time *t ) rtc_time 198 arch/m68k/atari/time.c int atari_tt_hwclk( int op, struct rtc_time *t ) rtc_time 43 arch/m68k/bvme6000/config.c extern int bvme6000_hwclk (int, struct rtc_time *); rtc_time 289 arch/m68k/bvme6000/config.c int bvme6000_hwclk(int op, struct rtc_time *t) rtc_time 44 arch/m68k/bvme6000/rtc.c struct rtc_time wtime; rtc_time 54 arch/m68k/bvme6000/rtc.c memset(&wtime, 0, sizeof(struct rtc_time)); rtc_time 73 arch/m68k/bvme6000/rtc.c struct rtc_time rtc_tm; rtc_time 80 arch/m68k/bvme6000/rtc.c if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time))) rtc_time 203 arch/m68k/hp300/config.c static int hp300_hwclk(int op, struct rtc_time *t) rtc_time 11 arch/m68k/include/asm/machdep.h struct rtc_time; rtc_time 21 arch/m68k/include/asm/machdep.h extern int (*mach_hwclk)(int, struct rtc_time*); rtc_time 91 arch/m68k/kernel/setup_mm.c int (*mach_hwclk) (int, struct rtc_time*); rtc_time 54 arch/m68k/kernel/setup_no.c int (*mach_hwclk) (int, struct rtc_time*); rtc_time 79 arch/m68k/kernel/time.c struct rtc_time time; rtc_time 95 arch/m68k/kernel/time.c static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm) rtc_time 101 arch/m68k/kernel/time.c static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm) rtc_time 57 arch/m68k/mac/config.c extern int mac_hwclk(int, struct rtc_time *); rtc_time 292 arch/m68k/mac/misc.c static void via_set_rtc_time(struct rtc_time *tm) rtc_time 610 arch/m68k/mac/misc.c int mac_hwclk(int op, struct rtc_time *t) rtc_time 42 arch/m68k/mvme147/config.c extern int mvme147_hwclk (int, struct rtc_time *); rtc_time 173 arch/m68k/mvme147/config.c int mvme147_hwclk(int op, struct rtc_time *t) rtc_time 48 arch/m68k/mvme16x/config.c extern int mvme16x_hwclk (int, struct rtc_time *); rtc_time 438 arch/m68k/mvme16x/config.c int mvme16x_hwclk(int op, struct rtc_time *t) rtc_time 42 arch/m68k/mvme16x/rtc.c struct rtc_time wtime; rtc_time 51 arch/m68k/mvme16x/rtc.c memset(&wtime, 0, sizeof(struct rtc_time)); rtc_time 68 arch/m68k/mvme16x/rtc.c struct rtc_time rtc_tm; rtc_time 75 arch/m68k/mvme16x/rtc.c if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time))) rtc_time 43 arch/m68k/q40/config.c static int q40_hwclk(int, struct rtc_time *); rtc_time 217 arch/m68k/q40/config.c static int q40_hwclk(int op, struct rtc_time *t) rtc_time 42 arch/m68k/sun3/config.c extern int sun3_hwclk(int set, struct rtc_time *t); rtc_time 27 arch/m68k/sun3/intersil.c int sun3_hwclk(int set, struct rtc_time *t) rtc_time 40 arch/m68k/sun3x/time.c int sun3x_hwclk(int set, struct rtc_time *t) rtc_time 5 arch/m68k/sun3x/time.h extern int sun3x_hwclk(int set, struct rtc_time *t); rtc_time 141 arch/mips/sibyte/swarm/rtc_m41t81.c struct rtc_time tm; rtc_time 110 arch/mips/sibyte/swarm/rtc_xicor1241.c struct rtc_time tm; rtc_time 167 arch/parisc/kernel/time.c static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm) rtc_time 180 arch/parisc/kernel/time.c static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm) rtc_time 22 arch/powerpc/include/asm/machdep.h struct rtc_time; rtc_time 72 arch/powerpc/include/asm/machdep.h int (*set_rtc_time)(struct rtc_time *); rtc_time 73 arch/powerpc/include/asm/machdep.h void (*get_rtc_time)(struct rtc_time *); rtc_time 343 arch/powerpc/include/asm/opal.h struct rtc_time; rtc_time 375 arch/powerpc/include/asm/rtas.h struct rtc_time; rtc_time 377 arch/powerpc/include/asm/rtas.h extern void rtas_get_rtc_time(struct rtc_time *rtc_time); rtc_time 378 arch/powerpc/include/asm/rtas.h extern int rtas_set_rtc_time(struct rtc_time *rtc_time); rtc_time 470 arch/powerpc/include/asm/smu.h struct rtc_time; rtc_time 471 arch/powerpc/include/asm/smu.h extern int smu_get_rtc_time(struct rtc_time *time, int spinwait); rtc_time 472 arch/powerpc/include/asm/smu.h extern int smu_set_rtc_time(struct rtc_time *time, int spinwait); rtc_time 285 arch/powerpc/kernel/rtas-proc.c struct rtc_time tm; rtc_time 351 arch/powerpc/kernel/rtas-proc.c struct rtc_time tm; rtc_time 48 arch/powerpc/kernel/rtas-rtc.c void rtas_get_rtc_time(struct rtc_time *rtc_tm) rtc_time 62 arch/powerpc/kernel/rtas-rtc.c memset(rtc_tm, 0, sizeof(struct rtc_time)); rtc_time 87 arch/powerpc/kernel/rtas-rtc.c int rtas_set_rtc_time(struct rtc_time *tm) rtc_time 807 arch/powerpc/kernel/time.c struct rtc_time tm; rtc_time 819 arch/powerpc/kernel/time.c struct rtc_time tm; rtc_time 1190 arch/powerpc/kernel/time.c static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm) rtc_time 1196 arch/powerpc/kernel/time.c static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm) rtc_time 169 arch/powerpc/platforms/8xx/m8xx_setup.c int mpc8xx_set_rtc_time(struct rtc_time *tm) rtc_time 188 arch/powerpc/platforms/8xx/m8xx_setup.c void mpc8xx_get_rtc_time(struct rtc_time *tm) rtc_time 16 arch/powerpc/platforms/8xx/mpc8xx.h extern int mpc8xx_set_rtc_time(struct rtc_time *tm); rtc_time 17 arch/powerpc/platforms/8xx/mpc8xx.h extern void mpc8xx_get_rtc_time(struct rtc_time *tm); rtc_time 7 arch/powerpc/platforms/chrp/chrp.h extern void chrp_get_rtc_time(struct rtc_time *); rtc_time 8 arch/powerpc/platforms/chrp/chrp.h extern int chrp_set_rtc_time(struct rtc_time *); rtc_time 88 arch/powerpc/platforms/chrp/time.c int chrp_set_rtc_time(struct rtc_time *tmarg) rtc_time 91 arch/powerpc/platforms/chrp/time.c struct rtc_time tm = *tmarg; rtc_time 132 arch/powerpc/platforms/chrp/time.c void chrp_get_rtc_time(struct rtc_time *tm) rtc_time 7 arch/powerpc/platforms/maple/maple.h extern int maple_set_rtc_time(struct rtc_time *tm); rtc_time 8 arch/powerpc/platforms/maple/maple.h extern void maple_get_rtc_time(struct rtc_time *tm); rtc_time 52 arch/powerpc/platforms/maple/time.c void maple_get_rtc_time(struct rtc_time *tm) rtc_time 78 arch/powerpc/platforms/maple/time.c int maple_set_rtc_time(struct rtc_time *tm) rtc_time 137 arch/powerpc/platforms/maple/time.c struct rtc_time tm; rtc_time 13 arch/powerpc/platforms/powermac/pmac.h struct rtc_time; rtc_time 19 arch/powerpc/platforms/powermac/pmac.h extern void pmac_get_rtc_time(struct rtc_time *); rtc_time 20 arch/powerpc/platforms/powermac/pmac.h extern int pmac_set_rtc_time(struct rtc_time *); rtc_time 89 arch/powerpc/platforms/powermac/time.c struct rtc_time tm; rtc_time 119 arch/powerpc/platforms/powermac/time.c void pmac_get_rtc_time(struct rtc_time *tm) rtc_time 143 arch/powerpc/platforms/powermac/time.c int pmac_set_rtc_time(struct rtc_time *tm) rtc_time 21 arch/powerpc/platforms/powernv/opal-rtc.c static void opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm) rtc_time 35 arch/powerpc/platforms/powernv/opal-rtc.c struct rtc_time tm; rtc_time 49 arch/powerpc/platforms/ps3/platform.h void ps3_get_rtc_time(struct rtc_time *time); rtc_time 50 arch/powerpc/platforms/ps3/platform.h int ps3_set_rtc_time(struct rtc_time *time); rtc_time 33 arch/sh/boards/mach-dreamcast/rtc.c static int aica_rtc_gettimeofday(struct device *dev, struct rtc_time *tm) rtc_time 61 arch/sh/boards/mach-dreamcast/rtc.c static int aica_rtc_settimeofday(struct device *dev, struct rtc_time *tm) rtc_time 42 arch/sh/boards/mach-sh03/rtc.c static int sh03_rtc_gettimeofday(struct device *dev, struct rtc_time *tm) rtc_time 90 arch/sh/boards/mach-sh03/rtc.c static int set_rtc_mmss(struct rtc_time *tm) rtc_time 124 arch/sh/boards/mach-sh03/rtc.c int sh03_rtc_settimeofday(struct device *dev, struct rtc_time *tm) rtc_time 1029 arch/x86/kernel/hpet.c static struct rtc_time hpet_alarm_time; rtc_time 1241 arch/x86/kernel/hpet.c struct rtc_time curr_time; rtc_time 1245 arch/x86/kernel/hpet.c memset(&curr_time, 0, sizeof(struct rtc_time)); rtc_time 45 arch/x86/kernel/rtc.c struct rtc_time tm; rtc_time 89 arch/x86/platform/intel-mid/intel_mid_vrtc.c struct rtc_time tm; rtc_time 90 drivers/base/power/trace.c static struct rtc_time time = { rtc_time 119 drivers/base/power/trace.c struct rtc_time time; rtc_time 103 drivers/char/efirtc.c convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft) rtc_time 118 drivers/char/efirtc.c convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime) rtc_time 155 drivers/char/efirtc.c struct rtc_time wtime; rtc_time 190 drivers/char/efirtc.c sizeof (struct rtc_time)) ? - EFAULT : 0; rtc_time 196 drivers/char/efirtc.c if (copy_from_user(&wtime, (struct rtc_time __user *)arg, rtc_time 197 drivers/char/efirtc.c sizeof(struct rtc_time)) ) rtc_time 217 drivers/char/efirtc.c || copy_from_user(&wtime, &ewp->time, sizeof(struct rtc_time)) ) rtc_time 253 drivers/char/efirtc.c sizeof(struct rtc_time)) ? -EFAULT : 0; rtc_time 143 drivers/char/rtc.c static void rtc_get_rtc_time(struct rtc_time *rtc_tm); rtc_time 149 drivers/char/rtc.c static void get_rtc_alm_time(struct rtc_time *alm_tm); rtc_time 383 drivers/char/rtc.c struct rtc_time wtime; rtc_time 470 drivers/char/rtc.c memset(&wtime, 0, sizeof(struct rtc_time)); rtc_time 482 drivers/char/rtc.c struct rtc_time alm_tm; rtc_time 484 drivers/char/rtc.c if (copy_from_user(&alm_tm, (struct rtc_time __user *)arg, rtc_time 485 drivers/char/rtc.c sizeof(struct rtc_time))) rtc_time 525 drivers/char/rtc.c memset(&wtime, 0, sizeof(struct rtc_time)); rtc_time 531 drivers/char/rtc.c struct rtc_time rtc_tm; rtc_time 542 drivers/char/rtc.c if (copy_from_user(&rtc_tm, (struct rtc_time __user *)arg, rtc_time 543 drivers/char/rtc.c sizeof(struct rtc_time))) rtc_time 1106 drivers/char/rtc.c struct rtc_time tm; rtc_time 1178 drivers/char/rtc.c static void rtc_get_rtc_time(struct rtc_time *rtc_tm) rtc_time 1247 drivers/char/rtc.c static void get_rtc_alm_time(struct rtc_time *alm_tm) rtc_time 84 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_do_read_bbrtc (struct rtc_time *rtctm) rtc_time 120 drivers/input/misc/hp_sdc_rtc.c memset(rtctm, 0, sizeof(struct rtc_time)); rtc_time 132 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_read_bbrtc (struct rtc_time *rtctm) rtc_time 134 drivers/input/misc/hp_sdc_rtc.c struct rtc_time tm, tm_last; rtc_time 142 drivers/input/misc/hp_sdc_rtc.c while (memcmp(&tm, &tm_last, sizeof(struct rtc_time))) { rtc_time 144 drivers/input/misc/hp_sdc_rtc.c memcpy(&tm_last, &tm, sizeof(struct rtc_time)); rtc_time 148 drivers/input/misc/hp_sdc_rtc.c memcpy(rtctm, &tm, sizeof(struct rtc_time)); rtc_time 435 drivers/input/misc/hp_sdc_rtc.c struct rtc_time tm; rtc_time 438 drivers/input/misc/hp_sdc_rtc.c memset(&tm, 0, sizeof(struct rtc_time)); rtc_time 517 drivers/input/misc/hp_sdc_rtc.c struct rtc_time wtime; rtc_time 598 drivers/input/misc/hp_sdc_rtc.c struct rtc_time hp_sdc_rtc_tm; rtc_time 604 drivers/input/misc/hp_sdc_rtc.c if (copy_from_user(&hp_sdc_rtc_tm, (struct rtc_time *)arg, rtc_time 605 drivers/input/misc/hp_sdc_rtc.c sizeof(struct rtc_time))) rtc_time 365 drivers/macintosh/smu.c struct rtc_time *time) rtc_time 380 drivers/macintosh/smu.c int smu_get_rtc_time(struct rtc_time *time, int spinwait) rtc_time 388 drivers/macintosh/smu.c memset(time, 0, sizeof(struct rtc_time)); rtc_time 407 drivers/macintosh/smu.c int smu_set_rtc_time(struct rtc_time *time, int spinwait) rtc_time 791 drivers/macintosh/via-cuda.c int cuda_set_rtc_time(struct rtc_time *tm) rtc_time 1758 drivers/macintosh/via-pmu.c int pmu_set_rtc_time(struct rtc_time *tm) rtc_time 828 drivers/mfd/menelaus.c static void menelaus_to_time(char *regs, struct rtc_time *t) rtc_time 843 drivers/mfd/menelaus.c static int time_to_menelaus(struct rtc_time *t, int regnum) rtc_time 886 drivers/mfd/menelaus.c static int menelaus_read_time(struct device *dev, struct rtc_time *t) rtc_time 917 drivers/mfd/menelaus.c static int menelaus_set_time(struct device *dev, struct rtc_time *t) rtc_time 88 drivers/platform/chrome/cros_usbpd_logger.c struct rtc_time rt; rtc_time 50 drivers/rtc/class.c struct rtc_time tm; rtc_time 95 drivers/rtc/class.c struct rtc_time tm; rtc_time 48 drivers/rtc/dev.c struct rtc_time tm; rtc_time 109 drivers/rtc/dev.c struct rtc_time tm; rtc_time 208 drivers/rtc/dev.c struct rtc_time tm; rtc_time 27 drivers/rtc/hctosys.c struct rtc_time tm; rtc_time 23 drivers/rtc/interface.c static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm) rtc_time 46 drivers/rtc/interface.c static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm) rtc_time 67 drivers/rtc/interface.c static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm) rtc_time 84 drivers/rtc/interface.c static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) rtc_time 93 drivers/rtc/interface.c memset(tm, 0, sizeof(struct rtc_time)); rtc_time 110 drivers/rtc/interface.c int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) rtc_time 126 drivers/rtc/interface.c int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) rtc_time 215 drivers/rtc/interface.c struct rtc_time before, now; rtc_time 268 drivers/rtc/interface.c memcpy(&before, &now, sizeof(struct rtc_time)); rtc_time 411 drivers/rtc/interface.c struct rtc_time tm; rtc_time 486 drivers/rtc/interface.c struct rtc_time now; rtc_time 570 drivers/rtc/interface.c struct rtc_time tm; rtc_time 794 drivers/rtc/interface.c struct rtc_time tm; rtc_time 892 drivers/rtc/interface.c struct rtc_time tm; rtc_time 49 drivers/rtc/lib.c void rtc_time64_to_tm(time64_t time, struct rtc_time *tm) rtc_time 94 drivers/rtc/lib.c int rtc_valid_tm(struct rtc_time *tm) rtc_time 115 drivers/rtc/lib.c time64_t rtc_tm_to_time64(struct rtc_time *tm) rtc_time 125 drivers/rtc/lib.c ktime_t rtc_tm_to_ktime(struct rtc_time tm) rtc_time 134 drivers/rtc/lib.c struct rtc_time rtc_ktime_to_tm(ktime_t kt) rtc_time 137 drivers/rtc/lib.c struct rtc_time ret; rtc_time 45 drivers/rtc/proc.c struct rtc_time tm; rtc_time 76 drivers/rtc/rtc-88pm80x.c static void rtc_next_alarm_time(struct rtc_time *next, struct rtc_time *now, rtc_time 77 drivers/rtc/rtc-88pm80x.c struct rtc_time *alrm) rtc_time 99 drivers/rtc/rtc-88pm80x.c static int pm80x_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 120 drivers/rtc/rtc-88pm80x.c static int pm80x_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 173 drivers/rtc/rtc-88pm80x.c struct rtc_time now_tm, alarm_tm; rtc_time 83 drivers/rtc/rtc-88pm860x.c static void rtc_next_alarm_time(struct rtc_time *next, struct rtc_time *now, rtc_time 84 drivers/rtc/rtc-88pm860x.c struct rtc_time *alrm) rtc_time 106 drivers/rtc/rtc-88pm860x.c static int pm860x_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 131 drivers/rtc/rtc-88pm860x.c static int pm860x_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 193 drivers/rtc/rtc-88pm860x.c struct rtc_time now_tm, alarm_tm; rtc_time 320 drivers/rtc/rtc-88pm860x.c struct rtc_time tm; rtc_time 205 drivers/rtc/rtc-ab-b5ze-s3.c static int _abb5zes3_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 248 drivers/rtc/rtc-ab-b5ze-s3.c static int abb5zes3_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 301 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time rtc_tm, *alarm_tm = &alarm->time; rtc_time 354 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time rtc_tm, *alarm_tm = &alarm->time; rtc_time 440 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time *alarm_tm = &alarm->time; rtc_time 442 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time rtc_tm; rtc_time 544 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time *alarm_tm = &alarm->time; rtc_time 546 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time rtc_tm; rtc_time 124 drivers/rtc/rtc-ab-eoz9.c static int abeoz9_rtc_get_time(struct device *dev, struct rtc_time *tm) rtc_time 162 drivers/rtc/rtc-ab-eoz9.c static int abeoz9_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 46 drivers/rtc/rtc-ab3100.c static int ab3100_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 76 drivers/rtc/rtc-ab3100.c static int ab3100_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 61 drivers/rtc/rtc-ab8500.c static int ab8500_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 107 drivers/rtc/rtc-ab8500.c static int ab8500_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 188 drivers/rtc/rtc-ab8500.c struct rtc_time curtm; rtc_time 160 drivers/rtc/rtc-abx80x.c static int abx80x_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 200 drivers/rtc/rtc-abx80x.c static int abx80x_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 384 drivers/rtc/rtc-ac100.c static int ac100_rtc_get_time(struct device *dev, struct rtc_time *rtc_tm) rtc_time 407 drivers/rtc/rtc-ac100.c static int ac100_rtc_set_time(struct device *dev, struct rtc_time *rtc_tm) rtc_time 455 drivers/rtc/rtc-ac100.c struct rtc_time *alrm_tm = &alrm->time; rtc_time 486 drivers/rtc/rtc-ac100.c struct rtc_time *alrm_tm = &alrm->time; rtc_time 213 drivers/rtc/rtc-armada38x.c static int armada38x_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 244 drivers/rtc/rtc-armada38x.c static int armada38x_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 33 drivers/rtc/rtc-as3722.c static void as3722_time_to_reg(u8 *rbuff, struct rtc_time *tm) rtc_time 43 drivers/rtc/rtc-as3722.c static void as3722_reg_to_time(u8 *rbuff, struct rtc_time *tm) rtc_time 54 drivers/rtc/rtc-as3722.c static int as3722_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 71 drivers/rtc/rtc-as3722.c static int as3722_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 136 drivers/rtc/rtc-asm9260.c static int asm9260_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 169 drivers/rtc/rtc-asm9260.c static int asm9260_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 22 drivers/rtc/rtc-aspeed.c static int aspeed_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 53 drivers/rtc/rtc-aspeed.c static int aspeed_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 109 drivers/rtc/rtc-at91rm9200.c struct rtc_time *tm) rtc_time 139 drivers/rtc/rtc-at91rm9200.c static int at91_rtc_readtime(struct device *dev, struct rtc_time *tm) rtc_time 153 drivers/rtc/rtc-at91rm9200.c static int at91_rtc_settime(struct device *dev, struct rtc_time *tm) rtc_time 195 drivers/rtc/rtc-at91rm9200.c struct rtc_time *tm = &alrm->time; rtc_time 214 drivers/rtc/rtc-at91rm9200.c struct rtc_time tm; rtc_time 103 drivers/rtc/rtc-at91sam9.c static int at91_rtc_readtime(struct device *dev, struct rtc_time *tm) rtc_time 130 drivers/rtc/rtc-at91sam9.c static int at91_rtc_settime(struct device *dev, struct rtc_time *tm) rtc_time 178 drivers/rtc/rtc-at91sam9.c struct rtc_time *tm = &alrm->time; rtc_time 202 drivers/rtc/rtc-at91sam9.c struct rtc_time *tm = &alrm->time; rtc_time 31 drivers/rtc/rtc-au1xxx.c static int au1xtoy_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 42 drivers/rtc/rtc-au1xxx.c static int au1xtoy_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 164 drivers/rtc/rtc-bd70528.c static inline void tmday2rtc(struct rtc_time *t, struct bd70528_rtc_day *d) rtc_time 174 drivers/rtc/rtc-bd70528.c static inline void tm2rtc(struct rtc_time *t, struct bd70528_rtc_data *r) rtc_time 196 drivers/rtc/rtc-bd70528.c static inline void rtc2tm(struct bd70528_rtc_data *r, struct rtc_time *t) rtc_time 288 drivers/rtc/rtc-bd70528.c static int bd70528_set_time_locked(struct device *dev, struct rtc_time *t) rtc_time 324 drivers/rtc/rtc-bd70528.c static int bd70528_set_time(struct device *dev, struct rtc_time *t) rtc_time 335 drivers/rtc/rtc-bd70528.c static int bd70528_get_time(struct device *dev, struct rtc_time *t) rtc_time 432 drivers/rtc/rtc-bd70528.c struct rtc_time t; rtc_time 89 drivers/rtc/rtc-bq32k.c static int bq32k_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 117 drivers/rtc/rtc-bq32k.c static int bq32k_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 50 drivers/rtc/rtc-bq4802.c static int bq4802_read_time(struct device *dev, struct rtc_time *tm) rtc_time 92 drivers/rtc/rtc-bq4802.c static int bq4802_set_time(struct device *dev, struct rtc_time *tm) rtc_time 120 drivers/rtc/rtc-brcmstb-waketimer.c struct rtc_time *tm) rtc_time 133 drivers/rtc/rtc-brcmstb-waketimer.c struct rtc_time *tm) rtc_time 112 drivers/rtc/rtc-cadence.c static u32 cdns_rtc_time2reg(struct rtc_time *tm) rtc_time 119 drivers/rtc/rtc-cadence.c static void cdns_rtc_reg2time(u32 reg, struct rtc_time *tm) rtc_time 126 drivers/rtc/rtc-cadence.c static int cdns_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 151 drivers/rtc/rtc-cadence.c static int cdns_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 223 drivers/rtc/rtc-cmos.c static int cmos_read_time(struct device *dev, struct rtc_time *t) rtc_time 240 drivers/rtc/rtc-cmos.c static int cmos_set_time(struct device *dev, struct rtc_time *t) rtc_time 382 drivers/rtc/rtc-cmos.c struct rtc_time now; rtc_time 399 drivers/rtc/rtc-cmos.c struct rtc_time max_date = now; rtc_time 423 drivers/rtc/rtc-cmos.c struct rtc_time max_date = now; rtc_time 935 drivers/rtc/rtc-cmos.c struct rtc_time now; rtc_time 1038 drivers/rtc/rtc-cmos.c struct rtc_time now; rtc_time 77 drivers/rtc/rtc-coh901331.c static int coh901331_read_time(struct device *dev, struct rtc_time *tm) rtc_time 93 drivers/rtc/rtc-coh901331.c static int coh901331_set_time(struct device *dev, struct rtc_time *tm) rtc_time 51 drivers/rtc/rtc-cpcap.c static void cpcap2rtc_time(struct rtc_time *rtc, struct cpcap_time *cpcap) rtc_time 62 drivers/rtc/rtc-cpcap.c static void rtc2cpcap_time(struct cpcap_time *cpcap, struct rtc_time *rtc) rtc_time 91 drivers/rtc/rtc-cpcap.c static int cpcap_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 118 drivers/rtc/rtc-cpcap.c static int cpcap_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 86 drivers/rtc/rtc-cros-ec.c static int cros_ec_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 105 drivers/rtc/rtc-cros-ec.c static int cros_ec_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 327 drivers/rtc/rtc-cros-ec.c struct rtc_time tm; rtc_time 56 drivers/rtc/rtc-da9052.c static int da9052_read_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm) rtc_time 99 drivers/rtc/rtc-da9052.c static int da9052_set_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm) rtc_time 155 drivers/rtc/rtc-da9052.c static int da9052_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm) rtc_time 198 drivers/rtc/rtc-da9052.c static int da9052_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 226 drivers/rtc/rtc-da9052.c struct rtc_time *tm = &alrm->time; rtc_time 242 drivers/rtc/rtc-da9052.c struct rtc_time *tm = &alrm->time; rtc_time 56 drivers/rtc/rtc-da9055.c static int da9055_read_alarm(struct da9055 *da9055, struct rtc_time *rtc_tm) rtc_time 77 drivers/rtc/rtc-da9055.c static int da9055_set_alarm(struct da9055 *da9055, struct rtc_time *rtc_tm) rtc_time 125 drivers/rtc/rtc-da9055.c static int da9055_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm) rtc_time 159 drivers/rtc/rtc-da9055.c static int da9055_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 179 drivers/rtc/rtc-da9055.c struct rtc_time *tm = &alrm->time; rtc_time 195 drivers/rtc/rtc-da9055.c struct rtc_time *tm = &alrm->time; rtc_time 67 drivers/rtc/rtc-da9063.c struct rtc_time alarm_time; rtc_time 166 drivers/rtc/rtc-da9063.c static void da9063_data_to_tm(u8 *data, struct rtc_time *tm, rtc_time 181 drivers/rtc/rtc-da9063.c static void da9063_tm_to_data(struct rtc_time *tm, u8 *data, rtc_time 218 drivers/rtc/rtc-da9063.c static int da9063_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 247 drivers/rtc/rtc-da9063.c memcpy(tm, &rtc->alarm_time, sizeof(struct rtc_time)); rtc_time 254 drivers/rtc/rtc-da9063.c static int da9063_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 230 drivers/rtc/rtc-davinci.c static int convertfromdays(u16 days, struct rtc_time *tm) rtc_time 256 drivers/rtc/rtc-davinci.c static int convert2days(u16 *days, struct rtc_time *tm) rtc_time 273 drivers/rtc/rtc-davinci.c static int davinci_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 309 drivers/rtc/rtc-davinci.c static int davinci_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 418 drivers/rtc/rtc-davinci.c struct rtc_time tm; rtc_time 91 drivers/rtc/rtc-digicolor.c static int dc_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 105 drivers/rtc/rtc-digicolor.c static int dc_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 33 drivers/rtc/rtc-dm355evm.c static int dm355evm_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 81 drivers/rtc/rtc-dm355evm.c static int dm355evm_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 78 drivers/rtc/rtc-ds1216.c static int ds1216_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 105 drivers/rtc/rtc-ds1216.c static int ds1216_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 150 drivers/rtc/rtc-ds1286.c static int ds1286_read_time(struct device *dev, struct rtc_time *tm) rtc_time 213 drivers/rtc/rtc-ds1286.c static int ds1286_set_time(struct device *dev, struct rtc_time *tm) rtc_time 39 drivers/rtc/rtc-ds1302.c static int ds1302_rtc_set_time(struct device *dev, struct rtc_time *time) rtc_time 74 drivers/rtc/rtc-ds1302.c static int ds1302_rtc_get_time(struct device *dev, struct rtc_time *time) rtc_time 170 drivers/rtc/rtc-ds1305.c static int ds1305_get_time(struct device *dev, struct rtc_time *time) rtc_time 205 drivers/rtc/rtc-ds1305.c static int ds1305_set_time(struct device *dev, struct rtc_time *time) rtc_time 323 drivers/rtc/rtc-ds1305.c struct rtc_time tm; rtc_time 187 drivers/rtc/rtc-ds1307.c static int ds1307_get_time(struct device *dev, struct rtc_time *t) rtc_time 287 drivers/rtc/rtc-ds1307.c static int ds1307_set_time(struct device *dev, struct rtc_time *t) rtc_time 729 drivers/rtc/rtc-ds1307.c static int mcp794xx_alm_weekday(struct device *dev, struct rtc_time *tm_alarm) rtc_time 731 drivers/rtc/rtc-ds1307.c struct rtc_time tm_now; rtc_time 235 drivers/rtc/rtc-ds1343.c static int ds1343_read_time(struct device *dev, struct rtc_time *dt) rtc_time 256 drivers/rtc/rtc-ds1343.c static int ds1343_set_time(struct device *dev, struct rtc_time *dt) rtc_time 44 drivers/rtc/rtc-ds1347.c static int ds1347_read_time(struct device *dev, struct rtc_time *dt) rtc_time 68 drivers/rtc/rtc-ds1347.c static int ds1347_set_time(struct device *dev, struct rtc_time *dt) rtc_time 159 drivers/rtc/rtc-ds1374.c static int ds1374_read_time(struct device *dev, struct rtc_time *time) rtc_time 172 drivers/rtc/rtc-ds1374.c static int ds1374_set_time(struct device *dev, struct rtc_time *time) rtc_time 228 drivers/rtc/rtc-ds1374.c struct rtc_time now; rtc_time 127 drivers/rtc/rtc-ds1390.c static int ds1390_read_time(struct device *dev, struct rtc_time *dt) rtc_time 156 drivers/rtc/rtc-ds1390.c static int ds1390_set_time(struct device *dev, struct rtc_time *dt) rtc_time 180 drivers/rtc/rtc-ds1511.c static int ds1511_rtc_set_time(struct device *dev, struct rtc_time *rtc_tm) rtc_time 239 drivers/rtc/rtc-ds1511.c static int ds1511_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm) rtc_time 71 drivers/rtc/rtc-ds1553.c static int ds1553_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 95 drivers/rtc/rtc-ds1553.c static int ds1553_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 26 drivers/rtc/rtc-ds1672.c static int ds1672_read_time(struct device *dev, struct rtc_time *tm) rtc_time 81 drivers/rtc/rtc-ds1672.c static int ds1672_set_time(struct device *dev, struct rtc_time *tm) rtc_time 229 drivers/rtc/rtc-ds1685.c ds1685_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 278 drivers/rtc/rtc-ds1685.c ds1685_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 56 drivers/rtc/rtc-ds1742.c static int ds1742_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 80 drivers/rtc/rtc-ds1742.c static int ds1742_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 182 drivers/rtc/rtc-ds2404.c static int ds2404_read_time(struct device *dev, struct rtc_time *dt) rtc_time 194 drivers/rtc/rtc-ds2404.c static int ds2404_set_time(struct device *dev, struct rtc_time *dt) rtc_time 97 drivers/rtc/rtc-ds3232.c static int ds3232_read_time(struct device *dev, struct rtc_time *time) rtc_time 151 drivers/rtc/rtc-ds3232.c static int ds3232_set_time(struct device *dev, struct rtc_time *time) rtc_time 53 drivers/rtc/rtc-efi.c convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft) rtc_time 67 drivers/rtc/rtc-efi.c convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime) rtc_time 157 drivers/rtc/rtc-efi.c static int efi_read_time(struct device *dev, struct rtc_time *tm) rtc_time 177 drivers/rtc/rtc-efi.c static int efi_set_time(struct device *dev, struct rtc_time *tm) rtc_time 42 drivers/rtc/rtc-em3027.c static int em3027_get_time(struct device *dev, struct rtc_time *tm) rtc_time 80 drivers/rtc/rtc-em3027.c static int em3027_set_time(struct device *dev, struct rtc_time *tm) rtc_time 52 drivers/rtc/rtc-ep93xx.c static int ep93xx_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 63 drivers/rtc/rtc-ep93xx.c static int ep93xx_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 92 drivers/rtc/rtc-fm3130.c static int fm3130_get_time(struct device *dev, struct rtc_time *t) rtc_time 139 drivers/rtc/rtc-fm3130.c static int fm3130_set_time(struct device *dev, struct rtc_time *t) rtc_time 186 drivers/rtc/rtc-fm3130.c struct rtc_time *tm = &alrm->time; rtc_time 242 drivers/rtc/rtc-fm3130.c struct rtc_time *tm = &alrm->time; rtc_time 181 drivers/rtc/rtc-fsl-ftm-alarm.c static int ftm_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 209 drivers/rtc/rtc-fsl-ftm-alarm.c struct rtc_time tm; rtc_time 64 drivers/rtc/rtc-ftrtc010.c static int ftrtc010_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 84 drivers/rtc/rtc-ftrtc010.c static int ftrtc010_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 119 drivers/rtc/rtc-goldfish.c static int goldfish_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 141 drivers/rtc/rtc-goldfish.c static int goldfish_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 27 drivers/rtc/rtc-hid-sensor-time.c struct rtc_time last_time; rtc_time 30 drivers/rtc/rtc-hid-sensor-time.c struct rtc_time time_buf; rtc_time 81 drivers/rtc/rtc-hid-sensor-time.c struct rtc_time *time_buf = &time_state->time_buf; rtc_time 192 drivers/rtc/rtc-hid-sensor-time.c static int hid_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 91 drivers/rtc/rtc-hym8563.c static int hym8563_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 118 drivers/rtc/rtc-hym8563.c static int hym8563_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 186 drivers/rtc/rtc-hym8563.c struct rtc_time *alm_tm = &alm->time; rtc_time 223 drivers/rtc/rtc-hym8563.c struct rtc_time *alm_tm = &alm->time; rtc_time 42 drivers/rtc/rtc-imx-sc.c static int imx_sc_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 64 drivers/rtc/rtc-imx-sc.c static int imx_sc_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 98 drivers/rtc/rtc-imx-sc.c struct rtc_time *alrm_tm = &alrm->time; rtc_time 539 drivers/rtc/rtc-imxdi.c static int dryice_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 554 drivers/rtc/rtc-imxdi.c static int dryice_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 104 drivers/rtc/rtc-isl12022.c static int isl12022_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 153 drivers/rtc/rtc-isl12022.c static int isl12022_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 165 drivers/rtc/rtc-isl12026.c static int isl12026_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 204 drivers/rtc/rtc-isl12026.c static int isl12026_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 304 drivers/rtc/rtc-isl1208.c isl1208_i2c_read_time(struct i2c_client *client, struct rtc_time *tm) rtc_time 349 drivers/rtc/rtc-isl1208.c struct rtc_time *const tm = &alarm->time; rtc_time 396 drivers/rtc/rtc-isl1208.c struct rtc_time *alarm_tm = &alarm->time; rtc_time 399 drivers/rtc/rtc-isl1208.c struct rtc_time rtc_tm; rtc_time 439 drivers/rtc/rtc-isl1208.c isl1208_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 445 drivers/rtc/rtc-isl1208.c isl1208_i2c_set_time(struct i2c_client *client, struct rtc_time const *tm) rtc_time 507 drivers/rtc/rtc-isl1208.c isl1208_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 552 drivers/rtc/rtc-isl1208.c struct rtc_time tm; rtc_time 145 drivers/rtc/rtc-jz4740.c static int jz4740_rtc_read_time(struct device *dev, struct rtc_time *time) rtc_time 174 drivers/rtc/rtc-jz4740.c static int jz4740_rtc_set_time(struct device *dev, struct rtc_time *time) rtc_time 109 drivers/rtc/rtc-lp8788.c static int lp8788_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 133 drivers/rtc/rtc-lp8788.c static int lp8788_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 167 drivers/rtc/rtc-lp8788.c struct rtc_time *tm = &alarm->time; rtc_time 192 drivers/rtc/rtc-lp8788.c struct rtc_time *tm = &alarm->time; rtc_time 69 drivers/rtc/rtc-lpc24xx.c static int lpc24xx_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 90 drivers/rtc/rtc-lpc24xx.c static int lpc24xx_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 114 drivers/rtc/rtc-lpc24xx.c struct rtc_time *tm = &wkalrm->time; rtc_time 134 drivers/rtc/rtc-lpc24xx.c struct rtc_time *tm = &wkalrm->time; rtc_time 55 drivers/rtc/rtc-lpc32xx.c static int lpc32xx_rtc_read_time(struct device *dev, struct rtc_time *time) rtc_time 66 drivers/rtc/rtc-lpc32xx.c static int lpc32xx_rtc_set_time(struct device *dev, struct rtc_time *time) rtc_time 84 drivers/rtc/rtc-ls1x.c static int ls1x_rtc_read_time(struct device *dev, struct rtc_time *rtm) rtc_time 92 drivers/rtc/rtc-ls1x.c memset(rtm, 0, sizeof(struct rtc_time)); rtc_time 101 drivers/rtc/rtc-ls1x.c static int ls1x_rtc_set_time(struct device *dev, struct rtc_time *rtm) rtc_time 197 drivers/rtc/rtc-m41t80.c static int m41t80_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 231 drivers/rtc/rtc-m41t80.c static int m41t80_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 877 drivers/rtc/rtc-m41t80.c struct rtc_time tm; rtc_time 45 drivers/rtc/rtc-m41t93.c static int m41t93_set_time(struct device *dev, struct rtc_time *tm) rtc_time 101 drivers/rtc/rtc-m41t93.c static int m41t93_get_time(struct device *dev, struct rtc_time *tm) rtc_time 29 drivers/rtc/rtc-m41t94.c static int m41t94_set_time(struct device *dev, struct rtc_time *tm) rtc_time 56 drivers/rtc/rtc-m41t94.c static int m41t94_read_time(struct device *dev, struct rtc_time *tm) rtc_time 44 drivers/rtc/rtc-m48t35.c static int m48t35_read_time(struct device *dev, struct rtc_time *tm) rtc_time 86 drivers/rtc/rtc-m48t35.c static int m48t35_set_time(struct device *dev, struct rtc_time *tm) rtc_time 63 drivers/rtc/rtc-m48t59.c static int m48t59_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 103 drivers/rtc/rtc-m48t59.c static int m48t59_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 153 drivers/rtc/rtc-m48t59.c struct rtc_time *tm = &alrm->time; rtc_time 197 drivers/rtc/rtc-m48t59.c struct rtc_time *tm = &alrm->time; rtc_time 66 drivers/rtc/rtc-m48t86.c static int m48t86_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 103 drivers/rtc/rtc-m48t86.c static int m48t86_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 142 drivers/rtc/rtc-max6900.c static int max6900_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 169 drivers/rtc/rtc-max6900.c static int max6900_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 52 drivers/rtc/rtc-max6902.c static int max6902_read_time(struct device *dev, struct rtc_time *dt) rtc_time 87 drivers/rtc/rtc-max6902.c static int max6902_set_time(struct device *dev, struct rtc_time *dt) rtc_time 53 drivers/rtc/rtc-max6916.c static int max6916_read_time(struct device *dev, struct rtc_time *dt) rtc_time 77 drivers/rtc/rtc-max6916.c static int max6916_set_time(struct device *dev, struct rtc_time *dt) rtc_time 256 drivers/rtc/rtc-max77686.c static void max77686_rtc_data_to_tm(u8 *data, struct rtc_time *tm, rtc_time 287 drivers/rtc/rtc-max77686.c static int max77686_rtc_tm_to_data(struct rtc_time *tm, u8 *data, rtc_time 339 drivers/rtc/rtc-max77686.c static int max77686_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 366 drivers/rtc/rtc-max77686.c static int max77686_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 469 drivers/rtc/rtc-max77686.c struct rtc_time tm; rtc_time 519 drivers/rtc/rtc-max77686.c struct rtc_time tm; rtc_time 58 drivers/rtc/rtc-max8907.c static void regs_to_tm(u8 *regs, struct rtc_time *tm) rtc_time 78 drivers/rtc/rtc-max8907.c static void tm_to_regs(struct rtc_time *tm, u8 *regs) rtc_time 94 drivers/rtc/rtc-max8907.c static int max8907_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 110 drivers/rtc/rtc-max8907.c static int max8907_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 82 drivers/rtc/rtc-max8925.c static int tm_calc(struct rtc_time *tm, unsigned char *buf, int len) rtc_time 111 drivers/rtc/rtc-max8925.c static int data_calc(unsigned char *buf, struct rtc_time *tm, int len) rtc_time 151 drivers/rtc/rtc-max8925.c static int max8925_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 165 drivers/rtc/rtc-max8925.c static int max8925_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 74 drivers/rtc/rtc-max8997.c static void max8997_rtc_data_to_tm(u8 *data, struct rtc_time *tm, rtc_time 95 drivers/rtc/rtc-max8997.c static int max8997_rtc_tm_to_data(struct rtc_time *tm, u8 *data) rtc_time 132 drivers/rtc/rtc-max8997.c static int max8997_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 153 drivers/rtc/rtc-max8997.c static int max8997_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 75 drivers/rtc/rtc-max8998.c static void max8998_data_to_tm(u8 *data, struct rtc_time *tm) rtc_time 93 drivers/rtc/rtc-max8998.c static void max8998_tm_to_data(struct rtc_time *tm, u8 *data) rtc_time 105 drivers/rtc/rtc-max8998.c static int max8998_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 120 drivers/rtc/rtc-max8998.c static int max8998_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 60 drivers/rtc/rtc-mc13xxx.c static int mc13xxx_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 89 drivers/rtc/rtc-mc13xxx.c static int mc13xxx_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 25 drivers/rtc/rtc-mc146818-lib.c unsigned int mc146818_get_time(struct rtc_time *time) rtc_time 103 drivers/rtc/rtc-mc146818-lib.c int mc146818_set_time(struct rtc_time *time) rtc_time 183 drivers/rtc/rtc-mcp795.c static int mcp795_set_time(struct device *dev, struct rtc_time *tim) rtc_time 237 drivers/rtc/rtc-mcp795.c static int mcp795_read_time(struct device *dev, struct rtc_time *tim) rtc_time 262 drivers/rtc/rtc-mcp795.c struct rtc_time now_tm; rtc_time 21 drivers/rtc/rtc-meson-vrtc.c static int meson_vrtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 231 drivers/rtc/rtc-meson.c static int meson_rtc_gettime(struct device *dev, struct rtc_time *tm) rtc_time 244 drivers/rtc/rtc-meson.c static int meson_rtc_settime(struct device *dev, struct rtc_time *tm) rtc_time 142 drivers/rtc/rtc-moxart.c static int moxart_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 185 drivers/rtc/rtc-moxart.c static int moxart_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 90 drivers/rtc/rtc-mpc5121.c struct rtc_time *tm) rtc_time 103 drivers/rtc/rtc-mpc5121.c static int mpc5121_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 125 drivers/rtc/rtc-mpc5121.c static int mpc5121_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 149 drivers/rtc/rtc-mpc5121.c static int mpc5200_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 176 drivers/rtc/rtc-mpc5121.c static int mpc5200_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 84 drivers/rtc/rtc-mrst.c static int mrst_read_time(struct device *dev, struct rtc_time *time) rtc_time 106 drivers/rtc/rtc-mrst.c static int mrst_set_time(struct device *dev, struct rtc_time *time) rtc_time 126 drivers/rtc/rtc-msm6242.c static int msm6242_read_time(struct device *dev, struct rtc_time *tm) rtc_time 163 drivers/rtc/rtc-msm6242.c static int msm6242_set_time(struct device *dev, struct rtc_time *tm) rtc_time 125 drivers/rtc/rtc-mt6397.c struct rtc_time *tm, int *sec) rtc_time 149 drivers/rtc/rtc-mt6397.c static int mtk_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 181 drivers/rtc/rtc-mt6397.c static int mtk_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 213 drivers/rtc/rtc-mt6397.c struct rtc_time *tm = &alm->time; rtc_time 254 drivers/rtc/rtc-mt6397.c struct rtc_time *tm = &alm->time; rtc_time 152 drivers/rtc/rtc-mt7622.c static void mtk_rtc_get_alarm_or_time(struct mtk_rtc *hw, struct rtc_time *tm, rtc_time 184 drivers/rtc/rtc-mt7622.c static void mtk_rtc_set_alarm_or_time(struct mtk_rtc *hw, struct rtc_time *tm, rtc_time 220 drivers/rtc/rtc-mt7622.c static int mtk_rtc_gettime(struct device *dev, struct rtc_time *tm) rtc_time 229 drivers/rtc/rtc-mt7622.c static int mtk_rtc_settime(struct device *dev, struct rtc_time *tm) rtc_time 250 drivers/rtc/rtc-mt7622.c struct rtc_time *alrm_tm = &wkalrm->time; rtc_time 263 drivers/rtc/rtc-mt7622.c struct rtc_time *alrm_tm = &wkalrm->time; rtc_time 46 drivers/rtc/rtc-mv.c static int mv_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 66 drivers/rtc/rtc-mv.c static int mv_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 70 drivers/rtc/rtc-mv.c u32 rtc_time, rtc_date; rtc_time 73 drivers/rtc/rtc-mv.c rtc_time = readl(ioaddr + RTC_TIME_REG_OFFS); rtc_time 76 drivers/rtc/rtc-mv.c second = rtc_time & 0x7f; rtc_time 77 drivers/rtc/rtc-mv.c minute = (rtc_time >> RTC_MINUTES_OFFS) & 0x7f; rtc_time 78 drivers/rtc/rtc-mv.c hour = (rtc_time >> RTC_HOURS_OFFS) & 0x3f; /* assume 24 hour mode */ rtc_time 79 drivers/rtc/rtc-mv.c wday = (rtc_time >> RTC_WDAY_OFFS) & 0x7; rtc_time 101 drivers/rtc/rtc-mv.c u32 rtc_time, rtc_date; rtc_time 104 drivers/rtc/rtc-mv.c rtc_time = readl(ioaddr + RTC_ALARM_TIME_REG_OFFS); rtc_time 107 drivers/rtc/rtc-mv.c second = rtc_time & 0x7f; rtc_time 108 drivers/rtc/rtc-mv.c minute = (rtc_time >> RTC_MINUTES_OFFS) & 0x7f; rtc_time 109 drivers/rtc/rtc-mv.c hour = (rtc_time >> RTC_HOURS_OFFS) & 0x3f; /* assume 24 hour mode */ rtc_time 110 drivers/rtc/rtc-mv.c wday = (rtc_time >> RTC_WDAY_OFFS) & 0x7; rtc_time 217 drivers/rtc/rtc-mv.c u32 rtc_time; rtc_time 235 drivers/rtc/rtc-mv.c rtc_time = readl(pdata->ioaddr + RTC_TIME_REG_OFFS); rtc_time 236 drivers/rtc/rtc-mv.c if (rtc_time & RTC_HOURS_12H_MODE) { rtc_time 243 drivers/rtc/rtc-mv.c if (rtc_time == 0x01000000) { rtc_time 245 drivers/rtc/rtc-mv.c rtc_time = readl(pdata->ioaddr + RTC_TIME_REG_OFFS); rtc_time 246 drivers/rtc/rtc-mv.c if (rtc_time == 0x01000000) { rtc_time 69 drivers/rtc/rtc-mxc.c struct rtc_time g_rtc_alarm; rtc_time 168 drivers/rtc/rtc-mxc.c static void rtc_update_alarm(struct device *dev, struct rtc_time *alrm) rtc_time 241 drivers/rtc/rtc-mxc.c static int mxc_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 258 drivers/rtc/rtc-mxc.c static int mxc_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 295 drivers/rtc/rtc-mxc.c memcpy(&pdata->g_rtc_alarm, &alrm->time, sizeof(struct rtc_time)); rtc_time 340 drivers/rtc/rtc-mxc.c struct rtc_time tm; rtc_time 142 drivers/rtc/rtc-mxc_v2.c static int mxc_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 164 drivers/rtc/rtc-mxc_v2.c static int mxc_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 270 drivers/rtc/rtc-omap.c static void tm2bcd(struct rtc_time *tm) rtc_time 281 drivers/rtc/rtc-omap.c static void bcd2tm(struct rtc_time *tm) rtc_time 292 drivers/rtc/rtc-omap.c static void omap_rtc_read_time_raw(struct omap_rtc *rtc, struct rtc_time *tm) rtc_time 302 drivers/rtc/rtc-omap.c static int omap_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 317 drivers/rtc/rtc-omap.c static int omap_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 414 drivers/rtc/rtc-omap.c struct rtc_time tm; rtc_time 21 drivers/rtc/rtc-opal.c static void opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm) rtc_time 34 drivers/rtc/rtc-opal.c static void tm_to_opal(struct rtc_time *tm, u32 *y_m_d, u64 *h_m_s_ms) rtc_time 46 drivers/rtc/rtc-opal.c static int opal_get_rtc_time(struct device *dev, struct rtc_time *tm) rtc_time 80 drivers/rtc/rtc-opal.c static int opal_set_rtc_time(struct device *dev, struct rtc_time *tm) rtc_time 48 drivers/rtc/rtc-palmas.c static int palmas_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 79 drivers/rtc/rtc-palmas.c static int palmas_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 43 drivers/rtc/rtc-pcap.c struct rtc_time *tm = &alrm->time; rtc_time 74 drivers/rtc/rtc-pcap.c static int pcap_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 91 drivers/rtc/rtc-pcap.c static int pcap_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 175 drivers/rtc/rtc-pcf2123.c static int pcf2123_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 204 drivers/rtc/rtc-pcf2123.c static int pcf2123_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 379 drivers/rtc/rtc-pcf2123.c struct rtc_time tm; rtc_time 92 drivers/rtc/rtc-pcf2127.c static int pcf2127_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 152 drivers/rtc/rtc-pcf2127.c static int pcf2127_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 359 drivers/rtc/rtc-pcf2127.c struct rtc_time tm; rtc_time 62 drivers/rtc/rtc-pcf50633.c static void pcf2rtc_time(struct rtc_time *rtc, struct pcf50633_time *pcf) rtc_time 73 drivers/rtc/rtc-pcf50633.c static void rtc2pcf_time(struct pcf50633_time *pcf, struct rtc_time *rtc) rtc_time 103 drivers/rtc/rtc-pcf50633.c static int pcf50633_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 134 drivers/rtc/rtc-pcf50633.c static int pcf50633_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 66 drivers/rtc/rtc-pcf85063.c static int pcf85063_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 101 drivers/rtc/rtc-pcf85063.c static int pcf85063_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 183 drivers/rtc/rtc-pcf8523.c static int pcf8523_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 226 drivers/rtc/rtc-pcf8523.c static int pcf8523_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 120 drivers/rtc/rtc-pcf85363.c static int pcf85363_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 149 drivers/rtc/rtc-pcf85363.c static int pcf85363_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 199 drivers/rtc/rtc-pcf8563.c static int pcf8563_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 246 drivers/rtc/rtc-pcf8563.c static int pcf8563_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 283 drivers/rtc/rtc-pcf8563.c struct rtc_time tm; rtc_time 49 drivers/rtc/rtc-pcf8583.c static int pcf8583_get_datetime(struct i2c_client *client, struct rtc_time *dt) rtc_time 87 drivers/rtc/rtc-pcf8583.c static int pcf8583_set_datetime(struct i2c_client *client, struct rtc_time *dt, int datetoo) rtc_time 172 drivers/rtc/rtc-pcf8583.c static int pcf8583_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 222 drivers/rtc/rtc-pcf8583.c static int pcf8583_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 132 drivers/rtc/rtc-pic32.c static int pic32_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) rtc_time 171 drivers/rtc/rtc-pic32.c static int pic32_rtc_settime(struct device *dev, struct rtc_time *tm) rtc_time 193 drivers/rtc/rtc-pic32.c struct rtc_time *alm_tm = &alrm->time; rtc_time 225 drivers/rtc/rtc-pic32.c struct rtc_time *tm = &alrm->time; rtc_time 60 drivers/rtc/rtc-pl030.c static int pl030_read_time(struct device *dev, struct rtc_time *tm) rtc_time 77 drivers/rtc/rtc-pl030.c static int pl030_set_time(struct device *dev, struct rtc_time *tm) rtc_time 114 drivers/rtc/rtc-pl031.c struct rtc_time *tm, unsigned long *st_time, rtc_time 127 drivers/rtc/rtc-pl031.c struct rtc_time calc_tm; rtc_time 150 drivers/rtc/rtc-pl031.c struct rtc_time *tm) rtc_time 166 drivers/rtc/rtc-pl031.c static int pl031_stv2_read_time(struct device *dev, struct rtc_time *tm) rtc_time 176 drivers/rtc/rtc-pl031.c static int pl031_stv2_set_time(struct device *dev, struct rtc_time *tm) rtc_time 247 drivers/rtc/rtc-pl031.c static int pl031_read_time(struct device *dev, struct rtc_time *tm) rtc_time 256 drivers/rtc/rtc-pl031.c static int pl031_set_time(struct device *dev, struct rtc_time *tm) rtc_time 75 drivers/rtc/rtc-pm8xxx.c static int pm8xxx_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 174 drivers/rtc/rtc-pm8xxx.c static int pm8xxx_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 29 drivers/rtc/rtc-ps3.c static int ps3_get_time(struct device *dev, struct rtc_time *tm) rtc_time 35 drivers/rtc/rtc-ps3.c static int ps3_set_time(struct device *dev, struct rtc_time *tm) rtc_time 86 drivers/rtc/rtc-puv3.c static int puv3_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) rtc_time 95 drivers/rtc/rtc-puv3.c static int puv3_rtc_settime(struct device *dev, struct rtc_time *tm) rtc_time 109 drivers/rtc/rtc-puv3.c struct rtc_time *alm_tm = &alrm->time; rtc_time 122 drivers/rtc/rtc-puv3.c struct rtc_time *tm = &alrm->time; rtc_time 85 drivers/rtc/rtc-pxa.c static u32 ryxr_calc(struct rtc_time *tm) rtc_time 92 drivers/rtc/rtc-pxa.c static u32 rdxr_calc(struct rtc_time *tm) rtc_time 101 drivers/rtc/rtc-pxa.c static void tm_calc(u32 rycr, u32 rdcr, struct rtc_time *tm) rtc_time 223 drivers/rtc/rtc-pxa.c static int pxa_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 235 drivers/rtc/rtc-pxa.c static int pxa_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 136 drivers/rtc/rtc-r7301.c static void rtc7301_get_time(struct rtc7301_priv *priv, struct rtc_time *tm, rtc_time 170 drivers/rtc/rtc-r7301.c static void rtc7301_write_time(struct rtc7301_priv *priv, struct rtc_time *tm, rtc_time 213 drivers/rtc/rtc-r7301.c static int rtc7301_read_time(struct device *dev, struct rtc_time *tm) rtc_time 232 drivers/rtc/rtc-r7301.c static int rtc7301_set_time(struct device *dev, struct rtc_time *tm) rtc_time 68 drivers/rtc/rtc-r9701.c static int r9701_get_datetime(struct device *dev, struct rtc_time *dt) rtc_time 95 drivers/rtc/rtc-r9701.c static int r9701_set_datetime(struct device *dev, struct rtc_time *dt) rtc_time 122 drivers/rtc/rtc-r9701.c struct rtc_time dt; rtc_time 59 drivers/rtc/rtc-rc5t583.c static int rc5t583_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 83 drivers/rtc/rtc-rc5t583.c static int rc5t583_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 69 drivers/rtc/rtc-rk808.c static time64_t nov2dec_transitions(struct rtc_time *tm) rtc_time 74 drivers/rtc/rtc-rk808.c static void rockchip_to_gregorian(struct rtc_time *tm) rtc_time 81 drivers/rtc/rtc-rk808.c static void gregorian_to_rockchip(struct rtc_time *tm) rtc_time 97 drivers/rtc/rtc-rk808.c static int rk808_rtc_readtime(struct device *dev, struct rtc_time *tm) rtc_time 148 drivers/rtc/rtc-rk808.c static int rk808_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 93 drivers/rtc/rtc-rp5c01.c static int rp5c01_read_time(struct device *dev, struct rtc_time *tm) rtc_time 122 drivers/rtc/rtc-rp5c01.c static int rp5c01_set_time(struct device *dev, struct rtc_time *tm) rtc_time 213 drivers/rtc/rtc-rs5c313.c static int rs5c313_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 273 drivers/rtc/rtc-rs5c313.c static int rs5c313_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 333 drivers/rtc/rtc-rs5c313.c struct rtc_time tm; rtc_time 350 drivers/rtc/rtc-rs5c313.c memset(&tm, 0, sizeof(struct rtc_time)); rtc_time 59 drivers/rtc/rtc-rs5c348.c rs5c348_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 106 drivers/rtc/rtc-rs5c348.c rs5c348_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 209 drivers/rtc/rtc-rs5c372.c static int rs5c372_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 257 drivers/rtc/rtc-rs5c372.c static int rs5c372_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 83 drivers/rtc/rtc-rtd119x.c static int rtd119x_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 127 drivers/rtc/rtc-rtd119x.c static int rtd119x_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 107 drivers/rtc/rtc-rv3028.c struct rtc_time tm; rtc_time 212 drivers/rtc/rtc-rv3028.c static int rv3028_get_time(struct device *dev, struct rtc_time *tm) rtc_time 242 drivers/rtc/rtc-rv3028.c static int rv3028_set_time(struct device *dev, struct rtc_time *tm) rtc_time 369 drivers/rtc/rtc-rv3029c2.c static int rv3029_read_time(struct device *dev, struct rtc_time *tm) rtc_time 414 drivers/rtc/rtc-rv3029c2.c struct rtc_time *const tm = &alarm->time; rtc_time 485 drivers/rtc/rtc-rv3029c2.c struct rtc_time *const tm = &alarm->time; rtc_time 538 drivers/rtc/rtc-rv3029c2.c static int rv3029_set_time(struct device *dev, struct rtc_time *tm) rtc_time 188 drivers/rtc/rtc-rv8803.c static int rv8803_get_time(struct device *dev, struct rtc_time *tm) rtc_time 229 drivers/rtc/rtc-rv8803.c static int rv8803_set_time(struct device *dev, struct rtc_time *tm) rtc_time 94 drivers/rtc/rtc-rx4581.c static int rx4581_get_datetime(struct device *dev, struct rtc_time *tm) rtc_time 170 drivers/rtc/rtc-rx4581.c static int rx4581_set_datetime(struct device *dev, struct rtc_time *tm) rtc_time 117 drivers/rtc/rtc-rx6110.c static int rx6110_rtc_tm_to_data(struct rtc_time *tm, u8 *data) rtc_time 146 drivers/rtc/rtc-rx6110.c static int rx6110_data_to_rtc_tm(u8 *data, struct rtc_time *tm) rtc_time 183 drivers/rtc/rtc-rx6110.c static int rx6110_set_time(struct device *dev, struct rtc_time *tm) rtc_time 222 drivers/rtc/rtc-rx6110.c static int rx6110_get_time(struct device *dev, struct rtc_time *tm) rtc_time 108 drivers/rtc/rtc-rx8010.c static int rx8010_get_time(struct device *dev, struct rtc_time *dt) rtc_time 140 drivers/rtc/rtc-rx8010.c static int rx8010_set_time(struct device *dev, struct rtc_time *dt) rtc_time 179 drivers/rtc/rtc-rx8025.c static int rx8025_get_time(struct device *dev, struct rtc_time *dt) rtc_time 212 drivers/rtc/rtc-rx8025.c static int rx8025_set_time(struct device *dev, struct rtc_time *dt) rtc_time 70 drivers/rtc/rtc-rx8581.c static int rx8581_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 136 drivers/rtc/rtc-rx8581.c static int rx8581_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 210 drivers/rtc/rtc-s35390a.c static int s35390a_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 242 drivers/rtc/rtc-s35390a.c static int s35390a_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 174 drivers/rtc/rtc-s3c.c static int s3c_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) rtc_time 218 drivers/rtc/rtc-s3c.c static int s3c_rtc_settime(struct device *dev, struct rtc_time *tm) rtc_time 252 drivers/rtc/rtc-s3c.c struct rtc_time *alm_tm = &alrm->time; rtc_time 302 drivers/rtc/rtc-s3c.c struct rtc_time *tm = &alrm->time; rtc_time 446 drivers/rtc/rtc-s3c.c struct rtc_time rtc_tm; rtc_time 173 drivers/rtc/rtc-s5m.c static void s5m8767_data_to_tm(u8 *data, struct rtc_time *tm, rtc_time 194 drivers/rtc/rtc-s5m.c static int s5m8767_tm_to_data(struct rtc_time *tm, u8 *data) rtc_time 338 drivers/rtc/rtc-s5m.c static void s5m8763_data_to_tm(u8 *data, struct rtc_time *tm) rtc_time 358 drivers/rtc/rtc-s5m.c static void s5m8763_tm_to_data(struct rtc_time *tm, u8 *data) rtc_time 370 drivers/rtc/rtc-s5m.c static int s5m_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 414 drivers/rtc/rtc-s5m.c static int s5m_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 500 drivers/rtc/rtc-s5m.c struct rtc_time tm; rtc_time 543 drivers/rtc/rtc-s5m.c struct rtc_time tm; rtc_time 110 drivers/rtc/rtc-sa1100.c static int sa1100_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 118 drivers/rtc/rtc-sa1100.c static int sa1100_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 359 drivers/rtc/rtc-sc27xx.c static int sprd_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 378 drivers/rtc/rtc-sc27xx.c static int sprd_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 452 drivers/rtc/rtc-sc27xx.c struct rtc_time aie_time = rtc_time 83 drivers/rtc/rtc-sd3078.c static int sd3078_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 122 drivers/rtc/rtc-sd3078.c static int sd3078_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 274 drivers/rtc/rtc-sh.c static int sh_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 336 drivers/rtc/rtc-sh.c static int sh_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 394 drivers/rtc/rtc-sh.c struct rtc_time *tm = &wkalrm->time; rtc_time 428 drivers/rtc/rtc-sh.c struct rtc_time *tm = &wkalrm->time; rtc_time 169 drivers/rtc/rtc-sirfsoc.c struct rtc_time *tm) rtc_time 190 drivers/rtc/rtc-sirfsoc.c struct rtc_time *tm) rtc_time 192 drivers/rtc/rtc-sirfsoc.c unsigned long rtc_time; rtc_time 196 drivers/rtc/rtc-sirfsoc.c rtc_tm_to_time(tm, &rtc_time); rtc_time 198 drivers/rtc/rtc-sirfsoc.c rtcdrv->overflow_rtc = rtc_time >> (BITS_PER_LONG - RTC_SHIFT); rtc_time 201 drivers/rtc/rtc-sirfsoc.c sirfsoc_rtc_writel(rtcdrv, RTC_CN, rtc_time << RTC_SHIFT); rtc_time 149 drivers/rtc/rtc-snvs.c static int snvs_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 159 drivers/rtc/rtc-snvs.c static int snvs_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 173 drivers/rtc/rtc-spear.c static void tm2bcd(struct rtc_time *tm) rtc_time 183 drivers/rtc/rtc-spear.c static void bcd2tm(struct rtc_time *tm) rtc_time 202 drivers/rtc/rtc-spear.c static int spear_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 231 drivers/rtc/rtc-spear.c static int spear_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 80 drivers/rtc/rtc-st-lpc.c static int st_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 103 drivers/rtc/rtc-st-lpc.c static int st_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 156 drivers/rtc/rtc-st-lpc.c struct rtc_time now; rtc_time 28 drivers/rtc/rtc-starfire.c static int starfire_read_time(struct device *dev, struct rtc_time *tm) rtc_time 72 drivers/rtc/rtc-stk17ta8.c static int stk17ta8_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 94 drivers/rtc/rtc-stk17ta8.c static int stk17ta8_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 235 drivers/rtc/rtc-stm32.c static void tm2bcd(struct rtc_time *tm) rtc_time 253 drivers/rtc/rtc-stm32.c static void bcd2tm(struct rtc_time *tm) rtc_time 270 drivers/rtc/rtc-stm32.c static int stm32_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 296 drivers/rtc/rtc-stm32.c static int stm32_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 341 drivers/rtc/rtc-stm32.c struct rtc_time *tm = &alrm->time; rtc_time 430 drivers/rtc/rtc-stm32.c static int stm32_rtc_valid_alrm(struct stm32_rtc *rtc, struct rtc_time *tm) rtc_time 470 drivers/rtc/rtc-stm32.c struct rtc_time *tm = &alrm->time; rtc_time 146 drivers/rtc/rtc-stmp3xxx.c static int stmp3xxx_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) rtc_time 159 drivers/rtc/rtc-stmp3xxx.c static int stmp3xxx_rtc_settime(struct device *dev, struct rtc_time *rtc_tm) rtc_time 40 drivers/rtc/rtc-sun4v.c static int sun4v_read_time(struct device *dev, struct rtc_time *tm) rtc_time 67 drivers/rtc/rtc-sun4v.c static int sun4v_set_time(struct device *dev, struct rtc_time *tm) rtc_time 456 drivers/rtc/rtc-sun6i.c static int sun6i_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) rtc_time 511 drivers/rtc/rtc-sun6i.c struct rtc_time *alrm_tm = &wkalrm->time; rtc_time 512 drivers/rtc/rtc-sun6i.c struct rtc_time tm_now; rtc_time 568 drivers/rtc/rtc-sun6i.c static int sun6i_rtc_settime(struct device *dev, struct rtc_time *rtc_tm) rtc_time 188 drivers/rtc/rtc-sunxi.c struct rtc_time *alrm_tm = &wkalrm->time; rtc_time 220 drivers/rtc/rtc-sunxi.c static int sunxi_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) rtc_time 257 drivers/rtc/rtc-sunxi.c struct rtc_time *alrm_tm = &wkalrm->time; rtc_time 258 drivers/rtc/rtc-sunxi.c struct rtc_time tm_now; rtc_time 328 drivers/rtc/rtc-sunxi.c static int sunxi_rtc_settime(struct device *dev, struct rtc_time *rtc_tm) rtc_time 102 drivers/rtc/rtc-tegra.c static int tegra_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 126 drivers/rtc/rtc-tegra.c static int tegra_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 64 drivers/rtc/rtc-test.c static int test_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 73 drivers/rtc/rtc-test.c static int test_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 68 drivers/rtc/rtc-tps6586x.c static int tps6586x_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 94 drivers/rtc/rtc-tps6586x.c static int tps6586x_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 67 drivers/rtc/rtc-tps65910.c static int tps65910_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 98 drivers/rtc/rtc-tps65910.c static int tps65910_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 67 drivers/rtc/rtc-tps80031.c static int tps80031_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 89 drivers/rtc/rtc-tps80031.c static int tps80031_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 239 drivers/rtc/rtc-tps80031.c struct rtc_time tm; rtc_time 258 drivers/rtc/rtc-twl.c static int twl_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 326 drivers/rtc/rtc-twl.c static int twl_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 60 drivers/rtc/rtc-tx4939.c static int tx4939_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 85 drivers/rtc/rtc-tx4939.c static int tx4939_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 208 drivers/rtc/rtc-v3020.c static int v3020_read_time(struct device *dev, struct rtc_time *dt) rtc_time 245 drivers/rtc/rtc-v3020.c static int v3020_set_time(struct device *dev, struct rtc_time *dt) rtc_time 109 drivers/rtc/rtc-vr41xx.c static int vr41xx_rtc_read_time(struct device *dev, struct rtc_time *time) rtc_time 121 drivers/rtc/rtc-vr41xx.c static int vr41xx_rtc_set_time(struct device *dev, struct rtc_time *time) rtc_time 136 drivers/rtc/rtc-vr41xx.c struct rtc_time *time = &wkalrm->time; rtc_time 101 drivers/rtc/rtc-vt8500.c static int vt8500_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 121 drivers/rtc/rtc-vt8500.c static int vt8500_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 89 drivers/rtc/rtc-wilco-ec.c static int wilco_ec_rtc_read(struct device *dev, struct rtc_time *tm) rtc_time 121 drivers/rtc/rtc-wilco-ec.c static int wilco_ec_rtc_write(struct device *dev, struct rtc_time *tm) rtc_time 118 drivers/rtc/rtc-wm831x.c static int wm831x_rtc_readtime(struct device *dev, struct rtc_time *tm) rtc_time 168 drivers/rtc/rtc-wm831x.c static int wm831x_rtc_settime(struct device *dev, struct rtc_time *tm) rtc_time 172 drivers/rtc/rtc-wm831x.c struct rtc_time new_tm; rtc_time 31 drivers/rtc/rtc-wm8350.c static int wm8350_rtc_readtime(struct device *dev, struct rtc_time *tm) rtc_time 90 drivers/rtc/rtc-wm8350.c static int wm8350_rtc_settime(struct device *dev, struct rtc_time *tm) rtc_time 142 drivers/rtc/rtc-wm8350.c struct rtc_time *tm = &alrm->time; rtc_time 246 drivers/rtc/rtc-wm8350.c struct rtc_time *tm = &alrm->time; rtc_time 88 drivers/rtc/rtc-x1205.c static int x1205_get_datetime(struct i2c_client *client, struct rtc_time *tm, rtc_time 172 drivers/rtc/rtc-x1205.c static int x1205_set_datetime(struct i2c_client *client, struct rtc_time *tm, rtc_time 282 drivers/rtc/rtc-x1205.c struct rtc_time tm; rtc_time 534 drivers/rtc/rtc-x1205.c static int x1205_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 540 drivers/rtc/rtc-x1205.c static int x1205_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 44 drivers/rtc/rtc-xgene.c static int xgene_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 52 drivers/rtc/rtc-xgene.c static int xgene_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 50 drivers/rtc/rtc-zynqmp.c static int xlnx_rtc_set_time(struct device *dev, struct rtc_time *tm) rtc_time 84 drivers/rtc/rtc-zynqmp.c static int xlnx_rtc_read_time(struct device *dev, struct rtc_time *tm) rtc_time 35 drivers/rtc/sysfs.c struct rtc_time tm; rtc_time 49 drivers/rtc/sysfs.c struct rtc_time tm; rtc_time 63 drivers/rtc/sysfs.c struct rtc_time tm; rtc_time 24 drivers/rtc/systohc.c struct rtc_time tm; rtc_time 21 include/linux/cuda.h extern int cuda_set_rtc_time(struct rtc_time *tm); rtc_time 126 include/linux/mc146818rtc.h unsigned int mc146818_get_time(struct rtc_time *time); rtc_time 127 include/linux/mc146818rtc.h int mc146818_set_time(struct rtc_time *time); rtc_time 41 include/linux/pmu.h extern int pmu_set_rtc_time(struct rtc_time *tm); rtc_time 23 include/linux/rtc.h extern int rtc_valid_tm(struct rtc_time *tm); rtc_time 24 include/linux/rtc.h extern time64_t rtc_tm_to_time64(struct rtc_time *tm); rtc_time 25 include/linux/rtc.h extern void rtc_time64_to_tm(time64_t time, struct rtc_time *tm); rtc_time 26 include/linux/rtc.h ktime_t rtc_tm_to_ktime(struct rtc_time tm); rtc_time 27 include/linux/rtc.h struct rtc_time rtc_ktime_to_tm(ktime_t kt); rtc_time 32 include/linux/rtc.h static inline time64_t rtc_tm_sub(struct rtc_time *lhs, struct rtc_time *rhs) rtc_time 37 include/linux/rtc.h static inline void rtc_time_to_tm(unsigned long time, struct rtc_time *tm) rtc_time 42 include/linux/rtc.h static inline int rtc_tm_to_time(struct rtc_time *tm, unsigned long *time) rtc_time 77 include/linux/rtc.h int (*read_time)(struct device *, struct rtc_time *); rtc_time 78 include/linux/rtc.h int (*set_time)(struct device *, struct rtc_time *); rtc_time 176 include/linux/rtc.h extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm); rtc_time 177 include/linux/rtc.h extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm); rtc_time 40 include/uapi/linux/rtc.h struct rtc_time time; /* time the alarm is set to */ rtc_time 80 include/uapi/linux/rtc.h #define RTC_ALM_SET _IOW('p', 0x07, struct rtc_time) /* Set alarm time */ rtc_time 81 include/uapi/linux/rtc.h #define RTC_ALM_READ _IOR('p', 0x08, struct rtc_time) /* Read alarm time */ rtc_time 82 include/uapi/linux/rtc.h #define RTC_RD_TIME _IOR('p', 0x09, struct rtc_time) /* Read RTC time */ rtc_time 83 include/uapi/linux/rtc.h #define RTC_SET_TIME _IOW('p', 0x0a, struct rtc_time) /* Set RTC time */ rtc_time 257 kernel/time/alarmtimer.c struct rtc_time tm; rtc_time 498 lib/test_printf.c const struct rtc_time tm = { rtc_time 1718 lib/vsprintf.c char *date_str(char *buf, char *end, const struct rtc_time *tm, bool r) rtc_time 1737 lib/vsprintf.c char *time_str(char *buf, char *end, const struct rtc_time *tm, bool r) rtc_time 1753 lib/vsprintf.c char *rtc_str(char *buf, char *end, const struct rtc_time *tm, rtc_time 1796 lib/vsprintf.c return rtc_str(buf, end, (const struct rtc_time *)ptr, spec, fmt); rtc_time 41 tools/testing/selftests/rtc/rtctest.c struct rtc_time rtc_tm; rtc_time 115 tools/testing/selftests/rtc/rtctest.c struct rtc_time tm; rtc_time 168 tools/testing/selftests/rtc/rtctest.c struct rtc_time tm; rtc_time 217 tools/testing/selftests/rtc/rtctest.c struct rtc_time tm; rtc_time 270 tools/testing/selftests/rtc/rtctest.c struct rtc_time tm; rtc_time 24 tools/testing/selftests/rtc/setdate.c struct rtc_time new, current;