cec_notifier_set_phys_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ cec_notifier_set_phys_addr πŸŽ€

okay bestie, welcome to the Kernel API Manual ✨ this one's a lil function that lives in your kernel headers and it is so lowkey but honestly kind of a baddie. let's get into it πŸ’…


🌸 NAME 🌸

cec_notifier_set_phys_addr β€” set a new physical address, that's it, that's the whole vibe 🫢


✨ SYNOPSIS ✨

void cec_notifier_set_phys_addr (struct cec_notifier *n , u16 pa );

like look at her. void return, two args, no drama, no cap πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • n β€” the CEC notifier πŸ’– like, the actual notifier struct you're poking at. it's a struct cec_notifier *.
  • pa β€” the CEC physical address, which is a u16. this is the new address you wanna set. that's the whole point bestie 🎯

🌈 DESCRIPTION 🌈

so what does it do?? it sets a new CEC physical address ✨ that's the assignment, she delivers.

and here's the part where the function is extremely chill: it does nothing if n == NULL 😌 no crash, no explosion, no "not me getting a segfault in production" moment β€” just silence. if n is NULL, she simply does not participate πŸ’€

fr fr, that NULL check is the entire safety net here. n == NULL β†’ nothing happens. iconic behaviour honestly.

πŸ‘‘ SEE ALSO πŸ‘‘

go touch some grass in the kernel tree, specifically this file:

  • Kernel file ./include/media/cec-notifier.h πŸ“

and then these related functions, all of which are also slaying in their own way:

iykyk, the whole notifier family is here and they're all eating πŸ’…


and that's the page!! this lil gem comes to you from ./include/media, dated October 2026, and yes the header said cec_notifier_set_phys_addr(9) the whole time, we just weren't ready for her πŸ§šπŸ’œ mwah, go set some physical addresses bestie πŸ“

πŸ“¦ where this page comes from