of_irq_find_parent(9)
π of_irq_find_parent(9) π
okay bestie, we're in the Kernel API Manual and this one is literally about finding a device node's interrupt parent node. no cap, it's giving "where's my parent" energy. π β¨
πΈ NAME πΈ
of_irq_find_parent β given a device node, find its interrupt parent node. π¦π
β¨ SYNOPSIS β¨
struct device_node * of_irq_find_parent (struct device_node *child );
π ARGUMENTS π
childβ pointer to device node. that's the node you're asking about, bestie π«Ά
π₯ RETURN π₯
A pointer to the interrupt parent node with refcount increased, or NULL if the interrupt parent could not be determined. π so yeah, NULL is the "couldn't figure it out" vibe.
π SEE ALSO π
Kernel file ./drivers/of/irq.c, plus these iconic little references:
irq_of_parse_and_map(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)
that's the whole vibe π shoutout to the footer besties: source/version ./drivers/of and date October 2026, with of_irq_find_parent(9) living her best life. 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