__dpll_device_change_ntf(9)
π
__dpll_device_change_ntf(9) β like, the Kernel API Manual page, bestie π
okay so picture this: you're deep in the kernel, specifically in ./drivers/dpll, and something about your dpll device just changed and the whole world needs to know. that's literally this function. it's the little notification goblin π§ that tells everyone "hey!! the dpll device changed!!" and honestly? iconic.
β¨ NAME β¨
__dpll_device_change_ntf β notify that the dpll device has been changed πΈ
like, that's the whole vibe. the device changed. we're telling people. periodt.
π¦ SYNOPSIS π¦
int __dpll_device_change_ntf (struct dpll_device *dpll );
yes that's the whole signature, and yes you're reading it right β one argument, returns an int, no cap π
π ARGUMENTS π
dpllβ a registered dpll pointer. that's it. that's the whole argument. it's the device you're announcing to the world, so pls make sure it's actually registered before you come at it with this π«Ά
π₯ CONTEXT π₯
okay this part is important so listen up π
the caller must hold dpll_lock. like, not optional, not "eh it'll probably be fine." must. hold. it. π
and the cute part: this is suitable for use inside device callbacks which are already invoked under dpll_lock β so if you're already in there holding the lock (iykyk), you're chilling, you can just call it. no double-locking shenanigans, no deadlock drama π
β RETURN β
0if it succeeds β slay, everything's fine β¨- an error code otherwise β not slay, but at least it tells you π
π SEE ALSO π
go look at the kernel file ./drivers/dpll/dpll_netlink.c β that's where the magic lives, fr fr. and then these besties right here:
dpll_msg_add_pin_handle(9)dpll_device_change_ntf(9)__dpll_pin_change_ntf(9)dpll_pin_change_ntf(9)
like, the whole friend group π the device notifier, the pin notifiers, all of them. go say hi.
and that's the page!! π brought to you by the fine people over in ./drivers/dpll, stamped October 2026 β mwah, love u, go hold that lock ππ
π¦ 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