dpll_pin_get(9)
π dpll_pin_get(9) π
okay bestie so we're deep in the Kernel API Manual today and this one is the glow-up of pin lookups β¨ it's called dpll_pin_get and it's literally the main character of this whole page, no cap π
πΈ NAME πΈ
dpll_pin_get β find an existing dpll pin, or create a brand new one if it's not there yet π¦
β¨ SYNOPSIS β¨
struct dpll_pin * dpll_pin_get (u64 clock_id , u32 pin_idx , struct module *module , const struct dpll_pin_properties *prop , dpll_tracker *tracker );
π ARGUMENTS π
clock_idβ theclock_idof whoever created this thing, iykykpin_idxβ the idx your dev driver handed overmoduleβ a reference to the registering modulepropβ the dpll pin properties, the whole vibe sheettrackerβ the tracking object for the reference you just acquired π
π DESCRIPTION π
So basically: it grabs the existing object of a pin β and that pin is unique for the arguments you passed in, slay β or it creates a new one if it doesn't exist yet. periodt π
π₯ CONTEXT π₯
Acquires a lock (dpll_lock) β she locks, bestie, ngl that's the whole note π
β RETURN β
- a valid allocated
dpll_pinstruct pointer if it succeeded π ERR_PTR(X)β error π
π SEE ALSO π
Kernel file ./drivers/dpll/dpll_core.c, plus the whole friend group: dpll_device_get(9), dpll_device_put(9), dpll_device_register(9), dpll_device_unregister(9), dpll_pin_put(9), dpll_pin_fwnode_set(9), fwnode_dpll_pin_find(9), dpll_pin_register(9), dpll_pin_unregister(9), dpll_pin_on_pin_register(9), dpll_pin_on_pin_unregister(9), dpll_pin_ref_sync_pair_add(9), dpll_pin_own_dpll_ref_first(9)
okay that's the whole page bestie π«Ά this little gem lives in ./drivers/dpll and the version is dated October 2026 β iconic, timeless, we stan ππ§
π¦ 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