/linux-master/arch/powerpc/platforms/chrp/ |
H A D | chrp.h | 7 extern void chrp_get_rtc_time(struct rtc_time *); 8 extern int chrp_set_rtc_time(struct rtc_time *);
|
/linux-master/arch/m68k/atari/ |
H A D | atari.h | 3 struct rtc_time; 14 int atari_mste_hwclk(int op, struct rtc_time *t); 15 int atari_tt_hwclk(int op, struct rtc_time *t);
|
/linux-master/arch/powerpc/platforms/8xx/ |
H A D | mpc8xx.h | 16 extern int mpc8xx_set_rtc_time(struct rtc_time *tm); 17 extern void mpc8xx_get_rtc_time(struct rtc_time *tm);
|
/linux-master/arch/m68k/68000/ |
H A D | m68328.h | 4 struct rtc_time; 5 int m68328_hwclk(int set, struct rtc_time *t);
|
/linux-master/arch/m68k/mac/ |
H A D | mac.h | 3 struct rtc_time; 12 int mac_hwclk(int op, struct rtc_time *t);
|
/linux-master/arch/powerpc/platforms/maple/ |
H A D | maple.h | 7 extern int maple_set_rtc_time(struct rtc_time *tm); 8 extern void maple_get_rtc_time(struct rtc_time *tm);
|
/linux-master/arch/m68k/sun3/ |
H A D | sun3.h | 5 struct rtc_time; 14 int sun3_hwclk(int set, struct rtc_time *t);
|
/linux-master/arch/powerpc/platforms/powermac/ |
H A D | pmac.h | 15 struct rtc_time; 23 extern void pmac_get_rtc_time(struct rtc_time *); 24 extern int pmac_set_rtc_time(struct rtc_time *);
|
/linux-master/arch/m68k/sun3x/ |
H A D | time.h | 5 extern int sun3x_hwclk(int set, struct rtc_time *t);
|
/linux-master/include/uapi/linux/ |
H A D | rtc.h | 6 * Struct rtc_time and first 12 ioctl by Paul Gortmaker, 1996 - separated out 25 struct rtc_time { struct 44 struct rtc_time time; /* time the alarm is set to */ 95 #define RTC_ALM_SET _IOW('p', 0x07, struct rtc_time) /* Set alarm time */ 96 #define RTC_ALM_READ _IOR('p', 0x08, struct rtc_time) /* Read alarm time */ 97 #define RTC_RD_TIME _IOR('p', 0x09, struct rtc_time) /* Read RTC time */ 98 #define RTC_SET_TIME _IOW('p', 0x0a, struct rtc_time) /* Set RTC time */
|
/linux-master/arch/m68k/include/asm/ |
H A D | machdep.h | 11 struct rtc_time; 21 extern int (*mach_hwclk)(int, struct rtc_time*);
|
/linux-master/include/linux/ |
H A D | cuda.h | 21 extern int cuda_set_rtc_time(struct rtc_time *tm);
|
H A D | rtc.h | 6 * Struct rtc_time and first 12 ioctl by Paul Gortmaker, 1996 - separated out 23 extern int rtc_valid_tm(struct rtc_time *tm); 24 extern time64_t rtc_tm_to_time64(struct rtc_time *tm); 25 extern void rtc_time64_to_tm(time64_t time, struct rtc_time *tm); 26 ktime_t rtc_tm_to_ktime(struct rtc_time tm); 27 struct rtc_time rtc_ktime_to_tm(ktime_t kt); 32 static inline time64_t rtc_tm_sub(struct rtc_time *lhs, struct rtc_time *rhs) 61 int (*read_time)(struct device *, struct rtc_time *); 62 int (*set_time)(struct device *, struct rtc_time *); [all...] |
/linux-master/drivers/rtc/ |
H A D | rtc-mv.c | 46 static int mv_rtc_set_time(struct device *dev, struct rtc_time *tm) 66 static int mv_rtc_read_time(struct device *dev, struct rtc_time *tm) 70 u32 rtc_time, rtc_date; local 73 rtc_time = readl(ioaddr + RTC_TIME_REG_OFFS); 76 second = rtc_time & 0x7f; 77 minute = (rtc_time >> RTC_MINUTES_OFFS) & 0x7f; 78 hour = (rtc_time >> RTC_HOURS_OFFS) & 0x3f; /* assume 24 hour mode */ 79 wday = (rtc_time >> RTC_WDAY_OFFS) & 0x7; 101 u32 rtc_time, rtc_date; local 104 rtc_time 211 u32 rtc_time; local [all...] |
H A D | lib.c | 46 * rtc_time64_to_tm - converts time64_t to rtc_time. 50 * @tm: Pointer to the struct rtc_time. 52 void rtc_time64_to_tm(time64_t time, struct rtc_time *tm) 92 * (*) The numbering of months follows rtc_time more closely and 129 /* Converts to rtc_time's format. */ 145 * Does the rtc_time represent a valid date/time? 147 int rtc_valid_tm(struct rtc_time *tm) 165 * rtc_tm_to_time64 - Converts rtc_time to time64_t. 168 time64_t rtc_tm_to_time64(struct rtc_time *tm) 176 * Convert rtc_time t [all...] |
H A D | rtc-ps3.c | 29 static int ps3_get_time(struct device *dev, struct rtc_time *tm) 35 static int ps3_set_time(struct device *dev, struct rtc_time *tm)
|
H A D | rtc-sun4v.c | 40 static int sun4v_read_time(struct device *dev, struct rtc_time *tm) 67 static int sun4v_set_time(struct device *dev, struct rtc_time *tm)
|
H A D | rtc-au1xxx.c | 28 static int au1xtoy_rtc_read_time(struct device *dev, struct rtc_time *tm) 39 static int au1xtoy_rtc_set_time(struct device *dev, struct rtc_time *tm)
|
/linux-master/arch/alpha/kernel/ |
H A D | rtc.c | 29 * true in __get_rtc_time as well as the users of struct rtc_time e.g. 81 alpha_rtc_read_time(struct device *dev, struct rtc_time *tm) 109 alpha_rtc_set_time(struct device *dev, struct rtc_time *tm) 111 struct rtc_time xtm; 154 struct rtc_time *tm; 166 remote_read_time(struct device *dev, struct rtc_time *tm) 185 remote_set_time(struct device *dev, struct rtc_time *tm)
|
/linux-master/arch/powerpc/kernel/ |
H A D | rtas-rtc.c | 47 void rtas_get_rtc_time(struct rtc_time *rtc_tm) 61 memset(rtc_tm, 0, sizeof(struct rtc_time)); 86 int rtas_set_rtc_time(struct rtc_time *tm)
|
/linux-master/arch/m68k/kernel/ |
H A D | time.c | 67 int (*mach_hwclk) (int, struct rtc_time*); 78 struct rtc_time time; 94 static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm) 100 static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm)
|
/linux-master/drivers/input/misc/ |
H A D | hp_sdc_rtc.c | 66 static int hp_sdc_rtc_do_read_bbrtc (struct rtc_time *rtctm) 102 memset(rtctm, 0, sizeof(struct rtc_time)); 114 static int hp_sdc_rtc_read_bbrtc (struct rtc_time *rtctm) 116 struct rtc_time tm, tm_last; 124 while (memcmp(&tm, &tm_last, sizeof(struct rtc_time))) { 126 memcpy(&tm_last, &tm, sizeof(struct rtc_time)); 130 memcpy(rtctm, &tm, sizeof(struct rtc_time)); 272 struct rtc_time tm; 275 memset(&tm, 0, sizeof(struct rtc_time)); 281 "rtc_time\ [all...] |
/linux-master/arch/sh/boards/mach-dreamcast/ |
H A D | rtc.c | 33 static int aica_rtc_gettimeofday(struct device *dev, struct rtc_time *tm) 61 static int aica_rtc_settimeofday(struct device *dev, struct rtc_time *tm)
|
/linux-master/tools/testing/selftests/rtc/ |
H A D | rtctest.c | 42 struct rtc_time rtc_tm; 57 static time_t rtc_time_to_timestamp(struct rtc_time *rtc_time) argument 60 .tm_sec = rtc_time->tm_sec, 61 .tm_min = rtc_time->tm_min, 62 .tm_hour = rtc_time->tm_hour, 63 .tm_mday = rtc_time->tm_mday, 64 .tm_mon = rtc_time->tm_mon, 65 .tm_year = rtc_time->tm_year, 88 struct rtc_time rtc_t [all...] |
/linux-master/arch/m68k/bvme6000/ |
H A D | rtc.c | 19 #include <linux/rtc.h> /* For struct rtc_time and ioctls, etc */ 44 struct rtc_time wtime; 54 memset(&wtime, 0, sizeof(struct rtc_time)); 73 struct rtc_time rtc_tm; 80 if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time)))
|