of_irq_to_resource_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, meet of_irq_to_resource_table β€” it does exactly what it says on the tin: Fill in resource table with node's IRQ info ✨

and yes, this is of_irq_to_resource_table(9) from the Kernel API Manual, so you already know it's giving kernel-core realness πŸ’…


✨ SYNOPSIS ✨

int of_irq_to_resource_table (struct device_node *dev , struct resource
       *res , int nr_irqs );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” pointer to device tree node. literally the node bestie 🫢
  • res β€” array of resources to fill in. this is the table getting the glow-up ✨
  • nr_irqs β€” the number of IRQs (and upper bound for num of res elements). important: this is the cap, not a vibe suggestion πŸ’€

πŸ’… RETURN πŸ’…

The size of the filled in table (up to nr_irqs). periodt. πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹


okay that's the whole vibe πŸ’– cute little sign-off: source/version ./drivers/of, dated October 2026, page of_irq_to_resource_table(9) β€” mwah πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from