irq_of_parse_and_map(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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, the struct 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:


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