rtc_handle_legacy_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 device
  • num β€” number of occurrence of the event
  • mode β€” type of the event, RTC_AF, RTC_UF or RTC_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:


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