STRUCT SDW_STREAM_RUNTIME(9)
π struct sdw_stream_runtime π
okay so this page is the struct sdw_stream_runtime page from the Kernel API Manual, and it's literally all about the runtime stream parameters β like, the little bundle of info that tells you everything about a SoundWire stream while it's alive and vibing. bestie, it's giving "tiny struct, big responsibilities" and i'm obsessed π
πΈ NAME πΈ
struct sdw_stream_runtime β the runtime stream parameters, periodt. that's the whole vibe check β¨
π¦ SYNOPSIS π¦
struct sdw_stream_runtime {
const char *name;
struct sdw_stream_params params;
enum sdw_stream_state state;
enum sdw_stream_type type;
int m_rt_count;
struct list_head master_list;
};
no cap, that's the exact shape of it, keep it cute in your notes π
π«Ά Members π«Ά
nameβ the SoundWire stream's name, its little main-character label π·οΈparamsβ the stream parameters, all the deets in one placestateβ the current state of the stream, like its mood ring πtypeβ the stream type, and the options arePCM,PDMorBPTπ§m_rt_countβ how many Master runtime(s) are chillin' in this stream, a literal headcount π’master_listβ the list of Master runtime(s) in this stream. and hear me out:master_listcan contain only onem_rtper Master instance for a stream β that's the rule, do not test it π
π₯ SEE ALSO π₯
the kernel file lives at ./include/linux/soundwire/sdw.h β go say hi to it, it's iconic π
then the whole friend group, fr fr:
enum sdw_slave_status(9)enum sdw_clk_stop_type(9)enum sdw_command_response(9)enum sdw_stream_type(9)enum sdw_data_direction(9)enum sdw_port_data_mode(9)enum sdw_p15_behave(9)enum sdw_dpn_type(9)enum sdw_clk_stop_mode(9)struct sdw_dp0_prop(9)struct sdw_dpn_prop(9)struct sdw_slave_prop(9)struct sdw_master_prop(9)struct sdw_slave_id(9)struct sdw_slave_intr_status(9)enum sdw_reg_bank(9)struct sdw_prepare_ch(9)enum sdw_port_prep_ops(9)struct sdw_bus_params(9)struct sdw_slave_ops(9)struct sdw_slave(9)struct sdw_master_device(9)struct sdw_port_params(9)struct sdw_transport_params(9)struct sdw_enable_ch(9)struct sdw_master_port_ops(9)struct sdw_defer(9)struct sdw_master_ops(9)struct sdw_port_config(9)struct sdw_stream_config(9)enum sdw_stream_state(9)struct sdw_stream_params(9)struct sdw_bus(9)sdw_slave_wait_for_init(9)
π reminder bestie:master_listholds only onem_rtper Master instance for a stream. that's the caveat, don't come for me when you stack two and it gets weird π
and that's the page! this one's from ./include/linux/soundwire, dated October 2026, and the title card reads struct sdw_stream_runtime(9) β mwah, slay, see u in the group chat π§π
π¦ 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