of_irq_parse_and_map_pci(9)
π of_irq_parse_and_map_pci(9) π
okay so this is from the Kernel API Manual, and it's literally the page for of_irq_parse_and_map_pci(9) β bestie, we're decoding a PCI IRQ from the device tree and mapping it to a VIRQ. iconic. No cap. β¨
π NAME π
of_irq_parse_and_map_pci β Decode a PCI IRQ from the device tree and map to a VIRQ π
πΈ SYNOPSIS πΈ
int of_irq_parse_and_map_pci (const struct pci_dev *dev , u8 slot , u8 pin );
π¦ ARGUMENTS π¦
devβ The PCI device needing an IRQ. Like, the main character that wants its interrupt, periodt. πslotβ PCI slot number; passed when used asmap_irqcallback. Unused. So it's giving βI'm here for the callback signatureβ energy. πpinβ PCI IRQ pin number; passed when used asmap_irqcallback. Unused. Same vibe: present, but not doing anything. π«Ά
π DESCRIPTION π
So slot and pin are unused, but they're included in the function so that this function can be used directly as the map_irq callback to pci_assign_irq and struct pci_host_bridge.map_irq pointer. That's the whole tea. ββ¨
π₯ SEE ALSO π₯
Kernel file: ./drivers/pci/of.c β literally the source file, bestie. π§
pci_set_of_node(9)of_pci_get_devfn(9)of_pci_parse_bus_range(9)of_get_pci_domain_nr(9)of_pci_preserve_config(9)of_pci_check_probe_only(9)devm_of_pci_get_host_bridge_resources(9)of_irq_parse_pci(9)of_pci_supply_present(9)of_pci_get_max_link_speed(9)of_pci_get_slot_power_limit(9)of_pci_get_equalization_presets(9)
okay that's the page, bestie! source/version: ./drivers/pci; date: October 2026; page title: of_irq_parse_and_map_pci(9). mwah ππ
π¦ 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