STRUCT CPU_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct cpu_priv(9) β€” CPU private data, but make it make sense ✨

okay so bestie, welcome to the struct cpu_priv(9) page from the Kernel API Manual πŸŽ€ this one is short but it's giving "small but mighty" energy and honestly? we love a compact struct. ngl there's not a ton here, but every single field matters, so let's not skip a crumb πŸ’…


🌸 NAME 🌸

struct cpu_priv β€” CPU private data

like, literally the CPU's own little private stash of data 🫢 no cap, that's the whole vibe.


✨ SYNOPSIS ✨

here's the shape of it, copy it exactly bestie, character for character:

struct cpu_priv {
    u32 sysclk_id[2];
    u32 slot_width;
 };

two members, that's it, and we're gonna go through both πŸ¦‹


πŸ’œ Members πŸ’œ

  • sysclk_id β€” the SYSCLK ids</... hold up, sorry, the SYSCLK ids for set_sysclk ⭐ that's what this field is for, full stop.
  • slot_width β€” the slot width of each frame πŸ“ iconic, concise, exactly what it says.

πŸ‘‘ Note πŸ‘‘

okay so this is the detail you do NOT wanna skip:

  • [1] is for tx and [0] is for rx πŸ™ˆ

like, index 1 = transmit, index 0 = receive. that's the whole note. memorize it, iykyk πŸ’€


🌈 SEE ALSO 🌈

  • Kernel file ./sound/soc/fsl/imx-hdmi.c 🧚 go read the source bestie, the source never lies

and that's the page!! short, sweet, ate and left no crumbs πŸ“

lowkey reminder: everything above is straight from the original β€” the field names, the [2], the u32s, the tx/rx indices, the file path. don't come for me if you typo'd it, the vibes are accurate but the facts are exactly as documented πŸ’–

byeee ily, go write some kernel code 🌟

this one came from ./sound/soc/fsl in the Kernel API Manual, dated October 2026 β€” catch you in the next manpage, mwah πŸ’‹

πŸ“¦ where this page comes from