sdw_stream_add_slave(9)
β¨ sdw_stream_add_slave(9) β¨
okay so this is a page from the Kernel API Manual, bestie, and it's all about sdw_stream_add_slave(9) β literally the function that allocates and adds a master/slave runtime to a stream π
π NAME π
sdw_stream_add_slave β allocate and add master/slave runtime to a stream β¨
π¦ SYNOPSIS π¦
int sdw_stream_add_slave (struct sdw_slave *slave , struct
sdw_stream_config *stream_config , const struct sdw_port_config
*port_config , unsigned int num_ports , struct sdw_stream_runtime
*stream );
like, that's the whole signature, no cap π«Ά
πΈ ARGUMENTS πΈ
slaveβ the SDW Slave instance, aka the main character of this call πstream_configβ stream configuration for the audio stream, the whole vibe check for your stream π§port_configβ port configuration for the audio stream, where the ports get their little fit πnum_portsβ number of ports, bestie, just count 'em π’streamβ the SoundWire stream itself, the moment β¨
π DESCRIPTION π
okay so real talk: it is expected that the Slave is added before adding Master to the Stream. like, order matters, periodt π
π SEE ALSO π
Kernel file ./drivers/soundwire/stream.c β and then the whole friend group of related calls, fr fr:
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_add_master(9)sdw_stream_remove_master(9)sdw_stream_remove_slave(9)
and that's the whole page, bestie π it lives over at ./drivers/soundwire, stamped October 2026 β go off, you iconic kernel dev you ππ«Ά
π¦ 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