cec_notifie...hdmi_phandle(9)
β¨ cec_notifier_parse_hdmi_phandle β¨
okay bestie so this is a page straight out of the Kernel API Manual and it's all about cec_notifier_parse_hdmi_phandle β yes it's a mouthful, yes the header truncates it to cec_notifie...hdmi_phandle(9), and yes we're gonna get through it together π
πΈ NAME πΈ
cec_notifier_parse_hdmi_phandle β literally just goes and finds the hdmi device from the "hdmi-phandle" property. that's the whole vibe. π
π¦ SYNOPSIS π¦
struct device * cec_notifier_parse_hdmi_phandle (struct device *dev );
π ARGUMENTS π
devβ the device rockin' the"hdmi-phandle"device tree property. this is our starting point, our main character, our source of truth β¨
π DESCRIPTION π
So like. what it does is return the device pointer that the "hdmi-phandle" property is referencing. simple, iconic, done. π«Ά
β οΈ but bestie, IMPORTANT caveat, do not skip this: the refcount of the returned device is not incremented. nope. not even a little. π
and before you panic β that's on purpose. this device pointer is only ever used as a key value in the notifier list, and it is never accessed by the CEC driver. so like, it's not a real reference, it's more of a name tag situation. vibe check passed β
π SEE ALSO π
- Kernel file
./include/media/cec-notifier.hπ cec_notifier_conn_register(9)cec_notifier_conn_unregister(9)cec_notifier_cec_adap_register(9)cec_notifier_cec_adap_unregister(9)cec_notifier_set_phys_addr(9)cec_notifier_set_phys_addr_from_edid(9)cec_notifier_phys_addr_invalidate(9)
the whole friend group fr fr, go read all of them, iykyk π§
k that's the page!! this one lives over in ./include/media, and the version stamp says October 2026 β so it's from the future, lowkey iconic π₯ stay hydrated, increment your own refcounts, and slay the kernel bestie πππ
π¦ 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