STRUCT DPLL_DEVICE(9)
π struct dpll_device β the kernel API glow-up you didn't know you needed π
okay so bestie, this is a page from the kernel API manual (that's the 9 section vibe, iykyk β¨) and it's literally all about struct dpll_device β the lil' data home where a DPLL device keeps its internal stuff. no cap, it's giving "backstage pass to the DPLL subsystem" energy π
β¨ NAME β¨
struct dpll_device β the struct that stores DPLL device internal data π«Ά
πΈ SYNOPSIS πΈ
here's the whole struct, and yes you're gonna want to read it exactly as written, character for character, because kernel code does not do "close enough" π
struct dpll_device {
u32 id;
u32 device_idx;
u64 clock_id;
struct module *module;
enum dpll_type type;
struct xarray pin_refs;
refcount_t refcount;
struct ref_tracker_dir refcnt_tracker;
struct list_head registration_list;
};
π¦ Members π¦
okay so let's go member by member, because every single one of these is iconic in its own way β
idβ the unique id number for this device, and it's handed out by the dpll subsystem itself πdevice_idxβ the id that the dev driver gave it πclock_idβ the unique identifier (clock_id) of a dpll π°οΈmoduleβ the module of the creator πtypeβ the type of a dpll π₯pin_refsβ this one stores the pins registered within a dpll πrefcountβ literally the refcount, that's it, that's the member πrefcnt_trackerβ the ref_tracker directory used for debugging reference leaks π (yes bestie, it's a whole debugging situation)registration_listβ the list of registered ops and priv data of dpll owners π«Ά
lowkey a serve that refcnt_tracker exists purely to catch reference leaks β do not sleep on it, leaks are the villain of this story π
π SEE ALSO π
- Kernel file
./drivers/dpll/dpll_core.hstruct dpll_pin(9),struct dpll_pin_ref(9)
go read those too, the whole dpll family is honestly a vibe π§
and that's the page, bestie!! this one lives in ./drivers/dpll, it's dated October 2026, and it's filed under struct dpll_device(9) in the Kernel API Manual β periodt π
β¨π
π¦ 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