Go to the documentation of this file.
11 #ifndef _UAPI_LINUX_RTC_H_
12 #define _UAPI_LINUX_RTC_H_
70 #define RTC_AIE_ON _IO('p', 0x01)
71 #define RTC_AIE_OFF _IO('p', 0x02)
72 #define RTC_UIE_ON _IO('p', 0x03)
73 #define RTC_UIE_OFF _IO('p', 0x04)
74 #define RTC_PIE_ON _IO('p', 0x05)
75 #define RTC_PIE_OFF _IO('p', 0x06)
76 #define RTC_WIE_ON _IO('p', 0x0f)
77 #define RTC_WIE_OFF _IO('p', 0x10)
79 #define RTC_ALM_SET _IOW('p', 0x07, struct rtc_time)
80 #define RTC_ALM_READ _IOR('p', 0x08, struct rtc_time)
81 #define RTC_RD_TIME _IOR('p', 0x09, struct rtc_time)
82 #define RTC_SET_TIME _IOW('p', 0x0a, struct rtc_time)
83 #define RTC_IRQP_READ _IOR('p', 0x0b, unsigned long)
84 #define RTC_IRQP_SET _IOW('p', 0x0c, unsigned long)
85 #define RTC_EPOCH_READ _IOR('p', 0x0d, unsigned long)
86 #define RTC_EPOCH_SET _IOW('p', 0x0e, unsigned long)
88 #define RTC_WKALM_SET _IOW('p', 0x0f, struct rtc_wkalrm)
89 #define RTC_WKALM_RD _IOR('p', 0x10, struct rtc_wkalrm)
91 #define RTC_PLL_GET _IOR('p', 0x11, struct rtc_pll_info)
92 #define RTC_PLL_SET _IOW('p', 0x12, struct rtc_pll_info)
94 #define RTC_VL_READ _IOR('p', 0x13, int)
95 #define RTC_VL_CLR _IO('p', 0x14)
104 #define RTC_MAX_FREQ 8192