STRUCT SDW_MSG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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