slim_read(9)
π slim_read(9) π
okay so bestie, welcome to the Kernel API Manual β today's main character is slim_read, and it is literally here to read a SLIMbus value element. tiny function, very important vibe. β¨
πΈ NAME πΈ
slim_read β Read SLIMbus value element π
β¨ SYNOPSIS β¨
int slim_read (struct slim_device *sdev , u32 addr , size_t count , u8
*val );
π ARGUMENTS π
sdevβ client handle. like, the handle for your client, bestie π«Άaddrβ address of value element to read. it's giving "where are we reading from" energy.countβ number of bytes to read. Maximum bytes allowed are 16. yes, sixteen is the ceiling, do not push it πvalβ will return what the value element value was. the output goes here, periodt π
π₯ RETURN π₯
-EINVALfor Invalid parameters. bad params = no ma'am π-ETIMEDOUTIf transmission of this message timed out (e.g. due to bus lines not being clocked or driven by controller). like the message got left on read, literally π
π SEE ALSO π
Kernel file ./drivers/slimbus/messaging.c β the whole friend group is:
slim_msg_response(9)slim_alloc_txn_tid(9)slim_free_txn_tid(9)slim_do_transfer(9)slim_xfer_msg(9)slim_readb(9)slim_write(9)slim_writeb(9)
mwah π β source: ./drivers/slimbus; date: October 2026; page: slim_read(9). bye bestie π«Ά
π¦ 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