cec_get_edid_spa_location(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:

bye bestie, this page's source/version is ./include/media, dated October 2026 β€” mwah πŸ’‹

πŸ“¦ where this page comes from