STRUCT SDW_MSG(9)
π struct sdw_msg(9) π
okay bestie, welcome to the Kernel API Manual page for struct sdw_msg(9) β yes, we're doing struct lore today and it's lowkey iconic. This is the message structure, and it's giving main character energy. Periodt. π
π NAME π
struct sdw_msg - Message structure. That's the name vibe, fr fr β it's a message structure and it said what it said. π
β¨ SYNOPSIS β¨
Here's the struct in all its main-character glory, no cap:
struct sdw_msg {
u16 addr;
u16 len;
u8 dev_num;
u8 addr_page1;
u8 addr_page2;
u8 flags;
u8 *buf;
bool ssp_sync;
bool page;
};
π«Ά Members π«Ά
Every member has a job, and they're all eating. Let's go through them one by one, bestie:
addrβ Register address accessed in the Slave.lenβ number of messages.dev_numβ Slave device number.addr_page1β SCP address page 1 Slave register.addr_page2β SCP address page 2 Slave register.flagsβ transfer flags, indicate if xfer is read or write.bufβ message data buffer.ssp_syncβ Send message at SSP (Stream Synchronization Point).pageβ address requires paging.
π SEE ALSO π
Go peek at the Kernel file ./drivers/soundwire/bus.h and these iconic little references, iykyk:
struct sdw_bpt_section(9)struct sdw_bpt_msg(9)struct sdw_port_runtime(9)struct sdw_slave_runtime(9)struct sdw_master_runtime(9)
That's the whole page, bestie! π The source/version is ./drivers/soundwire, it's dated October 2026, and it's all for struct sdw_msg(9) β mwah π byeee! π
π¦ 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