Home
last modified time | relevance | path

Searched refs:rtc_time (Results 1 – 25 of 66) sorted by relevance

123

/external/u-boot/include/
Drtc.h31 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);
Dos.h16 struct rtc_time;
331 void os_localtime(struct rtc_time *rt);
/external/kernel-headers/original/uapi/linux/
Drtc.h21 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/
Drtc.c33 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/
Di2c_rtc_emul.c78 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()
Dmvrtc.c21 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()
Dmc146818.c84 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()
Ddate.c33 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()
Ds35392a.c131 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()
Drx8010sj.c121 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()
Dmxsrtc.c39 int rtc_get(struct rtc_time *time) in rtc_get()
50 int rtc_set(struct rtc_time *time) in rtc_set()
Dmc13xxx-rtc.c12 int rtc_get(struct rtc_time *rtc) in rtc_get()
46 int rtc_set(struct rtc_time *rtc) in rtc_set()
Dpl031.c61 int rtc_set(struct rtc_time *tmp) in rtc_set()
84 int rtc_get(struct rtc_time *tmp) in rtc_get()
Drs5c372.c118 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()
Dmx27rtc.c18 int rtc_get(struct rtc_time *time) in rtc_get()
37 int rtc_set(struct rtc_time *time) in rtc_set()
Dat91sam9_rtt.c32 int rtc_get (struct rtc_time *tmp) in rtc_get()
50 int rtc_set (struct rtc_time *tmp) in rtc_set()
Dds1307.c80 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()
Dftrtc010.c75 int rtc_get(struct rtc_time *tmp) in rtc_get()
96 int rtc_set(struct rtc_time *tmp) in rtc_set()
Dds1306.c67 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()
Dmcfrtc.c25 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/
Drtc.txt18 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/
Drtc.c28 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/
Ddate.c28 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/
Drtctest.c35 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/
Drtc.c42 print_rtc_time(struct tcb *tcp, const struct rtc_time *rt) in print_rtc_time()
58 struct rtc_time rt; in decode_rtc_time()

123