pwron_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pwron_irq(9)

okay so bestie, welcome to the Kernel API Manual, section 9 β€” this is the page for pwron_irq, and honestly? she's a whole vibe. tiny function, big main character energy πŸŽ€


✨ NAME ✨

pwron_irq β€” button press isr πŸ”˜βœ¨

like, literally the interrupt service routine that handles a button press. that's her whole job and she ate πŸ’…


🌸 SYNOPSIS 🌸

irqreturn_t pwron_irq (int irq , void *palmas_pwron );

that's it. that's the signature. no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • irq β€” the irq πŸ’« (yes, the parameter is just called irq, and yes, that's the whole description in the original. iconic minimalism.)
  • palmas_pwron β€” a pwron struct πŸ‘‘

⭐ RETURN ⭐

IRQ_HANDLED β€” she handled it, she's done, periodt πŸ”₯


🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/input/misc/palmas-pwrbutton.c, and the whole struct-and-friends squad is here:

go read them, iykyk πŸ“šπŸ’–


ngl bestie, the original page is short and sweet β€” no warnings, no bugs section, no environment variables, no exit statuses. just vibes and an isr. don't go looking for lore that isn't there πŸ™ˆ

and that's the page!! brought to you by the fine folks at ./drivers/input/misc, dated October 2026, and filed under pwron_irq(9) β€” mwah, catch you in the next manpage πŸ§šπŸ’œ

πŸ“¦ where this page comes from