sdw_stream_add_master(9)
π sdw_stream_add_master(9) π
okay so first things first, bestie: we're in the Kernel API Manual today, and this little function is called sdw_stream_add_master β and yes, the (9) is part of the name, it's giving kernel-section energy, we love that for us. π
β¨ NAME β¨
sdw_stream_add_master β allocate and add a master runtime</> to a stream. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
int sdw_stream_add_master (struct sdw_bus *bus , struct
sdw_stream_config *stream_config , const struct sdw_port_config
*port_config , unsigned int num_ports , struct sdw_stream_runtime
*stream );
like, look at all those parameters. she's got range. π₯
π¦ ARGUMENTS π¦
busβ your SDW Bus instance. the main character, the venue, the whole bus. πstream_configβ the stream configuration for the audio stream. the ~plan~, if you will.port_configβ the port configuration for the audio stream. which ports are doing what, bestie.num_portsβ number of ports. literally just the count, no cap. π’streamβ the SoundWire stream itself. the actual stream. the moment. β¨
π SEE ALSO π
this is the part where I introduce you to the whole friend group, because they all live in the kernel file ./drivers/soundwire/stream.c together and honestly? iconic. π
sdw_program_port_params(9)sdw_enable_disable_slave_ports(9)sdw_enable_disable_ports(9)sdw_prep_deprep_ports(9)sdw_notify_config(9)sdw_program_params(9)sdw_ml_sync_bank_switch(9)sdw_slave_rt_alloc(9)sdw_slave_rt_config(9)sdw_slave_rt_free(9)sdw_master_rt_alloc(9)sdw_master_rt_config(9)sdw_master_rt_free(9)sdw_config_stream(9)sdw_get_slave_dpn_prop(9)sdw_acquire_bus_lock(9)sdw_release_bus_lock(9)sdw_prepare_stream(9)sdw_enable_stream(9)sdw_disable_stream(9)sdw_deprepare_stream(9)sdw_alloc_stream(9)sdw_startup_stream(9)sdw_shutdown_stream(9)sdw_release_stream(9)sdw_stream_remove_master(9)sdw_stream_add_slave(9)sdw_stream_remove_slave(9)
like, that's the whole group chat right there. go say hi. π«Ά
ngl bestie, this page lives in ./drivers/soundwire β that's home base. π
and that's the tea! β this little beauty is brought to you by the good people at ./drivers/soundwire, dated October 2026, and it's page sdw_stream_add_master(9) of the Kernel API Manual. mwah. ππ§ββοΈ
π¦ 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