irq_of_parse_and_map(9)
π irq_of_parse_and_map(9) π
okay so bestie, welcome to the Kernel API Manual page for irq_of_parse_and_map(9) β¨ this one is short but iconic: it parses and maps an interrupt into linux virq space, periodt π
πΈ NAME πΈ
irq_of_parse_and_map β parse and map an interrupt into linux virq space π¦
β¨ SYNOPSIS β¨
unsigned int irq_of_parse_and_map (struct device_node *dev , int index
);
π ARGUMENTS π
devβ device node of the device whose interrupt is to be mapped π like, thestruct device_node *that owns the interrupt, bestie.indexβ index of the interrupt to map π’ which one we're grabbing, iykyk.
π¦ DESCRIPTION π¦
This function is a wrapper that chains of_irq_parse_one and irq_create_of_mapping together to make things easier for callers πβ¨ it's giving "convenience function, but make it useful" and honestly? obsessed. It saves callers from having to chain those two things themselves β no cap π«Ά
π SEE ALSO π
Kernel file ./drivers/of/irq.c π plus these iconic little friends:
of_irq_find_parent(9)of_irq_parse_raw(9)of_irq_parse_one(9)of_irq_to_resource(9)of_irq_get(9)of_irq_get_byname(9)of_irq_count(9)of_irq_to_resource_table(9)of_irq_init(9)of_msi_xlate(9)of_msi_map_get_device_domain(9)of_msi_get_domain(9)of_msi_configure(9)
mwah π this page is from ./drivers/of, dated October 2026, and it's literally the irq_of_parse_and_map(9) page β bye bestie, go map some interrupts ππ
π¦ 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