sdw_slave_rt_config(9)
β¨ sdw_slave_rt_config β¨
okay so this is a page from the Kernel API Manual, and it's all about sdw_slave_rt_config β literally the glow-up routine for a Slave runtime handle π
buckle up bestie, it's short but it matters.
π NAME π
sdw_slave_rt_config β Configure a Slave runtime handle. that's it, that's the whole vibe. β¨
πΈ SYNOPSIS πΈ
int sdw_slave_rt_config (struct sdw_slave_runtime *s_rt , struct
sdw_stream_config *stream_config );
like, it takes two things and hands you back an int. classic. π«Ά
π¦ ARGUMENTS π¦
s_rtβ the Slave runtime handle. your main character struct, the thing you're configuring πstream_configβ the stream configuration. all the deets about how the stream should look β¨
π DESCRIPTION π
okay important: this function is to be called with bus_lock held. no cap, that's the whole description. not me being dramatic, that's genuinely all it says π so yeah β hold the lock, then call it. periodt.
π SEE ALSO π
the whole squad, plus one very important file:
- Kernel file
./drivers/soundwire/stream.c 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_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)sdw_stream_remove_slave(9)
fr fr go read ./drivers/soundwire/stream.c if you wanna see the real thing in action π
okay that's the page!! huge shoutout to ./drivers/soundwire, dated October 2026, and this whole thing is filed under sdw_slave_rt_config(9) β slay, bye bestie πβ¨ππ¦πΈ
π¦ 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