acpi_pci_link_allocate_irq(9)
β¨ acpi_pci_link_allocate_irq(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one lives in section 9 and it's literally called acpi_pci_link_allocate_irq β say that five times fast, i dare you π«Ά
πΈ NAME πΈ
acpi_pci_link_allocate_irq β Retrieve a link device GSI β‘
π SYNOPSIS π
int acpi_pci_link_allocate_irq (acpi_handle handle , int index , int
*triggering , int *polarity , char **name , u32 *gsi );
like, that's the whole vibe right there π
π¦ ARGUMENTS π¦
handleβ the handle for the link device, aka your main character πindexβ the GSI index, it's giving "which one tho" π’triggeringβ a pointer to store the GSI trigger, so it can remember how it's triggered πpolarityβ a pointer to store GSI polarity, because everything has two sides bestie βοΈnameβ a pointer to store the link device name, so it knows what to call itself π·οΈgsiβ a pointer to store the GSI number, the actual digits, no cap π₯
π RETURN π
0on success β and when it slays, it comes withtriggering,polarity,name,gsiall initialized β¨-ENODEVon failure β it's giving "no device found", huge L, we don't talk about it π
π§ SEE ALSO π§
- Kernel file
./drivers/acpi/pci_link.cβ go read it, iykyk π
and that's the whole page bestie, no notes π
fr fr β this lil manual page is from ./drivers/acpi, dated October 2026, and it's the acpi_pci_link_allocate_irq(9) entry, so like, cite it properly in your kernel homework and you'll ate that πβ π¦ π π π
π¦ 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