/arch/powerpc/platforms/cell/ |
D | beat.c | 58 int beat_set_rtc_time(struct rtc_time *rtc_time) in beat_set_rtc_time() argument 61 tim = mktime(rtc_time->tm_year+1900, in beat_set_rtc_time() 62 rtc_time->tm_mon+1, rtc_time->tm_mday, in beat_set_rtc_time() 63 rtc_time->tm_hour, rtc_time->tm_min, rtc_time->tm_sec); in beat_set_rtc_time() 69 void beat_get_rtc_time(struct rtc_time *rtc_time) in beat_get_rtc_time() argument 75 to_tm(tim, rtc_time); in beat_get_rtc_time() 76 rtc_time->tm_year -= 1900; in beat_get_rtc_time() 77 rtc_time->tm_mon -= 1; in beat_get_rtc_time()
|
D | beat.h | 30 int beat_set_rtc_time(struct rtc_time *); 31 void beat_get_rtc_time(struct rtc_time *);
|
/arch/sh/include/asm/ |
D | rtc.h | 16 struct rtc_time; 17 unsigned int get_rtc_time(struct rtc_time *); 18 int set_rtc_time(struct rtc_time *);
|
/arch/powerpc/platforms/powermac/ |
D | pmac.h | 12 struct rtc_time; 18 extern void pmac_get_rtc_time(struct rtc_time *); 19 extern int pmac_set_rtc_time(struct rtc_time *);
|
D | time.c | 87 static void to_rtc_time(unsigned long now, struct rtc_time *tm) in to_rtc_time() 97 static unsigned long from_rtc_time(struct rtc_time *tm) in from_rtc_time() 124 static int cuda_set_rtc_time(struct rtc_time *tm) in cuda_set_rtc_time() 167 static int pmu_set_rtc_time(struct rtc_time *tm) in pmu_set_rtc_time() 192 struct rtc_time tm; in smu_get_time() 221 void pmac_get_rtc_time(struct rtc_time *tm) in pmac_get_rtc_time() 239 int pmac_set_rtc_time(struct rtc_time *tm) in pmac_set_rtc_time()
|
/arch/powerpc/include/asm/ |
D | rtc.h | 45 static inline unsigned int get_rtc_time(struct rtc_time *time) in get_rtc_time() 53 static inline int set_rtc_time(struct rtc_time *time) in set_rtc_time() 62 struct rtc_time h; in get_rtc_ss()
|
D | rtas.h | 333 struct rtc_time; 335 extern void rtas_get_rtc_time(struct rtc_time *rtc_time); 336 extern int rtas_set_rtc_time(struct rtc_time *rtc_time);
|
D | time.h | 28 struct rtc_time; 29 extern void to_tm(int tim, struct rtc_time * tm); 30 extern void GregorianDay(struct rtc_time *tm);
|
/arch/m68k/include/asm/ |
D | rtc.h | 31 static inline unsigned int get_rtc_time(struct rtc_time *time) in get_rtc_time() 44 static inline int set_rtc_time(struct rtc_time *time) in set_rtc_time() 56 struct rtc_time h; in get_rtc_ss()
|
D | machdep.h | 10 struct rtc_time; 20 extern int (*mach_hwclk)(int, struct rtc_time*);
|
/arch/m32r/include/asm/ |
D | rtc.h | 46 struct rtc_time { struct 60 #define RTC_RD_TIME _IOR(RTC_MAGIC, 0x09, struct rtc_time) /* Read RTC time. */ argument 61 #define RTC_SET_TIME _IOW(RTC_MAGIC, 0x0a, struct rtc_time) /* Set RTC time. */
|
/arch/powerpc/platforms/chrp/ |
D | chrp.h | 6 extern void chrp_get_rtc_time(struct rtc_time *); 7 extern int chrp_set_rtc_time(struct rtc_time *);
|
D | time.c | 85 int chrp_set_rtc_time(struct rtc_time *tmarg) in chrp_set_rtc_time() 88 struct rtc_time tm = *tmarg; in chrp_set_rtc_time() 129 void chrp_get_rtc_time(struct rtc_time *tm) in chrp_get_rtc_time()
|
/arch/powerpc/platforms/8xx/ |
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);
|
/arch/powerpc/platforms/maple/ |
D | maple.h | 6 extern int maple_set_rtc_time(struct rtc_time *tm); 7 extern void maple_get_rtc_time(struct rtc_time *tm);
|
/arch/alpha/kernel/ |
D | rtc.c | 82 alpha_rtc_read_time(struct device *dev, struct rtc_time *tm) in alpha_rtc_read_time() 105 alpha_rtc_set_time(struct device *dev, struct rtc_time *tm) in alpha_rtc_set_time() 107 struct rtc_time xtm; in alpha_rtc_set_time() 228 struct rtc_time *tm; 241 remote_read_time(struct device *dev, struct rtc_time *tm) in remote_read_time() 260 remote_set_time(struct device *dev, struct rtc_time *tm) in remote_set_time()
|
/arch/powerpc/platforms/powernv/ |
D | opal-rtc.c | 23 static void opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm) in opal_to_tm() 38 struct rtc_time tm; in opal_get_boot_time() 69 void opal_get_rtc_time(struct rtc_time *tm) in opal_get_rtc_time() 91 int opal_set_rtc_time(struct rtc_time *tm) in opal_set_rtc_time()
|
/arch/ia64/sn/kernel/sn2/ |
D | timer.c | 46 unsigned long start = rtc_time(); in ia64_sn_udelay() 50 while (time_before((unsigned long)rtc_time(), end)) in ia64_sn_udelay()
|
/arch/m68k/mvme16x/ |
D | rtc.c | 41 struct rtc_time wtime; in rtc_ioctl() 50 memset(&wtime, 0, sizeof(struct rtc_time)); in rtc_ioctl() 67 struct rtc_time rtc_tm; in rtc_ioctl() 74 if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time))) in rtc_ioctl()
|
/arch/powerpc/kernel/ |
D | rtas-rtc.c | 47 void rtas_get_rtc_time(struct rtc_time *rtc_tm) in rtas_get_rtc_time() 61 memset(rtc_tm, 0, sizeof(struct rtc_time)); in rtas_get_rtc_time() 86 int rtas_set_rtc_time(struct rtc_time *tm) in rtas_set_rtc_time()
|
/arch/parisc/include/asm/ |
D | rtc.h | 47 static inline unsigned int get_rtc_time(struct rtc_time *wtime) in get_rtc_time() 99 static int set_rtc_time(struct rtc_time *wtime) in set_rtc_time() 115 struct rtc_time h; in get_rtc_ss()
|
/arch/m68k/bvme6000/ |
D | rtc.c | 43 struct rtc_time wtime; in rtc_ioctl() 53 memset(&wtime, 0, sizeof(struct rtc_time)); in rtc_ioctl() 72 struct rtc_time rtc_tm; in rtc_ioctl() 79 if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time))) in rtc_ioctl()
|
/arch/sh/kernel/ |
D | time.c | 53 unsigned int get_rtc_time(struct rtc_time *tm) in get_rtc_time() 66 int set_rtc_time(struct rtc_time *tm) in set_rtc_time()
|
/arch/powerpc/platforms/ps3/ |
D | time.c | 32 static void _dump_tm(const struct rtc_time *tm, const char* func, int line) in _dump_tm() 47 struct rtc_time tm; in _dump_time()
|
/arch/ia64/include/asm/sn/ |
D | clksupport.h | 26 #define rtc_time() (*RTC_COUNTER_ADDR) macro
|