rtc_update_irq(9)
π rtc_update_irq(9) π
okay so bestie, welcome to the Kernel API Manual β yes, we're reading kernel docs together, this is our bonding time, no cap β¨
πΈ NAME πΈ
rtc_update_irq β the function that gets called when a RTC interrupt happens. literally its whole job. icon behaviour π
π SYNOPSIS π
void rtc_update_irq (struct rtc_device *rtc , unsigned long num ,
unsigned long events );
like, that's the whole vibe. three args, void return, done π«Ά
π¦ ARGUMENTS π¦
rtcβ the rtc device, aka the actual real-time-clock bestie in question πnumβ how many irqs are being reported, and ngl it's usually one (usually!! keep that in mind, sometimes it's not π)eventsβ a mask ofRTC_IRQFwith one or more ofRTC_PF,RTC_AF,RTC_UF. like the little event combo platter π
β¨ CONTEXT β¨
any β literally any context, it does not care, it's flexible like that π
π SEE ALSO π
kernel file ./drivers/rtc/interface.c (go look, it's right there), plus the whole friend group:
rtc_read_next_alarm(9)rtc_handle_legacy_irq(9)rtc_aie_update_irq(9)rtc_uie_update_irq(9)rtc_pie_update_irq(9)rtc_irq_set_state(9)rtc_irq_set_freq(9)rtc_timer_enqueue(9)rtc_timer_remove(9)rtc_timer_do_work(9)rtc_read_offset(9)rtc_set_offset(9)
and that's the page, bestie!! π§ this one comes from ./drivers/rtc and it's dated October 2026 β so mark your calendar, it's giving future icon energy β rtc_update_irq(9) out π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms