Home
last modified time | relevance | path

Searched refs:alarm_irq (Results 1 – 25 of 29) sorted by relevance

12

/dports/multimedia/libv4l/linux-5.13-rc2/drivers/rtc/
H A Drtc-as3722.c29 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()
H A Drtc-cpcap.c45 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()
H A Drtc-zynqmp.c47 int alarm_irq; member
236 xrtcdev->alarm_irq = platform_get_irq_byname(pdev, "alarm"); in xlnx_rtc_probe()
237 if (xrtcdev->alarm_irq < 0) in xlnx_rtc_probe()
238 return xrtcdev->alarm_irq; in xlnx_rtc_probe()
239 ret = devm_request_irq(&pdev->dev, xrtcdev->alarm_irq, in xlnx_rtc_probe()
283 enable_irq_wake(xrtcdev->alarm_irq); in xlnx_rtc_suspend()
295 disable_irq_wake(xrtcdev->alarm_irq); in xlnx_rtc_resume()
H A Drtc-pic32.c61 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()
H A Drtc-pcap.c134 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()
H A Drtc-s5m.c718 int ret, alarm_irq; in s5m_rtc_probe() local
728 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe()
733 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe()
738 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe()
743 alarm_irq = S5M8763_IRQ_ALARM0; in s5m_rtc_probe()
748 alarm_irq = S5M8767_IRQ_RTCA1; in s5m_rtc_probe()
777 info->irq = regmap_irq_get_virq(s5m87xx->irq_data, alarm_irq); in s5m_rtc_probe()
780 alarm_irq); in s5m_rtc_probe()
H A Drtc-sh.c100 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()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/rtc/
H A Drtc-as3722.c29 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()
H A Drtc-cpcap.c45 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()
H A Drtc-zynqmp.c47 int alarm_irq; member
236 xrtcdev->alarm_irq = platform_get_irq_byname(pdev, "alarm"); in xlnx_rtc_probe()
237 if (xrtcdev->alarm_irq < 0) in xlnx_rtc_probe()
238 return xrtcdev->alarm_irq; in xlnx_rtc_probe()
239 ret = devm_request_irq(&pdev->dev, xrtcdev->alarm_irq, in xlnx_rtc_probe()
283 enable_irq_wake(xrtcdev->alarm_irq); in xlnx_rtc_suspend()
295 disable_irq_wake(xrtcdev->alarm_irq); in xlnx_rtc_resume()
H A Drtc-pic32.c61 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()
H A Drtc-pcap.c134 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()
H A Drtc-s5m.c718 int ret, alarm_irq; in s5m_rtc_probe() local
728 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe()
733 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe()
738 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe()
743 alarm_irq = S5M8763_IRQ_ALARM0; in s5m_rtc_probe()
748 alarm_irq = S5M8767_IRQ_RTCA1; in s5m_rtc_probe()
777 info->irq = regmap_irq_get_virq(s5m87xx->irq_data, alarm_irq); in s5m_rtc_probe()
780 alarm_irq); in s5m_rtc_probe()
H A Drtc-sh.c100 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()
H A Drtc-pcf2127.c561 int alarm_irq, const char *name, bool is_pcf2127) in pcf2127_probe() argument
588 if (alarm_irq > 0) { in pcf2127_probe()
589 ret = devm_request_threaded_irq(dev, alarm_irq, NULL, in pcf2127_probe()
599 if (alarm_irq > 0 || device_property_read_bool(dev, "wakeup-source")) { in pcf2127_probe()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/rtc/
H A Drtc-as3722.c29 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()
H A Drtc-cpcap.c45 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()
H A Drtc-zynqmp.c47 int alarm_irq; member
236 xrtcdev->alarm_irq = platform_get_irq_byname(pdev, "alarm"); in xlnx_rtc_probe()
237 if (xrtcdev->alarm_irq < 0) in xlnx_rtc_probe()
238 return xrtcdev->alarm_irq; in xlnx_rtc_probe()
239 ret = devm_request_irq(&pdev->dev, xrtcdev->alarm_irq, in xlnx_rtc_probe()
283 enable_irq_wake(xrtcdev->alarm_irq); in xlnx_rtc_suspend()
295 disable_irq_wake(xrtcdev->alarm_irq); in xlnx_rtc_resume()
H A Drtc-pic32.c61 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()
H A Drtc-pcap.c134 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()
H A Drtc-s5m.c718 int ret, alarm_irq; in s5m_rtc_probe() local
728 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe()
733 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe()
738 alarm_irq = S2MPS14_IRQ_RTCA0; in s5m_rtc_probe()
743 alarm_irq = S5M8763_IRQ_ALARM0; in s5m_rtc_probe()
748 alarm_irq = S5M8767_IRQ_RTCA1; in s5m_rtc_probe()
777 info->irq = regmap_irq_get_virq(s5m87xx->irq_data, alarm_irq); in s5m_rtc_probe()
780 alarm_irq); in s5m_rtc_probe()
H A Drtc-sh.c100 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()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/hwmon/
H A Dgpio-fan.c83 int alarm_irq; in fan_alarm_init() local
90 alarm_irq = gpiod_to_irq(fan_data->alarm_gpio); in fan_alarm_init()
91 if (alarm_irq <= 0) in fan_alarm_init()
95 irq_set_irq_type(alarm_irq, IRQ_TYPE_EDGE_BOTH); in fan_alarm_init()
96 return devm_request_irq(dev, alarm_irq, fan_alarm_irq_handler, in fan_alarm_init()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/hwmon/
H A Dgpio-fan.c83 int alarm_irq; in fan_alarm_init() local
90 alarm_irq = gpiod_to_irq(fan_data->alarm_gpio); in fan_alarm_init()
91 if (alarm_irq <= 0) in fan_alarm_init()
95 irq_set_irq_type(alarm_irq, IRQ_TYPE_EDGE_BOTH); in fan_alarm_init()
96 return devm_request_irq(dev, alarm_irq, fan_alarm_irq_handler, in fan_alarm_init()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/hwmon/
H A Dgpio-fan.c83 int alarm_irq; in fan_alarm_init() local
90 alarm_irq = gpiod_to_irq(fan_data->alarm_gpio); in fan_alarm_init()
91 if (alarm_irq <= 0) in fan_alarm_init()
95 irq_set_irq_type(alarm_irq, IRQ_TYPE_EDGE_BOTH); in fan_alarm_init()
96 return devm_request_irq(dev, alarm_irq, fan_alarm_irq_handler, in fan_alarm_init()

12