dfl_fpga_cdev_assign_port(9)
π NAME π
okay bestie, this is dfl_fpga_cdev_assign_port(9) from the Kernel API Manual β the function that assigns a port platform device back. π«Ά
β¨ SYNOPSIS β¨
int dfl_fpga_cdev_assign_port (struct dfl_fpga_cdev *cdev , int port_id
);
π ARGUMENTS π
cdevβ the parent container device. πport_idβ the id of the port platform device. π
π DESCRIPTION π
okay so hereβs the tea β: this function lets the user assign a port platform device back. It is literally a mandatory step after you disable SRIOV support β do not skip it, bestie. π
π¦ RETURN π¦
0β success, slay. β- negative error code β otherwise. π
π SEE ALSO π
the kernel file is ./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_enum_info_add_irq(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_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)
thatβs the whole vibe, bestie β source/version: ./drivers/fpga Β· date: October 2026 Β· 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