dfl_fpga_fea..._devs_remove(9)
π dfl_fpga_fea..._devs_remove(9) π
okay so first things first, this is a page straight out of the Kernel API Manual β yes, that Kernel API Manual β and it's about one very specific little function. it's short, it's sweet, and it's literally the cleanup era of the FPGA world πΈ
β¨ NAME β¨
dfl_fpga_feature_devs_remove β remove all feature devices π§Ή
π¦ SYNOPSIS π¦
void dfl_fpga_feature_devs_remove (struct dfl_fpga_cdev *cdev );
like, that's it. that's the whole signature. no return value, bestie β it's a void function, it just does the thing and dips π
π ARGUMENTS π
cdevβ the fpga container device. that's your main character right there π this is the container device you're handing over so it can get removed.
π₯ DESCRIPTION π₯
okay so here's the vibe: this function removes the container device and all the feature devices under the given container device. all of them. the whole little family. no cap π«Ά
so you pass in the cdev (the container device) and it's like "aight, everybody out" β container device gone, every feature device nested under it gone too. it's giving group eviction notice ngl π
π SEE ALSO π
the whole friend group, in the order the page lists them, no skipping:
- 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_enum_info_add_irq(9)dfl_fpga_feature_devs_enumerate(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)
like, go read all of them. i'll wait. iykyk π
and that's the whole page, bestie, we ate and left no crumbs π this one came from ./drivers/fpga, dated October 2026, and it lives in the Kernel API Manual β so when you cite it, cite it with your whole chest β π
π¦ 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