Searched refs:rtc_irq (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/rtc/ |
D | rtc-cmos.c | 706 cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq) in cmos_do_probe() argument 745 cmos_rtc.irq = rtc_irq; in cmos_do_probe() 821 if (is_valid_irq(rtc_irq)) in cmos_do_probe() 828 if (is_valid_irq(rtc_irq) && !(rtc_control & RTC_24H)) { in cmos_do_probe() 837 if (is_valid_irq(rtc_irq)) { in cmos_do_probe() 852 retval = request_irq(rtc_irq, rtc_cmos_int_handler, in cmos_do_probe() 856 dev_dbg(dev, "IRQ %d is already in use\n", rtc_irq); in cmos_do_probe() 876 !is_valid_irq(rtc_irq) ? "no alarms" : in cmos_do_probe() 887 if (is_valid_irq(rtc_irq)) in cmos_do_probe() 888 free_irq(rtc_irq, cmos_rtc.rtc); in cmos_do_probe() [all …]
|
D | rtc-ftrtc010.c | 33 int rtc_irq; member 148 rtc->rtc_irq = res->start; in ftrtc010_rtc_probe() 174 ret = devm_request_irq(dev, rtc->rtc_irq, ftrtc010_rtc_interrupt, in ftrtc010_rtc_probe()
|
D | rtc-mrst.c | 314 int rtc_irq) in vrtc_mrst_do_probe() argument 333 mrst_rtc.irq = rtc_irq; in vrtc_mrst_do_probe() 353 if (rtc_irq) { in vrtc_mrst_do_probe() 354 retval = devm_request_irq(dev, rtc_irq, mrst_rtc_irq, in vrtc_mrst_do_probe() 359 rtc_irq, retval); in vrtc_mrst_do_probe()
|
D | rtc-max77686.c | 95 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() 677 return info->rtc_irq; in max77686_init_rtc_regmap() 679 info->rtc_irq = parent_i2c->irq; in max77686_init_rtc_regmap() 709 ret = regmap_add_irq_chip(info->rtc_regmap, info->rtc_irq, in max77686_init_rtc_regmap() 780 regmap_del_irq_chip(info->rtc_irq, info->rtc_irq_data); in max77686_rtc_probe() 790 regmap_del_irq_chip(info->rtc_irq, info->rtc_irq_data); in max77686_rtc_remove()
|
D | rtc-omap.c | 215 static irqreturn_t rtc_irq(int irq, void *dev_id) in rtc_irq() function 870 ret = devm_request_irq(&pdev->dev, rtc->irq_timer, rtc_irq, 0, in omap_rtc_probe() 876 ret = devm_request_irq(&pdev->dev, rtc->irq_alarm, rtc_irq, 0, in omap_rtc_probe()
|
/Linux-v5.4/drivers/char/ |
D | rtc.c | 93 static int rtc_irq; variable 870 rtc_irq = op->irqs[0]; in rtc_init() 881 if (!rtc_irq) { in rtc_init() 890 if (request_irq(rtc_irq, rtc_interrupt, IRQF_SHARED, "rtc", in rtc_init() 893 printk(KERN_ERR "rtc: cannot register IRQ %d\n", rtc_irq); in rtc_init() 1036 free_irq(rtc_irq, &rtc_port); in rtc_exit()
|