| /rk3399_rockchip-uboot/include/ |
| H A D | rtc.h | 32 int (*get)(struct udevice *dev, struct rtc_time *time); 43 int (*set)(struct udevice *dev, const struct rtc_time *time); 94 int dm_rtc_get(struct udevice *dev, struct rtc_time *time); 103 int dm_rtc_set(struct udevice *dev, struct rtc_time *time); 185 int rtc_get (struct rtc_time *); 186 int rtc_set (struct rtc_time *); 237 int rtc_calc_weekday(struct rtc_time *time); 251 int rtc_to_tm(int time_t, struct rtc_time *time); 264 unsigned long rtc_mktime(const struct rtc_time *time);
|
| H A D | os.h | 16 struct rtc_time; 311 void os_localtime(struct rtc_time *rt);
|
| H A D | rtc_def.h | 24 struct rtc_time { struct
|
| /rk3399_rockchip-uboot/post/drivers/ |
| H A D | rtc.c | 34 struct rtc_time tm1; in rtc_post_skip() 35 struct rtc_time tm2; in rtc_post_skip() 60 static void rtc_post_restore (struct rtc_time *tm, unsigned int sec) in rtc_post_restore() 63 struct rtc_time ntm; in rtc_post_restore() 74 struct rtc_time svtm; in rtc_post_test() 119 struct rtc_time tm; in rtc_post_test() 150 struct rtc_time tm; in rtc_post_test()
|
| /rk3399_rockchip-uboot/drivers/rtc/ |
| H A D | i2c_rtc_emul.c | 81 struct rtc_time now; in reset_time() 89 static int sandbox_i2c_rtc_get(struct udevice *dev, struct rtc_time *time) in sandbox_i2c_rtc_get() 92 struct rtc_time tm_now; in sandbox_i2c_rtc_get() 105 static int sandbox_i2c_rtc_set(struct udevice *dev, const struct rtc_time *time) in sandbox_i2c_rtc_set() 108 struct rtc_time tm_now; in sandbox_i2c_rtc_set() 126 struct rtc_time time; in sandbox_i2c_rtc_prepare_read() 147 struct rtc_time time; in sandbox_i2c_rtc_complete_write()
|
| H A D | mc146818.c | 85 static int mc146818_get(struct rtc_time *tmp) in mc146818_get() 133 static int mc146818_set(struct rtc_time *tmp) in mc146818_set() 199 static int rtc_mc146818_get(struct udevice *dev, struct rtc_time *time) in rtc_mc146818_get() 204 static int rtc_mc146818_set(struct udevice *dev, const struct rtc_time *time) in rtc_mc146818_set() 206 return mc146818_set((struct rtc_time *)time); in rtc_mc146818_set() 258 int rtc_get(struct rtc_time *tmp) in rtc_get() 263 int rtc_set(struct rtc_time *tmp) in rtc_set()
|
| H A D | date.c | 34 int rtc_calc_weekday(struct rtc_time *tm) in rtc_calc_weekday() 69 int rtc_to_tm(int tim, struct rtc_time *tm) in rtc_to_tm() 124 unsigned long rtc_mktime(const struct rtc_time *tm) in rtc_mktime()
|
| H A D | mxsrtc.c | 40 int rtc_get(struct rtc_time *time) in rtc_get() 51 int rtc_set(struct rtc_time *time) in rtc_set()
|
| H A D | mc13xxx-rtc.c | 13 int rtc_get(struct rtc_time *rtc) in rtc_get() 47 int rtc_set(struct rtc_time *rtc) in rtc_set()
|
| H A 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() 255 struct rtc_time tmp; in rtc_reset()
|
| H A D | pl031.c | 62 int rtc_set(struct rtc_time *tmp) in rtc_set() 85 int rtc_get(struct rtc_time *tmp) in rtc_get()
|
| H A D | at91sam9_rtt.c | 33 int rtc_get (struct rtc_time *tmp) in rtc_get() 51 int rtc_set (struct rtc_time *tmp) in rtc_set()
|
| H A D | ds1307.c | 81 int rtc_get (struct rtc_time *tmp) in rtc_get() 148 int rtc_set (struct rtc_time *tmp) in rtc_set() 187 struct rtc_time tmp; in rtc_reset() 230 static int ds1307_rtc_set(struct udevice *dev, const struct rtc_time *tm) in ds1307_rtc_set() 263 static int ds1307_rtc_get(struct udevice *dev, struct rtc_time *tm) in ds1307_rtc_get() 324 struct rtc_time tmp = { in ds1307_rtc_reset()
|
| H A D | mx27rtc.c | 19 int rtc_get(struct rtc_time *time) in rtc_get() 38 int rtc_set(struct rtc_time *time) in rtc_set()
|
| H A D | ftrtc010.c | 76 int rtc_get(struct rtc_time *tmp) in rtc_get() 97 int rtc_set(struct rtc_time *tmp) in rtc_set()
|
| H A D | ds1374.c | 85 int rtc_get (struct rtc_time *tm){ in rtc_get() 138 int rtc_set (struct rtc_time *tmp){ in rtc_set() 175 struct rtc_time tmp; in rtc_reset()
|
| H A D | rx8025.c | 81 int rtc_get (struct rtc_time *tmp) in rtc_get() 143 int rtc_set (struct rtc_time *tmp) in rtc_set() 170 struct rtc_time tmp; in rtc_reset()
|
| H A D | max6900.c | 40 int rtc_get (struct rtc_time *tmp) in rtc_get() 84 int rtc_set (struct rtc_time *tmp) in rtc_set()
|
| H A D | mcfrtc.c | 26 int rtc_get(struct rtc_time *tmp) in rtc_get() 55 int rtc_set(struct rtc_time *tmp) in rtc_set()
|
| H A D | sandbox_rtc.c | 16 static int sandbox_rtc_get(struct udevice *dev, struct rtc_time *time) in sandbox_rtc_get() 44 static int sandbox_rtc_set(struct udevice *dev, const struct rtc_time *time) in sandbox_rtc_set()
|
| H A D | pcf2127.c | 25 static int pcf2127_rtc_set(struct udevice *dev, const struct rtc_time *tm) in pcf2127_rtc_set() 52 static int pcf2127_rtc_get(struct udevice *dev, struct rtc_time *tm) in pcf2127_rtc_get()
|
| H A D | pcf8563.c | 26 int rtc_get (struct rtc_time *tmp) in rtc_get() 71 int rtc_set (struct rtc_time *tmp) in rtc_set()
|
| H A D | mvrtc.c | 21 int rtc_get(struct rtc_time *t) in rtc_get() 61 int rtc_set(struct rtc_time *t) in rtc_set()
|
| /rk3399_rockchip-uboot/test/dm/ |
| H A D | rtc.c | 29 static void show_time(const char *msg, struct rtc_time *time) in show_time() 36 static int cmp_times(struct rtc_time *expect, struct rtc_time *time, bool show) in cmp_times() 57 struct rtc_time now, time, cmp; in dm_test_rtc_set_get() 122 struct rtc_time now; in dm_test_rtc_reset() 148 struct rtc_time now1, now2, cmp; in dm_test_rtc_dual()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | date.c | 29 int mk_date (const char *, struct rtc_time *); 31 static struct rtc_time default_tm = { 0, 0, 0, 1, 1, 2000, 6, 0, 0 }; 35 struct rtc_time tm; in do_date() 158 int mk_date (const char *datestr, struct rtc_time *tmp) in mk_date()
|