/linux/include/linux/ |
A D | rtc.h | 63 int (*read_alarm)(struct device *, struct rtc_wkalrm *); 64 int (*set_alarm)(struct device *, struct rtc_wkalrm *); 190 int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm); 192 struct rtc_wkalrm *alrm); 194 struct rtc_wkalrm *alrm); 196 struct rtc_wkalrm *alrm);
|
/linux/drivers/rtc/ |
A D | rtc-st-lpc.c | 43 struct rtc_wkalrm alarm; 123 static int st_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *wkalrm) in st_rtc_read_alarm() 130 memcpy(wkalrm, &rtc->alarm, sizeof(struct rtc_wkalrm)); in st_rtc_read_alarm() 152 static int st_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *t) in st_rtc_set_alarm() 164 memcpy(&rtc->alarm, t, sizeof(struct rtc_wkalrm)); in st_rtc_set_alarm() 287 memset(&rtc->alarm, 0, sizeof(struct rtc_wkalrm)); in st_rtc_resume()
|
A D | interface.c | 179 struct rtc_wkalrm *alarm) in rtc_read_alarm_internal() 212 int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_read_alarm() 386 int rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_read_alarm() 398 memset(alarm, 0, sizeof(struct rtc_wkalrm)); in rtc_read_alarm() 409 static int __rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_set_alarm() 449 int rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_set_alarm() 493 int rtc_initialize_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_initialize_alarm() 822 struct rtc_wkalrm alarm; in rtc_timer_enqueue() 870 struct rtc_wkalrm alarm; in rtc_timer_remove() 936 struct rtc_wkalrm alarm; in rtc_timer_do_work()
|
A D | rtc-goldfish.c | 33 struct rtc_wkalrm *alrm) in goldfish_rtc_read_alarm() 49 memset(alrm, 0, sizeof(struct rtc_wkalrm)); in goldfish_rtc_read_alarm() 62 struct rtc_wkalrm *alrm) in goldfish_rtc_set_alarm()
|
A D | rtc-opal.c | 114 static int opal_get_tpo_time(struct device *dev, struct rtc_wkalrm *alarm) in opal_get_tpo_time() 168 static int opal_set_tpo_time(struct device *dev, struct rtc_wkalrm *alarm) in opal_set_tpo_time() 217 struct rtc_wkalrm alarm = { .enabled = 0 }; in opal_tpo_alarm_irq_enable()
|
A D | rtc-pl031.c | 192 static int pl031_stv2_read_alarm(struct device *dev, struct rtc_wkalrm *alarm) in pl031_stv2_read_alarm() 206 static int pl031_stv2_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in pl031_stv2_set_alarm() 261 static int pl031_read_alarm(struct device *dev, struct rtc_wkalrm *alarm) in pl031_read_alarm() 273 static int pl031_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in pl031_set_alarm()
|
A D | rtc-ab-b5ze-s3.c | 298 struct rtc_wkalrm *alarm) in _abb5zes3_rtc_read_timer() 351 struct rtc_wkalrm *alarm) in _abb5zes3_rtc_read_alarm() 419 static int abb5zes3_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alarm) in abb5zes3_rtc_read_alarm() 437 static int _abb5zes3_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in _abb5zes3_rtc_set_alarm() 505 static int _abb5zes3_rtc_set_timer(struct device *dev, struct rtc_wkalrm *alarm, in _abb5zes3_rtc_set_timer() 541 static int abb5zes3_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in abb5zes3_rtc_set_alarm()
|
A D | rtc-pl030.c | 35 static int pl030_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in pl030_read_alarm() 43 static int pl030_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in pl030_set_alarm()
|
A D | rtc-cmos.c | 91 struct rtc_wkalrm saved_wkalrm; 245 static int cmos_read_alarm(struct device *dev, struct rtc_wkalrm *t) in cmos_read_alarm() 373 static int cmos_validate_alarm(struct device *dev, struct rtc_wkalrm *t) in cmos_validate_alarm() 440 static int cmos_set_alarm(struct device *dev, struct rtc_wkalrm *t) in cmos_set_alarm() 961 struct rtc_wkalrm alarm; in cmos_aie_poweroff() 1005 memset(&cmos->saved_wkalrm, 0, sizeof(struct rtc_wkalrm)); in cmos_suspend() 1032 struct rtc_wkalrm current_alarm; in cmos_check_wkalrm() 1056 memset(¤t_alarm, 0, sizeof(struct rtc_wkalrm)); in cmos_check_wkalrm()
|
A D | rtc-test.c | 24 static int test_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in test_rtc_read_alarm() 38 static int test_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in test_rtc_set_alarm()
|
A D | rtc-pcap.c | 40 static int pcap_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in pcap_rtc_read_alarm() 59 static int pcap_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in pcap_rtc_set_alarm()
|
A D | rtc-max8907.c | 121 static int max8907_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in max8907_rtc_read_alarm() 144 static int max8907_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in max8907_rtc_set_alarm()
|
A D | rtc-digicolor.c | 112 static int dc_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alarm) in dc_rtc_read_alarm() 133 static int dc_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in dc_rtc_set_alarm()
|
A D | rtc-mpc5121.c | 81 struct rtc_wkalrm wkalarm; 196 static int mpc5121_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alarm) in mpc5121_rtc_read_alarm() 208 static int mpc5121_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in mpc5121_rtc_set_alarm()
|
A D | rtc-xgene.c | 65 static int xgene_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in xgene_rtc_read_alarm() 101 static int xgene_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in xgene_rtc_set_alarm()
|
A D | rtc-efi.c | 115 static int efi_read_alarm(struct device *dev, struct rtc_wkalrm *wkalrm) in efi_read_alarm() 135 static int efi_set_alarm(struct device *dev, struct rtc_wkalrm *wkalrm) in efi_set_alarm()
|
A D | rtc-fsl-ftm-alarm.c | 192 static int ftm_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alm) in ftm_rtc_read_alarm() 208 static int ftm_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alm) in ftm_rtc_set_alarm()
|
A D | rtc-as3722.c | 104 static int as3722_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in as3722_rtc_read_alarm() 122 static int as3722_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in as3722_rtc_set_alarm()
|
A D | rtc-msc313.c | 50 static int msc313_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alarm) in msc313_rtc_read_alarm() 80 static int msc313_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in msc313_rtc_set_alarm()
|
A D | rtc-brcmstb-waketimer.c | 146 struct rtc_wkalrm *alarm) in brcmstb_waketmr_getalarm() 166 struct rtc_wkalrm *alarm) in brcmstb_waketmr_setalarm()
|
A D | rtc-vr41xx.c | 137 static int vr41xx_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *wkalrm) in vr41xx_rtc_read_alarm() 156 static int vr41xx_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *wkalrm) in vr41xx_rtc_set_alarm()
|
A D | rtc-vt8500.c | 139 static int vt8500_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in vt8500_rtc_read_alarm() 158 static int vt8500_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in vt8500_rtc_set_alarm()
|
A D | rtc-zynqmp.c | 115 static int xlnx_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in xlnx_rtc_read_alarm() 154 static int xlnx_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in xlnx_rtc_set_alarm()
|
/linux/include/uapi/linux/ |
A D | rtc.h | 41 struct rtc_wkalrm { struct 104 #define RTC_WKALM_SET _IOW('p', 0x0f, struct rtc_wkalrm)/* Set wakeup alarm*/ 105 #define RTC_WKALM_RD _IOR('p', 0x10, struct rtc_wkalrm)/* Get wakeup alarm*/
|
/linux/arch/um/drivers/ |
A D | rtc_kern.c | 44 static int uml_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in uml_rtc_read_alarm() 82 static int uml_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in uml_rtc_set_alarm()
|