rtc_handle_legacy_irq(9)
π rtc_handle_legacy_irq(9) π
okay so bestie, welcome to the Kernel API Manual entry for rtc_handle_legacy_irq(9) β it's the AIE, UIE and PIE event hook, and it's lowkey iconic. Let's get into the lore β¨
β¨ NAME β¨
rtc_handle_legacy_irq β AIE, UIE and PIE event hook π
πΈ SYNOPSIS πΈ
void rtc_handle_legacy_irq (struct rtc_device *rtc , int num , int mode
);
π¦ ARGUMENTS π¦
Here are the three besties this function takes in:
rtcβ pointer to the rtc devicenumβ number of occurrence of the eventmodeβ type of the event,RTC_AF,RTC_UForRTC_PF
π DESCRIPTION π
So here's the vibe: this function is called when an AIE, UIE or PIE mode interrupt has occurred (or been emulated). That's it, that's the function β she's the event hook doing her lil thing π
π SEE ALSO π
Kernel file ./drivers/rtc/interface.c is in the mix, plus these faves:
rtc_read_next_alarm(9)rtc_aie_update_irq(9)rtc_uie_update_irq(9)rtc_pie_update_irq(9)rtc_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)
Source/version/date tea π: this page comes from ./drivers/rtc, dated October 2026, and it's rtc_handle_legacy_irq(9) in the Kernel API Manual. Stay slay, bestie πβ¨
π¦ 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