Home
last modified time | relevance | path

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

/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-cmos.c671 cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq) in cmos_do_probe() argument
702 cmos_rtc.irq = rtc_irq; in cmos_do_probe()
778 if (is_valid_irq(rtc_irq)) in cmos_do_probe()
785 if (is_valid_irq(rtc_irq) && !(rtc_control & RTC_24H)) { in cmos_do_probe()
793 if (is_valid_irq(rtc_irq)) { in cmos_do_probe()
808 retval = request_irq(rtc_irq, rtc_cmos_int_handler, in cmos_do_probe()
812 dev_dbg(dev, "IRQ %d is already in use\n", rtc_irq); in cmos_do_probe()
826 !is_valid_irq(rtc_irq) ? "no alarms" : in cmos_do_probe()
837 if (is_valid_irq(rtc_irq)) in cmos_do_probe()
838 free_irq(rtc_irq, cmos_rtc.rtc); in cmos_do_probe()
[all …]
Drtc-max77686.c101 int rtc_irq; member
683 info->rtc_irq = platform_get_irq(pdev, 0); in max77686_init_rtc_regmap()
684 if (info->rtc_irq < 0) { in max77686_init_rtc_regmap()
686 info->rtc_irq); in max77686_init_rtc_regmap()
687 return info->rtc_irq; in max77686_init_rtc_regmap()
690 info->rtc_irq = parent_i2c->irq; in max77686_init_rtc_regmap()
720 ret = regmap_add_irq_chip(info->rtc_regmap, info->rtc_irq, in max77686_init_rtc_regmap()
796 regmap_del_irq_chip(info->rtc_irq, info->rtc_irq_data); in max77686_rtc_probe()
808 regmap_del_irq_chip(info->rtc_irq, info->rtc_irq_data); in max77686_rtc_remove()
Drtc-ftrtc010.c41 int rtc_irq; member
158 rtc->rtc_irq = res->start; in ftrtc010_rtc_probe()
169 ret = devm_request_irq(dev, rtc->rtc_irq, ftrtc010_rtc_interrupt, in ftrtc010_rtc_probe()
Drtc-mrst.c320 int rtc_irq) in vrtc_mrst_do_probe() argument
339 mrst_rtc.irq = rtc_irq; in vrtc_mrst_do_probe()
361 if (rtc_irq) { in vrtc_mrst_do_probe()
362 retval = request_irq(rtc_irq, mrst_rtc_irq, in vrtc_mrst_do_probe()
367 rtc_irq, retval); in vrtc_mrst_do_probe()
Drtc-omap.c215 static irqreturn_t rtc_irq(int irq, void *dev_id) in rtc_irq() function
808 ret = devm_request_irq(&pdev->dev, rtc->irq_timer, rtc_irq, 0, in omap_rtc_probe()
814 ret = devm_request_irq(&pdev->dev, rtc->irq_alarm, rtc_irq, 0, in omap_rtc_probe()
/drivers/char/
Drtc.c97 static int rtc_irq; variable
980 rtc_irq = op->irqs[0]; in rtc_init()
991 if (!rtc_irq) { in rtc_init()
1000 if (request_irq(rtc_irq, rtc_interrupt, IRQF_SHARED, "rtc", in rtc_init()
1003 printk(KERN_ERR "rtc: cannot register IRQ %d\n", rtc_irq); in rtc_init()
1146 free_irq(rtc_irq, &rtc_port); in rtc_exit()