pwron_irq(9)
π 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 calledirq, and yes, that's the whole description in the original. iconic minimalism.)palmas_pwronβ apwron 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:
struct palmas_pwron(9)struct palmas_pwron_config(9)palmas_power_button_work(9)palmas_pwron_params_ofinit(9)palmas_pwron_probe(9)palmas_pwron_remove(9)palmas_pwron_suspend(9)palmas_pwron_resume(9)
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
- 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