dpll_device_put(9)
π dpll_device_put(9) β the Kernel API Manual glow-up β¨
okay so you're in the kernel API manual, section 9, and today's main character is dpll_device_put π
β¨ NAME β¨
dpll_device_put β decrease the refcount and free memory if possible π«Ά
like, she's the put to your get, bestie. you borrowed a ref, now you give it back. no cap.
πΈ SYNOPSIS πΈ
void dpll_device_put (struct dpll_device *dpll , dpll_tracker *tracker
);
yep that's the whole vibe. void return, two args, she's not here to chat π
π¦ ARGUMENTS π¦
dpllβ adpll_devicestruct pointer π like, the actual dpll device object you're dropping a ref ontrackerβ the tracking object for the acquired reference β she's the receipts, the proof you actually owned that ref, iykyk
π₯ CONTEXT π₯
okay so important context bestie, listen up π
Acquires a lock (dpll_lock) π and drops the reference for a dpll device. and if all the references are gone? she deletes the dpll device object. periodt. β¨
lowkey iconic behaviour β last one out turns off the lights π
π SEE ALSO π
kernel file: ./drivers/dpll/dpll_core.c π (yes, that's where the magic lives)
and the whole dpll squad, all linked, all slaying:
dpll_device_get(9)dpll_device_register(9)dpll_device_unregister(9)dpll_pin_get(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)
and that's the page, bestie π«Ά this one's from ./drivers/dpll, dated October 2026, and it lives in the Kernel API Manual β go forth and put your refs back where you found them πβ¨π
π¦ 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