STRUCT DFL_FEATURE_DEV_DATA(9)
β¨ struct dfl_feature_dev_data(9) β the kernel API manual, bestie edition β¨
okay so we're in the kernel API manual for struct dfl_feature_dev_data, and no cap, this is the whole vibe: it's the dfl enumeration data for dfl feature dev π
like, the little data bundle that holds everything a DFL feature device needs to know about itself. she's giving main character energy in ./drivers/fpga. let's get into it π
πΈ NAME πΈ
struct dfl_feature_dev_data β dfl enumeration data for dfl feature dev. periodt. that's her whole job π«Ά
β¨ SYNOPSIS β¨
struct dfl_feature_dev_data {
struct list_head node;
struct mutex lock;
struct platform_device *dev;
enum dfl_id_type type;
int pdev_id;
const char *pdev_name;
struct dfl_fpga_cdev *dfl_cdev;
int id;
unsigned int disable_count;
bool excl_open;
int open_count;
void *private;
int num;
struct dfl_feature *features;
int resource_num;
struct resource *resources;
};
like, look at her. seventeen fields of pure usefulness π¦
π Members π
okay bestie, field-by-field, here we go β every single one, no skipping π
nodeβ node to link the data structure to container device'sport_dev_list.lockβ mutex to protect feature dev data. guard her πdevβ ptr to the feature's platform device linked with this structure.typeβ type of DFL FIU for the feature dev. Seeenum dfl_id_type. iykyk.pdev_idβ platform device id for the feature dev.pdev_nameβ platform device name for the feature dev.dfl_cdevβ ptr to container device.idβ id used for the feature device.disable_countβ count for port disable.excl_openβ set on feature device exclusive open. very "do not disturb" of her πopen_countβ count for feature device open.privateβ ptr to feature dev private data.numβ number for sub features.featuresβ sub features for the feature dev.resource_numβ number of resources for the feature dev.resourcesβ resources for the feature dev. the whole resource moment π₯
π SEE ALSO π
Kernel file ./drivers/fpga/dfl.h β and then the whole friend group, fr fr:
struct dfl_fpga_port_ops(9)struct dfl_feature_id(9)struct dfl_feature_driver(9)struct dfl_feature_irq_ctx(9)struct dfl_feature(9)struct dfl_feature_platform_data(9)struct dfl_fpga_enum_info(9)struct dfl_fpga_enum_dfl(9)struct dfl_fpga_cdev(9)
ngl, read the whole squad before you go poking at dfl_feature_dev_data β she does NOT travel alone π
k bye bestie, mwah π this came straight out of ./drivers/fpga, dated October 2026, and the manual itself is struct dfl_feature_dev_data(9) β slay, go read the source, ily πβπ
π¦ 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