cec_get_edid_spa_location(9)
π NAME π
okay so bestie, welcome to the cec_get_edid_spa_location(9) page from the Kernel API Manual β yes, that manual π
. The whole vibe is: cec_get_edid_spa_location β find location of the Source Physical Address β¨
πΈ SYNOPSIS πΈ
unsigned int cec_get_edid_spa_location (const u8 *edid , unsigned int
size );
π ARGUMENTS π
edidβ the EDID, aka the main-character input π«Άsizeβ the size of the EDID, gotta know how much EDID we're working with π
π¦ DESCRIPTION π¦
This EDID is expected to be a CEA-861 compliant, which means that there are at least two blocks and one or more of the extensions blocks are CEA-861 blocks. No cap.
The returned location is guaranteed to be <= size-2. That's the safety vibe check β
This is an inline function since it is used by both CEC and V4L2. Ideally this would go in a module shared by both, but it is overkill to do that for just a single function. Like, literally, one function does not need a whole shared-module era π
π SEE ALSO π
Kernel file ./include/media/cec.h and the whole friend group:
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_get_edid_phys_addr(9)cec_phys_addr_invalidate(9)
bye bestie, this page's source/version is ./include/media, dated October 2026 β mwah π
π¦ 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