STRUCT RAVE_SP_DEFRAMER(9)
π struct rave_sp_deframer(9) π
okay bestie, welcome to the Kernel API Manual β we're talking about struct rave_sp_deframer today and honestly? it's giving "small struct, big responsibilities" π
β¨ NAME β¨
struct rave_sp_deframer β the device protocol deframer, aka the little icon that turns framed bytes back into something your kernel can actually read π¦
πΈ SYNOPSIS πΈ
like, here's the shape of it, no cap:
struct rave_sp_deframer {
enum rave_sp_deframer_state state;
unsigned char data[RAVE_SP_RX_BUFFER_SIZE];
size_t length;
};
that's the whole struct, and yes every field matters, don't skip any of them π
π§ Members π§
so these are the three besties that live inside the struct:
stateβ the current state of the deframer π« literally where it's at, emotionally and protocol-wisedataβ the buffer used to collect deframed data π this is where the de-framed bytes get to hang outlengthβ the number of bytes de-framed so far π₯ a running count, keep it accurate
π SEE ALSO π
go read these next, iykyk π β they're all in the kernel file ./drivers/mfd/rave-sp.c:
enum rave_sp_deframer_state(9)struct rave_sp_reply(9)struct rave_sp_checksum(9)struct rave_sp_variant_cmds(9)struct rave_sp_variant(9)struct rave_sp(9)
ngl this one's short and sweet, but that ./drivers/mfd directory is where all the lore lives β go explore it, bestie π
mwah π that's a wrap β this page came from ./drivers/mfd, dated October 2026, and it's your girl struct rave_sp_deframer(9) signing off β¨π«Ά
π¦ 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