crc7_be(9)
β¨ crc7_be(9) β¨
okay bestie, welcome to the Kernel API Manual entry for crc7_be β it's the little function that updates the CRC7 for a data buffer, and yes we're gonna get into it π
πΈ NAME πΈ
crc7_be β update the CRC7 for the data buffer
π SYNOPSIS π
u8 crc7_be (u8 crc , const u8 *buffer , size_t len );
π ARGUMENTS π
crcβ previous CRC7 valuebufferβ data pointerlenβ number of bytes in the buffer
π¦ CONTEXT π¦
any β literally any context, she's flexible like that π«Ά
π₯ DESCRIPTION π₯
So crc7_be returns the updated CRC7 value. The CRC7 is left-aligned in the byte β the lsbit is always 0 β and that's on purpose, because it makes the computation easier, and all callers want it in that form. No cap. π
π SEE ALSO π
Kernel file ./lib/crc7.c β go peek if you want the source vibes π
that's the whole page, bestie β source/version ./lib/crc7.c, dated October 2026, and the page is crc7_be(9). stay slay β¨π
π¦ 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