/drivers/rtc/ |
D | rtc-as3722.c | 29 int alarm_irq; member 95 enable_irq(as3722_rtc->alarm_irq); in as3722_rtc_alarm_irq_enable() 98 disable_irq(as3722_rtc->alarm_irq); in as3722_rtc_alarm_irq_enable() 200 as3722_rtc->alarm_irq = platform_get_irq(pdev, 0); in as3722_rtc_probe() 201 dev_info(&pdev->dev, "RTC interrupt %d\n", as3722_rtc->alarm_irq); in as3722_rtc_probe() 203 ret = devm_request_threaded_irq(&pdev->dev, as3722_rtc->alarm_irq, NULL, in as3722_rtc_probe() 208 as3722_rtc->alarm_irq, ret); in as3722_rtc_probe() 211 disable_irq(as3722_rtc->alarm_irq); in as3722_rtc_probe() 221 enable_irq_wake(as3722_rtc->alarm_irq); in as3722_rtc_suspend() 231 disable_irq_wake(as3722_rtc->alarm_irq); in as3722_rtc_resume()
|
D | rtc-cpcap.c | 45 int alarm_irq; member 82 enable_irq(rtc->alarm_irq); in cpcap_rtc_alarm_irq_enable() 84 disable_irq(rtc->alarm_irq); in cpcap_rtc_alarm_irq_enable() 129 disable_irq(rtc->alarm_irq); in cpcap_rtc_set_time() 164 enable_irq(rtc->alarm_irq); in cpcap_rtc_set_time() 203 disable_irq(rtc->alarm_irq); in cpcap_rtc_set_alarm() 213 enable_irq(rtc->alarm_irq); in cpcap_rtc_set_alarm() 270 rtc->alarm_irq = platform_get_irq(pdev, 0); in cpcap_rtc_probe() 271 err = devm_request_threaded_irq(dev, rtc->alarm_irq, NULL, in cpcap_rtc_probe() 279 disable_irq(rtc->alarm_irq); in cpcap_rtc_probe()
|
D | rtc-zynqmp.c | 53 int alarm_irq; member 299 xrtcdev->alarm_irq = platform_get_irq_byname(pdev, "alarm"); in xlnx_rtc_probe() 300 if (xrtcdev->alarm_irq < 0) in xlnx_rtc_probe() 301 return xrtcdev->alarm_irq; in xlnx_rtc_probe() 302 ret = devm_request_irq(&pdev->dev, xrtcdev->alarm_irq, in xlnx_rtc_probe() 358 enable_irq_wake(xrtcdev->alarm_irq); in xlnx_rtc_suspend() 370 disable_irq_wake(xrtcdev->alarm_irq); in xlnx_rtc_resume()
|
D | rtc-pic32.c | 61 int alarm_irq; member 309 pdata->alarm_irq = platform_get_irq(pdev, 0); in pic32_rtc_probe() 310 if (pdata->alarm_irq < 0) in pic32_rtc_probe() 311 return pdata->alarm_irq; in pic32_rtc_probe() 348 ret = devm_request_irq(&pdev->dev, pdata->alarm_irq, in pic32_rtc_probe() 353 "IRQ %d error %d\n", pdata->alarm_irq, ret); in pic32_rtc_probe()
|
D | rtc-pcap.c | 134 int timer_irq, alarm_irq; in pcap_rtc_probe() local 154 alarm_irq = pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_TODA); in pcap_rtc_probe() 161 err = devm_request_irq(&pdev->dev, alarm_irq, pcap_rtc_irq, 0, in pcap_rtc_probe()
|
D | rtc-s5m.c | 710 int ret, alarm_irq; in s5m_rtc_probe() local 720 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe() 725 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe() 730 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe() 735 alarm_irq = S5M8763_IRQ_ALARM0; in s5m_rtc_probe() 740 alarm_irq = S5M8767_IRQ_RTCA1; in s5m_rtc_probe() 769 info->irq = regmap_irq_get_virq(s5m87xx->irq_data, alarm_irq); in s5m_rtc_probe() 772 alarm_irq); in s5m_rtc_probe()
|
D | rtc-rzn1.c | 331 int alarm_irq; in rzn1_rtc_probe() local 344 alarm_irq = platform_get_irq(pdev, 0); in rzn1_rtc_probe() 345 if (alarm_irq < 0) in rzn1_rtc_probe() 346 return alarm_irq; in rzn1_rtc_probe() 375 ret = devm_request_irq(&pdev->dev, alarm_irq, rzn1_rtc_alarm_irq, 0, in rzn1_rtc_probe()
|
D | rtc-sh.c | 100 int alarm_irq; member 490 rtc->alarm_irq = platform_get_irq(pdev, 2); in sh_rtc_probe() 583 ret = devm_request_irq(&pdev->dev, rtc->alarm_irq, in sh_rtc_probe() 588 ret, rtc->alarm_irq); in sh_rtc_probe() 643 irq_set_irq_wake(rtc->alarm_irq, enabled); in sh_rtc_set_irq_wake()
|
D | rtc-pcf2127.c | 635 int alarm_irq, const char *name, bool is_pcf2127) in pcf2127_probe() argument 663 if (alarm_irq > 0) { in pcf2127_probe() 675 ret = devm_request_threaded_irq(dev, alarm_irq, NULL, in pcf2127_probe() 686 if (alarm_irq > 0 || device_property_read_bool(dev, "wakeup-source")) { in pcf2127_probe()
|
/drivers/hwmon/ |
D | gpio-fan.c | 81 int alarm_irq; in fan_alarm_init() local 88 alarm_irq = gpiod_to_irq(fan_data->alarm_gpio); in fan_alarm_init() 89 if (alarm_irq <= 0) in fan_alarm_init() 93 irq_set_irq_type(alarm_irq, IRQ_TYPE_EDGE_BOTH); in fan_alarm_init() 94 return devm_request_irq(dev, alarm_irq, fan_alarm_irq_handler, in fan_alarm_init()
|