/external/u-boot/include/ |
D | rtc.h | 31 int (*get)(struct udevice *dev, struct rtc_time *time); 42 int (*set)(struct udevice *dev, const struct rtc_time *time); 86 int dm_rtc_get(struct udevice *dev, struct rtc_time *time); 95 int dm_rtc_set(struct udevice *dev, struct rtc_time *time); 170 int rtc_get (struct rtc_time *); 171 int rtc_set (struct rtc_time *); 222 int rtc_calc_weekday(struct rtc_time *time); 236 int rtc_to_tm(int time_t, struct rtc_time *time); 249 unsigned long rtc_mktime(const struct rtc_time *time);
|
D | os.h | 16 struct rtc_time; 331 void os_localtime(struct rtc_time *rt);
|
/external/kernel-headers/original/uapi/linux/ |
D | rtc.h | 21 struct rtc_time { struct 40 struct rtc_time time; /* time the alarm is set to */ argument 80 #define RTC_ALM_SET _IOW('p', 0x07, struct rtc_time) /* Set alarm time */ 81 #define RTC_ALM_READ _IOR('p', 0x08, struct rtc_time) /* Read alarm time */ 82 #define RTC_RD_TIME _IOR('p', 0x09, struct rtc_time) /* Read RTC time */ 83 #define RTC_SET_TIME _IOW('p', 0x0a, struct rtc_time) /* Set RTC time */
|
/external/u-boot/post/drivers/ |
D | rtc.c | 33 struct rtc_time tm1; in rtc_post_skip() 34 struct rtc_time tm2; in rtc_post_skip() 59 static void rtc_post_restore (struct rtc_time *tm, unsigned int sec) in rtc_post_restore() 62 struct rtc_time ntm; in rtc_post_restore() 73 struct rtc_time svtm; in rtc_post_test() 118 struct rtc_time tm; in rtc_post_test() 149 struct rtc_time tm; in rtc_post_test()
|
/external/u-boot/drivers/rtc/ |
D | i2c_rtc_emul.c | 78 struct rtc_time now; in reset_time() 86 static int sandbox_i2c_rtc_get(struct udevice *dev, struct rtc_time *time) in sandbox_i2c_rtc_get() 89 struct rtc_time tm_now; in sandbox_i2c_rtc_get() 102 static int sandbox_i2c_rtc_set(struct udevice *dev, const struct rtc_time *time) in sandbox_i2c_rtc_set() 105 struct rtc_time tm_now; in sandbox_i2c_rtc_set() 123 struct rtc_time time; in sandbox_i2c_rtc_prepare_read() 144 struct rtc_time time; in sandbox_i2c_rtc_complete_write()
|
D | mvrtc.c | 21 static int __mv_rtc_get(struct mvrtc_registers *regs, struct rtc_time *t) in __mv_rtc_get() 59 int rtc_get(struct rtc_time *t) in rtc_get() 68 static int __mv_rtc_set(struct mvrtc_registers *regs, const struct rtc_time *t) in __mv_rtc_set() 98 int rtc_set(struct rtc_time *t) in rtc_set() 133 static int mv_rtc_get(struct udevice *dev, struct rtc_time *tm) in mv_rtc_get() 141 static int mv_rtc_set(struct udevice *dev, const struct rtc_time *tm) in mv_rtc_set()
|
D | mc146818.c | 84 static int mc146818_get(struct rtc_time *tmp) in mc146818_get() 132 static int mc146818_set(struct rtc_time *tmp) in mc146818_set() 198 static int rtc_mc146818_get(struct udevice *dev, struct rtc_time *time) in rtc_mc146818_get() 203 static int rtc_mc146818_set(struct udevice *dev, const struct rtc_time *time) in rtc_mc146818_set() 205 return mc146818_set((struct rtc_time *)time); in rtc_mc146818_set() 257 int rtc_get(struct rtc_time *tmp) in rtc_get() 262 int rtc_set(struct rtc_time *tmp) in rtc_set()
|
D | date.c | 33 int rtc_calc_weekday(struct rtc_time *tm) in rtc_calc_weekday() 68 int rtc_to_tm(int tim, struct rtc_time *tm) in rtc_to_tm() 123 unsigned long rtc_mktime(const struct rtc_time *tm) in rtc_mktime()
|
D | s35392a.c | 131 static int validate_time(const struct rtc_time *tm) in validate_time() 193 static int s35392a_rtc_get(DEV_TYPE *dev, struct rtc_time *tm) in s35392a_rtc_get() 229 static int s35392a_rtc_set(DEV_TYPE *dev, const struct rtc_time *tm) in s35392a_rtc_set() 315 int rtc_get(struct rtc_time *tm) in rtc_get() 320 int rtc_set(struct rtc_time *tm) in rtc_set()
|
D | rx8010sj.c | 121 static int validate_time(const struct rtc_time *tm) in validate_time() 205 static int rx8010sj_rtc_get(DEV_TYPE *dev, struct rtc_time *tmp) in rx8010sj_rtc_get() 249 static int rx8010sj_rtc_set(DEV_TYPE *dev, const struct rtc_time *tm) in rx8010sj_rtc_set() 312 int rtc_get(struct rtc_time *tm) in rtc_get() 321 int rtc_set(struct rtc_time *tm) in rtc_set()
|
D | mxsrtc.c | 39 int rtc_get(struct rtc_time *time) in rtc_get() 50 int rtc_set(struct rtc_time *time) in rtc_set()
|
D | mc13xxx-rtc.c | 12 int rtc_get(struct rtc_time *rtc) in rtc_get() 46 int rtc_set(struct rtc_time *rtc) in rtc_set()
|
D | pl031.c | 61 int rtc_set(struct rtc_time *tmp) in rtc_set() 84 int rtc_get(struct rtc_time *tmp) in rtc_get()
|
D | rs5c372.c | 118 rs5c372_convert_to_time(struct rtc_time *dt, unsigned char *buf) in rs5c372_convert_to_time() 157 rtc_get (struct rtc_time *tmp) in rtc_get() 185 int rtc_set (struct rtc_time *tmp) in rtc_set()
|
D | mx27rtc.c | 18 int rtc_get(struct rtc_time *time) in rtc_get() 37 int rtc_set(struct rtc_time *time) in rtc_set()
|
D | at91sam9_rtt.c | 32 int rtc_get (struct rtc_time *tmp) in rtc_get() 50 int rtc_set (struct rtc_time *tmp) in rtc_set()
|
D | ds1307.c | 80 int rtc_get (struct rtc_time *tmp) in rtc_get() 147 int rtc_set (struct rtc_time *tmp) in rtc_set() 212 static int ds1307_rtc_set(struct udevice *dev, const struct rtc_time *tm) in ds1307_rtc_set() 245 static int ds1307_rtc_get(struct udevice *dev, struct rtc_time *tm) in ds1307_rtc_get()
|
D | ftrtc010.c | 75 int rtc_get(struct rtc_time *tmp) in rtc_get() 96 int rtc_set(struct rtc_time *tmp) in rtc_set()
|
D | ds1306.c | 67 int rtc_get (struct rtc_time *tmp) in rtc_get() 124 int rtc_set (struct rtc_time *tmp) in rtc_set() 285 int rtc_get (struct rtc_time *tmp) in rtc_get() 355 int rtc_set (struct rtc_time *tmp) in rtc_set()
|
D | mcfrtc.c | 25 int rtc_get(struct rtc_time *tmp) in rtc_get() 54 int rtc_set(struct rtc_time *tmp) in rtc_set()
|
/external/syzkaller/sys/linux/ |
D | rtc.txt | 18 ioctl$RTC_ALM_READ(fd fd_rtc, cmd const[RTC_ALM_READ], arg ptr[out, rtc_time]) 19 ioctl$RTC_ALM_SET(fd fd_rtc, cmd const[RTC_ALM_SET], arg ptr[in, rtc_time]) 20 ioctl$RTC_RD_TIME(fd fd_rtc, cmd const[RTC_RD_TIME], arg ptr[out, rtc_time]) 21 ioctl$RTC_SET_TIME(fd fd_rtc, cmd const[RTC_SET_TIME], arg ptr[in, rtc_time]) 33 rtc_time { 48 time rtc_time
|
/external/u-boot/test/dm/ |
D | rtc.c | 28 static void show_time(const char *msg, struct rtc_time *time) in show_time() 35 static int cmp_times(struct rtc_time *expect, struct rtc_time *time, bool show) in cmp_times() 56 struct rtc_time now, time, cmp; in dm_test_rtc_set_get() 121 struct rtc_time now; in dm_test_rtc_reset() 147 struct rtc_time now1, now2, cmp; in dm_test_rtc_dual()
|
/external/u-boot/cmd/ |
D | date.c | 28 int mk_date (const char *, struct rtc_time *); 30 static struct rtc_time default_tm = { 0, 0, 0, 1, 1, 2000, 6, 0, 0 }; 34 struct rtc_time tm; in do_date() 157 int mk_date (const char *datestr, struct rtc_time *tmp) in mk_date()
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | rtctest.c | 35 static struct rtc_time cutoff_dates[] = { 81 static int compare_dates(struct rtc_time *a, struct rtc_time *b) in compare_dates() 98 struct rtc_time rtc_tm; in main() 362 struct rtc_time current; in main()
|
/external/strace/ |
D | rtc.c | 42 print_rtc_time(struct tcb *tcp, const struct rtc_time *rt) in print_rtc_time() 58 struct rtc_time rt; in decode_rtc_time()
|