of_irq_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… of_irq_count(9)

okay so this is a kernel API manual page, bestie β€” of_irq_count(9), live from the Kernel API Manual, and it's literally about counting IRQs on a device tree node πŸŽ€


✨ NAME ✨

of_irq_count β€” count the number of IRQs a node uses πŸ’–

like, that's it. that's the whole job. it counts. no cap.


🌸 SYNOPSIS 🌸

int of_irq_count (struct device_node *dev );

she takes one pointer and hands you back an int, periodt ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” pointer to device tree node 🫢 β€” this is the node you're asking about, the main character of the whole operation ngl

πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./drivers/of/irq.c β€” that's where the magic happens, iykyk πŸ’œ

and here's the whole friend group, all the sibling functions you should absolutely go check out:


fr fr, that's the whole page β€” no hidden options, no sneaky environment variables, no exit statuses, no bugs section, nothing. just vibes and one very good little counting function 🌈

and that's a wrap, bestie!! 🧚 this one came from the ./drivers/of corner of the tree, dated October 2026, and it's filed under of_irq_count(9) πŸ’– slay, go count some IRQs, you've got this πŸ‘‘β­

πŸ“¦ where this page comes from