cec_notifier_set_phys_addr(9)
π 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 astruct cec_notifier *.paβ the CEC physical address, which is au16. 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:
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_from_edid(9)cec_notifier_parse_hdmi_phandle(9)cec_notifier_phys_addr_invalidate(9)
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
- 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