DFL_FPGA_FME_ERR_SET_IRQ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… DFL_FPGA_FME_ERR_SET_IRQ(9) β€” like, the FME error-irq one πŸ¦‹

okay bestie so real talk: this is a page out of the Kernel API Manual, section 9, and the whole main character of it is an ioctl called DFL_FPGA_FME_ERR_SET_IRQ. she's not a function, she's not a syscall, she's an ioctl request code, and yes she's iconic for it. periodt ✨


🌸 NAME 🌸

DFL_FPGA_FME_ERR_SET_IRQ β€” and like, the manpage literally spells out the whole code for you too, so you know exactly what you're getting:

_IOW(DFL_FPGA_MAGIC, DFL_FME_BASE + 4, struct dfl_fpga_irq_set)

that's the whole vibe right there β€” magic number DFL_FPGA_MAGIC, offset DFL_FME_BASE + 4, and the payload struct is struct dfl_fpga_irq_set. no cap. πŸŽ€


✨ SYNOPSIS ✨

DFL_FPGA_FME_ERR_SET_IRQ

that's it. that's the whole synopsis. she ate and left no crumbs πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea πŸ“ β€” this ioctl handles the interrupt trigger for fpga fme error reporting, and it's honestly giving "do two opposite things depending on what you pass me":

  • if evtfds[n] is valid, it sets the related interrupt trigger πŸ”₯
  • if evtfds[n] is a negative value, it unsets the related interrupt trigger πŸ™ˆ

so like, same call, opposite direction, depending on the value. lowkey elegant, highkey chaotic, we love her for it. πŸ’œ


⭐ RETURN ⭐

  • 0 on success β€” slay πŸ’–
  • -errno on failure β€” not slay, but at least she tells you why 😭

🌈 SEE ALSO 🌈

the kernel file lives at ./include/uapi/linux/fpga-dfl.h β€” go read it, iykyk πŸ‘‘

and she runs with a whole friend group, fr fr:


🫢 little reminder bestie: this whole page is sourced from ./include/uapi/linux, dated October 2026, and it's filed under DFL_FPGA_FME_ERR_SET_IRQ(9). that's the sign-off, mwah πŸ’‹πŸ§šβ€β™€οΈ
πŸ“¦ where this page comes from