STRUCT SDW_SLAVE_RUNTIME(9)
Hey bestie π welcome to struct sdw_slave_runtime(9), straight outta the Kernel API Manual. This struct is the runtime stream parameters for a Slave, and the way that it's lowkey the backstage pass for one stream is iconic. We're going field by field, no skips, periodt. β¨
π NAME π
struct sdw_slave_runtime β Runtime Stream parameters for Slave. That's the whole vibe check, bestie: this is the runtime stream parameters for a Slave. π«Ά
πΈ SYNOPSIS πΈ
Okay so here's the struct definition, copied exactly β no renaming, no "fixing", no cap:
struct sdw_slave_runtime {
struct sdw_slave *slave;
enum sdw_data_direction direction;
unsigned int ch_count;
struct list_head m_rt_node;
struct list_head port_list;
};
π Members π
slaveβ the Slave handle, aka the main character pointer for this whole runtime-stream situation πdirectionβ data direction for the Slave, typed asenum sdw_data_direction; the enum is right there in the synopsis, iykyk πch_countβ number of channels handled by the Slave for this stream; it's anunsigned int, so keep that in mind bestie π₯m_rt_nodeβ thesdw_master_runtimelist node, literally what it says on the label πport_listβ list of Slave Ports configured for this stream; it's astruct list_headand it's holding the port lineup β¨
π¦ SEE ALSO π¦
Kernel file ./drivers/soundwire/bus.h β go read it, bestie, it's right there. Also check out struct sdw_msg(9), struct sdw_bpt_section(9), struct sdw_bpt_msg(9), struct sdw_port_runtime(9), and struct sdw_master_runtime(9). That's the whole friend group π
Cute sign-off: this page comes from the ./drivers/soundwire source tree, dated October 2026, and it's still serving struct sdw_slave_runtime(9) β slay, bye! π
π
π¦ 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