cec_get_edid_phys_addr(9)
π cec_get_edid_phys_addr(9) π
okay so bestie, this is a page from the Kernel API Manual β and no, it's not about the girlies, it's about the CEC subsystem in the kernel. we're literally digging through EDID data to find a physical address. stay with me, it's giving detective energy πβ¨
β¨ NAME β¨
cec_get_edid_phys_addr β find and return the physical address π
no cap, that's the whole job. it goes looking and hands you the address back.
πΈ SYNOPSIS πΈ
u16 cec_get_edid_phys_addr (const u8 *edid , unsigned int size ,
unsigned int *offset );
look at that signature, she's iconic π
three args, returns a u16. periodt.
π¦ ARGUMENTS π¦
edidβ pointer to the EDID data π this is the blob you're snooping through, bestie.sizeβ size in bytes of the EDID data πΈ gotta tell her how far she's allowed to look, or she's just wandering.offsetβ If notNULLthen the location of the physical address bytes in the EDID will be returned here. This is set to0if there is no physical address found. π― so like, she'll drop the coordinates in here for you β but if she comes back empty-handed, it's a big fat0, no cap.
π RETURN π
the physical address π₯ or CEC_PHYS_ADDR_INVALID if there is none π yeah, sometimes she just doesn't find it, and that's valid.
π SEE ALSO π
Kernel file ./include/media/cec.h β and the whole friend group, fr fr:
struct cec_devnode(9)struct cec_adapter(9)cec_is_registered(9)cec_queue_pin_cec_event(9)cec_queue_pin_hpd_event(9)cec_queue_pin_5v_event(9)cec_phys_addr_invalidate(9)cec_get_edid_spa_location(9)
like, go read those too, they all hang out together π«Ά
mwah π that's the page! it lives under ./include/media in the kernel tree, and this particular rendering is dated October 2026 β so like, future vibes only βπ thanks for reading bestie, you ate π
β¨
π¦ 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