Home
last modified time | relevance | path

Searched refs:rtc_irq (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/rtc/
Drtc-nuc900.c65 unsigned long events = 0, rtc_irq; in nuc900_rtc_interrupt() local
67 rtc_irq = __raw_readl(rtc->rtc_reg + REG_RTC_RIIR); in nuc900_rtc_interrupt()
69 if (rtc_irq & ALARMINTENB) { in nuc900_rtc_interrupt()
70 rtc_irq &= ~ALARMINTENB; in nuc900_rtc_interrupt()
71 __raw_writel(rtc_irq, rtc->rtc_reg + REG_RTC_RIIR); in nuc900_rtc_interrupt()
75 if (rtc_irq & TICKINTENB) { in nuc900_rtc_interrupt()
76 rtc_irq &= ~TICKINTENB; in nuc900_rtc_interrupt()
77 __raw_writel(rtc_irq, rtc->rtc_reg + REG_RTC_RIIR); in nuc900_rtc_interrupt()
Drtc-ftrtc010.c42 int rtc_irq; member
157 rtc->rtc_irq = res->start; in ftrtc010_rtc_probe()
183 ret = devm_request_irq(dev, rtc->rtc_irq, ftrtc010_rtc_interrupt, in ftrtc010_rtc_probe()
Drtc-max77686.c95 int rtc_irq; member
675 info->rtc_irq = platform_get_irq(pdev, 0); in max77686_init_rtc_regmap()
676 if (info->rtc_irq < 0) { in max77686_init_rtc_regmap()
678 info->rtc_irq); in max77686_init_rtc_regmap()
679 return info->rtc_irq; in max77686_init_rtc_regmap()
682 info->rtc_irq = parent_i2c->irq; in max77686_init_rtc_regmap()
712 ret = regmap_add_irq_chip(info->rtc_regmap, info->rtc_irq, in max77686_init_rtc_regmap()
788 regmap_del_irq_chip(info->rtc_irq, info->rtc_irq_data); in max77686_rtc_probe()
800 regmap_del_irq_chip(info->rtc_irq, info->rtc_irq_data); in max77686_rtc_remove()
Drtc-cmos.c713 cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq) in cmos_do_probe() argument
752 cmos_rtc.irq = rtc_irq; in cmos_do_probe()
828 if (is_valid_irq(rtc_irq)) in cmos_do_probe()
835 if (is_valid_irq(rtc_irq) && !(rtc_control & RTC_24H)) { in cmos_do_probe()
844 if (is_valid_irq(rtc_irq)) { in cmos_do_probe()
859 retval = request_irq(rtc_irq, rtc_cmos_int_handler, in cmos_do_probe()
863 dev_dbg(dev, "IRQ %d is already in use\n", rtc_irq); in cmos_do_probe()
883 !is_valid_irq(rtc_irq) ? "no alarms" : in cmos_do_probe()
894 if (is_valid_irq(rtc_irq)) in cmos_do_probe()
895 free_irq(rtc_irq, cmos_rtc.rtc); in cmos_do_probe()
[all …]
Drtc-mrst.c319 int rtc_irq) in vrtc_mrst_do_probe() argument
338 mrst_rtc.irq = rtc_irq; in vrtc_mrst_do_probe()
358 if (rtc_irq) { in vrtc_mrst_do_probe()
359 retval = devm_request_irq(dev, rtc_irq, mrst_rtc_irq, in vrtc_mrst_do_probe()
364 rtc_irq, retval); in vrtc_mrst_do_probe()
Drtc-omap.c219 static irqreturn_t rtc_irq(int irq, void *dev_id) in rtc_irq() function
847 ret = devm_request_irq(&pdev->dev, rtc->irq_timer, rtc_irq, 0, in omap_rtc_probe()
853 ret = devm_request_irq(&pdev->dev, rtc->irq_alarm, rtc_irq, 0, in omap_rtc_probe()
/linux-4.19.296/drivers/char/
Drtc.c97 static int rtc_irq; variable
874 rtc_irq = op->irqs[0]; in rtc_init()
885 if (!rtc_irq) { in rtc_init()
894 if (request_irq(rtc_irq, rtc_interrupt, IRQF_SHARED, "rtc", in rtc_init()
897 printk(KERN_ERR "rtc: cannot register IRQ %d\n", rtc_irq); in rtc_init()
1040 free_irq(rtc_irq, &rtc_port); in rtc_exit()