/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/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 | 88 static void to_rtc_time(unsigned long now, struct rtc_time *tm) in to_rtc_time() 98 static unsigned long from_rtc_time(struct rtc_time *tm) in from_rtc_time() 125 static int cuda_set_rtc_time(struct rtc_time *tm) in cuda_set_rtc_time() 168 static int pmu_set_rtc_time(struct rtc_time *tm) in pmu_set_rtc_time() 193 struct rtc_time tm; in smu_get_time() 222 void pmac_get_rtc_time(struct rtc_time *tm) in pmac_get_rtc_time() 240 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 | 177 struct rtc_time; 179 extern void rtas_get_rtc_time(struct rtc_time *rtc_time); 180 extern int rtas_set_rtc_time(struct rtc_time *rtc_time);
|
D | time.h | 34 struct rtc_time; 35 extern void to_tm(int tim, struct rtc_time * tm); 36 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() 43 static inline int set_rtc_time(struct rtc_time *time) in set_rtc_time() 53 struct rtc_time h; in get_rtc_ss()
|
D | machdep_mm.h | 9 struct rtc_time; 20 extern int (*mach_hwclk)(int, struct rtc_time*);
|
/arch/cris/arch-v10/drivers/ |
D | ds1302.c | 203 get_rtc_time(struct rtc_time *rtc_tm) in get_rtc_time() 250 struct rtc_time rtc_tm; in rtc_ioctl() 252 memset(&rtc_tm, 0, sizeof (struct rtc_time)); in rtc_ioctl() 254 if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time))) in rtc_ioctl() 261 struct rtc_time rtc_tm; in rtc_ioctl() 268 if (copy_from_user(&rtc_tm, (struct rtc_time*)arg, sizeof(struct rtc_time))) in rtc_ioctl() 360 struct rtc_time tm; in print_rtc_status()
|
D | pcf8563.c | 110 get_rtc_time(struct rtc_time *tm) in get_rtc_time() 228 struct rtc_time tm; in pcf8563_ioctl() 234 if (copy_to_user((struct rtc_time *) arg, &tm, in pcf8563_ioctl() 249 struct rtc_time tm; in pcf8563_ioctl() 255 if (copy_from_user(&tm, (struct rtc_time *) arg, sizeof tm)) in pcf8563_ioctl()
|
/arch/powerpc/platforms/ps3/ |
D | time.c | 30 static void _dump_tm(const struct rtc_time *tm, const char* func, int line) in _dump_tm() 45 struct rtc_time tm; in _dump_time() 77 int ps3_set_rtc_time(struct rtc_time *tm) in ps3_set_rtc_time() 86 void ps3_get_rtc_time(struct rtc_time *tm) in ps3_get_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 | 81 int chrp_set_rtc_time(struct rtc_time *tmarg) in chrp_set_rtc_time() 84 struct rtc_time tm = *tmarg; in chrp_set_rtc_time() 125 void chrp_get_rtc_time(struct rtc_time *tm) in chrp_get_rtc_time()
|
/arch/powerpc/platforms/iseries/ |
D | setup.h | 22 extern int iSeries_set_rtc_time(struct rtc_time *tm); 23 extern void iSeries_get_rtc_time(struct rtc_time *tm);
|
/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/cris/include/asm/ |
D | rtc.h | 82 struct rtc_time { struct 97 #define RTC_RD_TIME _IOR(RTC_MAGIC, 0x09, struct rtc_time) argument 99 #define RTC_SET_TIME _IOW(RTC_MAGIC, 0x0a, struct rtc_time)
|
/arch/powerpc/kernel/ |
D | rtas-rtc.c | 45 void rtas_get_rtc_time(struct rtc_time *rtc_tm) in rtas_get_rtc_time() 59 memset(rtc_tm, 0, sizeof(struct rtc_time)); in rtas_get_rtc_time() 82 int rtas_set_rtc_time(struct rtc_time *tm) in rtas_set_rtc_time()
|
/arch/ia64/sn/kernel/sn2/ |
D | timer.c | 49 unsigned long start = rtc_time(); in ia64_sn_udelay() 53 while (time_before((unsigned long)rtc_time(), end)) in ia64_sn_udelay()
|
/arch/m68k/mvme16x/ |
D | rtc.c | 45 struct rtc_time wtime; in rtc_ioctl() 54 memset(&wtime, 0, sizeof(struct rtc_time)); in rtc_ioctl() 71 struct rtc_time rtc_tm; in rtc_ioctl() 78 if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time))) in rtc_ioctl()
|
/arch/m68k/bvme6000/ |
D | rtc.c | 47 struct rtc_time wtime; in rtc_ioctl() 57 memset(&wtime, 0, sizeof(struct rtc_time)); in rtc_ioctl() 76 struct rtc_time rtc_tm; in rtc_ioctl() 83 if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time))) in rtc_ioctl()
|
/arch/alpha/include/asm/ |
D | machvec.h | 24 struct rtc_time; 98 unsigned int (*rtc_get_time)(struct rtc_time *); 99 int (*rtc_set_time)(struct 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/cris/arch-v32/drivers/ |
D | pcf8563.c | 106 get_rtc_time(struct rtc_time *tm) in get_rtc_time() 224 struct rtc_time tm; in pcf8563_ioctl() 230 if (copy_to_user((struct rtc_time *) arg, &tm, in pcf8563_ioctl() 245 struct rtc_time tm; in pcf8563_ioctl() 251 if (copy_from_user(&tm, (struct rtc_time *) arg, in pcf8563_ioctl()
|