DFL_FPGA_POR..._GET_IRQ_NUM(9)
β¨ DFL_FPGA_PORT_UINT_GET_IRQ_NUM(9) β¨
okay bestie, welcome to the Kernel API Manual π this one's a lil ioctl macro and she's honestly serving main character energy in like three lines of code. let's get into it π«Ά
πΈ NAME πΈ
DFL_FPGA_PORT_UINT_GET_IRQ_NUM β literally a macro that expands to _IOR(DFL_FPGA_MAGIC, DFL_PORT_BASE + 7, __u32 num_irqs)
like, that's the whole thing. she's a one-liner icon π
π¦ SYNOPSIS π¦
DFL_FPGA_PORT_UINT_GET_IRQ_NUM
no args, no drama, just vibes β¨
π DESCRIPTION π
okay so here's the tea π β this macro is how you get the number of irqs supported by the fpga AFU interrupt private feature. that's it. that's the whole job. she counts irqs and she does it flawlessly, no cap π
π RETURN π
0β success, slay, we ate π-errnoβ failure π (the negative errno tells you what went wrong, iykyk)
π SEE ALSO π
first up, the kernel file where all the good stuff lives:
./include/uapi/linux/fpga-dfl.h
and then the whole friend group π«Ά:
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_GET_IRQ_NUM(9)DFL_FPGA_PORT_ERR_SET_IRQ(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)
fr fr, go read them, they're all iconic in their own way π₯
π friendly reminder: this is kernel UAPI territory, so those numbers and theDFL_FPGA_MAGIC/DFL_PORT_BASE + 7values are load-bearing. don't be out here changing them, bestie, that's how you break userspace π
and that's the page!! brought to you by ./include/uapi/linux, dated October 2026 β mwah, catch you in the next manpage ππ§ββοΈπ
π¦ 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