Home | History | Annotate | Download | only in linux

Lines Matching refs:rtc_time

5  * Struct rtc_time and first 12 ioctl by Paul Gortmaker, 1996 - separated out
20 struct rtc_time {
39 struct rtc_time time; /* time the alarm is set to */
79 #define RTC_ALM_SET _IOW('p', 0x07, struct rtc_time) /* Set alarm time */
80 #define RTC_ALM_READ _IOR('p', 0x08, struct rtc_time) /* Read alarm time */
81 #define RTC_RD_TIME _IOR('p', 0x09, struct rtc_time) /* Read RTC time */
82 #define RTC_SET_TIME _IOW('p', 0x0a, struct rtc_time) /* Set RTC time */
106 extern int rtc_valid_tm(struct rtc_time *tm);
107 extern int rtc_tm_to_time(struct rtc_time *tm, unsigned long *time);
108 extern void rtc_time_to_tm(unsigned long time, struct rtc_time *tm);
122 int (*read_time)(struct device *, struct rtc_time *);
123 int (*set_time)(struct device *, struct rtc_time *);
180 extern int rtc_read_time(struct class_device *class_dev, struct rtc_time *tm);
181 extern int rtc_set_time(struct class_device *class_dev, struct rtc_time *tm);
210 void rtc_get_rtc_time(struct rtc_time *rtc_tm);