Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-cmos.c95 #define is_valid_irq(n) ((n) > 0) macro
294 if (!is_valid_irq(cmos->irq)) in cmos_read_alarm()
527 if (!is_valid_irq(cmos->irq)) in cmos_set_alarm()
1060 if (is_valid_irq(rtc_irq)) in cmos_do_probe()
1067 if (is_valid_irq(rtc_irq) && !(rtc_control & RTC_24H)) { in cmos_do_probe()
1076 if (is_valid_irq(rtc_irq)) { in cmos_do_probe()
1123 !is_valid_irq(rtc_irq) ? "no alarms" : in cmos_do_probe()
1134 if (is_valid_irq(rtc_irq)) in cmos_do_probe()
1149 if (is_valid_irq(rtc_irq)) in cmos_do_shutdown()
1161 if (is_valid_irq(cmos->irq)) { in cmos_do_remove()