acpi_irq_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, you've pulled up acpi_irq_get(9) from the Kernel API Manual, and the whole assignment is right here: acpi_irq_get β€” Lookup an ACPI IRQ resource and use it to initialize resource. periodt ✨


✨ SYNOPSIS ✨

Here's the signature, no cap β€” copy it exactly:

int acpi_irq_get (acpi_handle handle , unsigned int index , struct
resource *res );

πŸŽ€ ARGUMENTS πŸŽ€

  • handle β€” ACPI device handle 🫢
  • index β€” ACPI IRQ resource index to lookup πŸ”
  • res β€” Linux IRQ resource to initialize πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it does is look for the ACPI IRQ resource with the given index, and then use it to initialize the given Linux IRQ resource. That's the vibe, that's the function. ✨


πŸ’… RETURN πŸ’…

  • 0 β€” on success πŸŽ‰
  • -EINVAL β€” if an error occurs 😭
  • -EPROBE_DEFER β€” if the IRQ lookup/conversion failed πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/acpi/irq.c, and the whole related-page friend group is:


bye bestie! This page's source/version footer energy is ./drivers/acpi Β· October 2026 Β· acpi_irq_get(9) πŸ’–βœ¨ slay

πŸ“¦ where this page comes from