dfl_fpga_enum_info_add_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the dfl_fpga_enum_info_add_irq(9) page from the Kernel API Manual! πŸ’– This one is literally add irq table to enum info β€” the function is dfl_fpga_enum_info_add_irq, and it's here to add that irq table, no cap.

πŸŽ€ SYNOPSIS πŸŽ€

int dfl_fpga_enum_info_add_irq (struct dfl_fpga_enum_info *info ,
unsigned int nr_irqs , int *irq_table );

🌸 ARGUMENTS 🌸

  • info β€” ptr to dfl_fpga_enum_info. Like, the enum info you're handing over 🫢
  • nr_irqs β€” number of irqs of the DFL fpga device to be enumerated. Yes, all the irqs, counted πŸ’…
  • irq_table β€” Linux IRQ numbers for all irqs, indexed by local irq index of this device. Keep that indexing cute and correct ✨

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜•: one FPGA device may have several interrupts. This function adds irq information of the DFL fpga device to enum info for next step enumeration. This function should be called before dfl_fpga_feature_devs_enumerate, periodt.

As we only support one irq domain for all DFLs in the same enum info, adding irq table a second time for the same enum info will return error β€” no sneaky double-dipping, bestie 😭.

If we need to enumerate DFLs which belong to different irq domains, we should fill more enum info and enumerate them one by one. That's the whole vibe: more enum info, one-by-one, slay 🌈.

πŸ’œ RETURN πŸ’œ

0 on success, negative error code otherwise. So zero is the slay outcome πŸŽ‰; negative means something went sideways 😭.

πŸ¦‹ SEE ALSO πŸ¦‹

the whole crew, in order:


okay bye bestie! πŸ’– source/version: ./drivers/fpga Β· date: October 2026 Β· manual page: dfl_fpga_enum_info_add_irq(9) β€” now go forth and add those irqs, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from