/linux-6.12.1/include/linux/ |
D | rtc.h | 63 int (*read_alarm)(struct device *, struct rtc_wkalrm *); 64 int (*set_alarm)(struct device *, struct rtc_wkalrm *); 189 int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm); 191 struct rtc_wkalrm *alrm); 193 struct rtc_wkalrm *alrm); 195 struct rtc_wkalrm *alrm);
|
/linux-6.12.1/drivers/rtc/ |
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() 282 memset(&rtc->alarm, 0, sizeof(struct rtc_wkalrm)); in st_rtc_resume()
|
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() 387 int rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_read_alarm() 399 memset(alarm, 0, sizeof(struct rtc_wkalrm)); in rtc_read_alarm() 410 static int __rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_set_alarm() 450 int rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_set_alarm() 494 int rtc_initialize_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_initialize_alarm() 827 struct rtc_wkalrm alarm; in rtc_timer_enqueue() 874 struct rtc_wkalrm alarm; in rtc_timer_remove() 940 struct rtc_wkalrm alarm; in rtc_timer_do_work()
|
D | rtc-goldfish.c | 23 struct rtc_wkalrm *alrm) in goldfish_rtc_read_alarm() 39 memset(alrm, 0, sizeof(struct rtc_wkalrm)); in goldfish_rtc_read_alarm() 52 struct rtc_wkalrm *alrm) in goldfish_rtc_set_alarm()
|
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()
|
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()
|
D | rtc-cmos.c | 91 struct rtc_wkalrm saved_wkalrm; 285 static int cmos_read_alarm(struct device *dev, struct rtc_wkalrm *t) in cmos_read_alarm() 406 static int cmos_validate_alarm(struct device *dev, struct rtc_wkalrm *t) in cmos_validate_alarm() 476 struct rtc_wkalrm *t; 516 static int cmos_set_alarm(struct device *dev, struct rtc_wkalrm *t) in cmos_set_alarm() 1215 struct rtc_wkalrm alarm; in cmos_aie_poweroff() 1259 memset(&cmos->saved_wkalrm, 0, sizeof(struct rtc_wkalrm)); in cmos_suspend() 1286 struct rtc_wkalrm current_alarm; in cmos_check_wkalrm() 1310 memset(¤t_alarm, 0, sizeof(struct rtc_wkalrm)); in cmos_check_wkalrm()
|
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()
|
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()
|
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()
|
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()
|
D | rtc-max8907.c | 120 static int max8907_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in max8907_rtc_read_alarm() 143 static int max8907_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in max8907_rtc_set_alarm()
|
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()
|
D | rtc-nxp-bbnsm.c | 96 static int bbnsm_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in bbnsm_rtc_read_alarm() 122 static int bbnsm_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in bbnsm_rtc_set_alarm()
|
D | rtc-mpc5121.c | 79 struct rtc_wkalrm wkalarm; 194 static int mpc5121_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alarm) in mpc5121_rtc_read_alarm() 206 static int mpc5121_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in mpc5121_rtc_set_alarm()
|
D | rtc-fsl-ftm-alarm.c | 189 static int ftm_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alm) in ftm_rtc_read_alarm() 205 static int ftm_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alm) in ftm_rtc_set_alarm()
|
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()
|
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()
|
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()
|
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()
|
D | rtc-pcf50633.c | 171 static int pcf50633_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in pcf50633_rtc_read_alarm() 194 static int pcf50633_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in pcf50633_rtc_set_alarm()
|
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()
|
/linux-6.12.1/include/uapi/linux/ |
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-6.12.1/arch/um/drivers/ |
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()
|
/linux-6.12.1/drivers/platform/cznic/ |
D | turris-omnia-mcu-sys-off-wakeup.c | 62 static int omnia_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in omnia_read_alarm() 79 static int omnia_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in omnia_set_alarm()
|