#ifndef _UAPI_LINUX_RTC_H_
#define _UAPI_LINUX_RTC_H_
#include <linux/const.h>
#include <linux/ioctl.h>
#include <linux/types.h>
struct rtc_time { … };
struct rtc_wkalrm { … };
struct rtc_pll_info { … };
struct rtc_param { … };
#define RTC_AIE_ON …
#define RTC_AIE_OFF …
#define RTC_UIE_ON …
#define RTC_UIE_OFF …
#define RTC_PIE_ON …
#define RTC_PIE_OFF …
#define RTC_WIE_ON …
#define RTC_WIE_OFF …
#define RTC_ALM_SET …
#define RTC_ALM_READ …
#define RTC_RD_TIME …
#define RTC_SET_TIME …
#define RTC_IRQP_READ …
#define RTC_IRQP_SET …
#define RTC_EPOCH_READ …
#define RTC_EPOCH_SET …
#define RTC_WKALM_SET …
#define RTC_WKALM_RD …
#define RTC_PLL_GET …
#define RTC_PLL_SET …
#define RTC_PARAM_GET …
#define RTC_PARAM_SET …
#define RTC_VL_DATA_INVALID …
#define RTC_VL_BACKUP_LOW …
#define RTC_VL_BACKUP_EMPTY …
#define RTC_VL_ACCURACY_LOW …
#define RTC_VL_BACKUP_SWITCH …
#define RTC_VL_READ …
#define RTC_VL_CLR …
#define RTC_IRQF …
#define RTC_PF …
#define RTC_AF …
#define RTC_UF …
#define RTC_FEATURE_ALARM …
#define RTC_FEATURE_ALARM_RES_MINUTE …
#define RTC_FEATURE_NEED_WEEK_DAY …
#define RTC_FEATURE_ALARM_RES_2S …
#define RTC_FEATURE_UPDATE_INTERRUPT …
#define RTC_FEATURE_CORRECTION …
#define RTC_FEATURE_BACKUP_SWITCH_MODE …
#define RTC_FEATURE_ALARM_WAKEUP_ONLY …
#define RTC_FEATURE_CNT …
#define RTC_PARAM_FEATURES …
#define RTC_PARAM_CORRECTION …
#define RTC_PARAM_BACKUP_SWITCH_MODE …
#define RTC_BSM_DISABLED …
#define RTC_BSM_DIRECT …
#define RTC_BSM_LEVEL …
#define RTC_BSM_STANDBY …
#define RTC_MAX_FREQ …
#endif