sdw_stream_remove_slave(9)
β¨ sdw_stream_remove_slave β bestie's guide to the Kernel API Manual β¨
okay so welcome to the Kernel API Manual entry for sdw_stream_remove_slave(9) β yes the (9) is giving very much "this is kernel-internal, you're in the right neighborhood" energy π
πΈ NAME πΈ
sdw_stream_remove_slave β literally just remove slave from sdw_stream, that's the whole vibe π«Ά
π¦ SYNOPSIS π¦
int sdw_stream_remove_slave (struct sdw_slave *slave , struct
sdw_stream_runtime *stream );
so she takes two args and hands you back an int. no cap β¨
π ARGUMENTS π
slaveβ your SDW Slave instance, the lil guy in question π§streamβ the SoundWire stream, aka the vibe she's being pulled out of π
π DESCRIPTION π
so what she actually does: she removes and frees port_rt and slave_rt from a stream. both of them. gone. iconic π
but listen β ifstreamisNULLor anERR_PTR, she does nothing and returns0. not a crash, not a fuss, just0. main character restraint, honestly π
π SEE ALSO π
kernel file ./drivers/soundwire/stream.c and her whole friend group, all of them, no skips π₯:
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_add_slave(9)
and that's the whole page, bestie π she lives in ./drivers/soundwire, this is the October 2026 era of the Kernel API Manual, and honestly? periodt. πππ¦
π¦ 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