DFL_FPGA_PO..._GET_IRQ_NUM(9)
β¨ 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:
- the kernel file
./include/uapi/linux/fpga-dfl.hβ go read it, iykyk π DFL_FPGA_GET_API_VERSION(9)DFL_FPGA_CHECK_EXTENSION(9)DFL_FPGA_PORT_RESET(9)struct dfl_fpga_irq_set(9)DFL_FPGA_PORT_ERR_SET_IRQ(9)DFL_FPGA_PORT_UINT_GET_IRQ_NUM(9)DFL_FPGA_PORT_UINT_SET_IRQ(9)DFL_FPGA_FME_PORT_RELEASE(9)DFL_FPGA_FME_PORT_ASSIGN(9)DFL_FPGA_FME_ERR_GET_IRQ_NUM(9)DFL_FPGA_FME_ERR_SET_IRQ(9)
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
- 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