format_value_ccm(9)
π
format_value_ccm β Kernel API Manual edition, bestie π
okay so real talk, this is a page straight out of the Kernel API Manual, and it's about writing a number into a buffer using however many bytes you feel like. slay.
β¨ NAME β¨
format_value_ccm β Format a value into a buffer, using a specified number of bytes (i.e. maybe writing value X into a 4 byte buffer, or maybe into a 12 byte buffer), as per the SPU CCM spec.
like, literally exactly that. no cap. π«Ά
πΈ SYNOPSIS πΈ
void format_value_ccm (unsigned int val , u8 *buf , u8 len );
that's the whole vibe check right there π
π¦ ARGUMENTS π¦
valβ the value to write (up to max of unsigned int). so like, big energy, but not infinite energy πbufβ (pointer to) buffer to write the value. this is where the magic lands β¨lenβ number of bytes to use (0 to 255). yes,0is a legal value here, don't come for me π
π§ SEE ALSO π§
Kernel file ./drivers/crypto/bcm/util.c and its little friend group, iykyk:
go read those too fr fr, they're all in the same ./drivers/crypto/bcm fam and they're iconic in their own right π
and that's the page!! mwah π β brought to you by the ./drivers/crypto/bcm source, dated October 2026, with so much love from your favorite kernel manual πβ¨
π¦ 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