DFL_FPGA_PO..._GET_IRQ_NUM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ DFL_FPGA_PORT_ERR_GET_IRQ_NUM ✨

okay so bestie, we're in the Kernel API Manual today (section 9, kernel-space vibes only πŸ’…) and the star of the show is DFL_FPGA_PORT_ERR_GET_IRQ_NUM. iconic name, i know. say it three times fast, i dare you 🫢


🌸 NAME 🌸

DFL_FPGA_PORT_ERR_GET_IRQ_NUM β€” literally this whole thing:

_IOR(DFL_FPGA_MAGIC, DFL_PORT_BASE + 5, __u32 num_irqs)

that's the ioctl macro right there, no cap. it's giving "look at my magic numbers" energy πŸ”₯


πŸŽ€ SYNOPSIS πŸŽ€

DFL_FPGA_PORT_ERR_GET_IRQ_NUM

yeah. that's it. that's the whole synopsis. short and iconic ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it actually do? it gets the number of irqs supported by the fpga port error reporting private feature. that's the whole job, and she does it well πŸ‘‘

and here's the tea: currently hardware supports up to 1 irq. one. single. irq. main character energy, honestly β€” she doesn't need more πŸ’€


🌈 RETURN 🌈

  • 0 β€” slay, success πŸ’–
  • -errno β€” not slay, failure 😭

πŸ’œ SEE ALSO πŸ’œ

okay bestie, buckle up, this is the friend group:

all of them, together, one big happy kernel family 🧚


lowkey reminder: this is kernel API territory, so keep it exact and keep it safe, bestie 🫢

and that's the page!! sourced from ./include/uapi/linux, dated October 2026, filed under the Kernel API Manual β€” catch you in the next manpage, mwah πŸ’‹πŸ’–πŸŽ€

πŸ“¦ where this page comes from