cec_notifie...hdmi_phandle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ’œ

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