dfl_fpga_enum_info_add_irq(9)
β¨ 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 todfl_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:
- Kernel file
./drivers/fpga/dfl.c struct dfl_dev_info(9)struct dfl_chardev_info(9)dfl_fpga_port_ops_get(9)dfl_fpga_port_ops_put(9)dfl_fpga_port_ops_add(9)dfl_fpga_port_ops_del(9)dfl_fpga_check_port_id(9)dfl_fpga_dev_feature_uinit(9)dfl_fpga_dev_feature_init(9)dfl_fpga_dev_ops_register(9)dfl_fpga_dev_ops_unregister(9)struct build_feature_devs_info(9)struct dfl_feature_info(9)dfh_find_param(9)parse_feature(9)dfl_fpga_enum_info_add_dfl(9)dfl_fpga_feature_devs_enumerate(9)dfl_fpga_feature_devs_remove(9)__dfl_fpga_cdev_find_port_data(9)dfl_fpga_cdev_release_port(9)dfl_fpga_cdev_assign_port(9)dfl_fpga_cdev_config_ports_pf(9)dfl_fpga_cdev_config_ports_vf(9)dfl_fpga_set_irq_triggers(9)dfl_feature_ioctl_get_num_irqs(9)dfl_feature_ioctl_set_irq(9)
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
- 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