STRUCT SLIM_VAL_INF(9)
π struct slim_val_inf(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for struct slim_val_inf, and yes it's giving "tiny struct, big responsibilities" β¨
πΈ NAME πΈ
struct slim_val_inf β the Slimbus value-or-information-element struct. that's literally it. it's the little guy that carries your values around π
π SYNOPSIS π
struct slim_val_inf {
u16 start_offset;
u8 num_bytes;
u8 *rbuf;
const u8 *wbuf;
struct completion *comp;
};
look at her. five members. no notes. π₯
π¦ Members π¦
start_offsetβ where the party starts π this is the starting offset in the information/value element map. iykyk.num_bytesβ up to 16. and why 16, you ask?? because that's what makes the message fit theslicesizeper the SLIMbus spec π«Ά so like, don't go over 16, fr fr.rbufβ the buffer you read the values into. your reading-era main character buffer πβ¨wbufβ the buffer you write from. note it's aconst u8 *bestie, so hands off the contents πcompβ astruct completionfor asynchronous operations. important caveat: it's valid only if a TID is required for the transaction β likeREQUESToperations. the rest of the transactions are synchronous anyway, so like... chill ππ
β SEE ALSO β
- Kernel file
./include/linux/slimbus.h struct slim_eaddr(9)enum slim_device_status(9)struct slim_device(9)struct slim_driver(9)struct slim_stream_config(9)module_slim_driver(9)
go read those next, bestie, they're all linked in the same header ππ
and that's the whole page!! this one lives in ./include/linux and the manual is dated October 2026 β mwah, bye, 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