acpi_dev_irq_flags(9)
π acpi_dev_irq_flags(9) β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is acpi_dev_irq_flags π she's not flashy, but she's literally the one who tells you what your IRQ flags should be, and honestly? we stan a quiet achiever.
β¨ NAME β¨
acpi_dev_irq_flags β determine IRQ resource flags π
like, that's her whole job. she determines the flags. for IRQ resources. no cap.
πΈ SYNOPSIS πΈ
unsigned long acpi_dev_irq_flags (u8 triggering , u8 polarity , u8
shareable , u8 wake_capable );
she takes four u8 besties in and hands you back an unsigned long, which is giving "trust the process" energy tbh π₯
π¦ ARGUMENTS π¦
triggeringβ the triggering type, exactly as ACPI handed it over. don't overthink it, she got it from ACPI πpolarityβ the interrupt polarity, again as provided by ACPI. yes, both of these come straight from ACPI, she's just the messenger π«Άshareableβ whether or not the interrupt is shareable. that's it. that's the whole vibe check β¨wake_capableβ wake capability, as provided by ACPI. so like, can it wake you up? ACPI says so, not her π
ngl bestie, all four of these are just "as provided by ACPI" β she's a translator, not a decision maker. respect the pipeline π
π SEE ALSO π
the kernel file dossier lives at ./drivers/acpi/resource.c, and honestly the whole friend group is here, go say hi π₯°
acpi_dev_resource_memory(9)acpi_dev_resource_io(9)acpi_dev_resource_address_space(9)acpi_dev_resource_ext_address_space(9)acpi_dev_get_irq_type(9)acpi_dev_resource_interrupt(9)acpi_dev_free_resource_list(9)acpi_dev_get_resources(9)acpi_dev_get_dma_resources(9)acpi_dev_get_memory_resources(9)acpi_dev_filter_resource_type(9)acpi_resource_consumer(9)
like, that's the whole group chat. every single one of them. don't leave anyone on read π
okay that's the page!! and before you go β huge shoutout to ./drivers/acpi for being the home directory of all this chaos, dated October 2026, because yes she's from the future and she's still determining flags ππ
slay, go read some ACPI resources, and remember: the flags were in you all along β¨ππ¦
π¦ 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