sdw_master_rt_config(9)
π sdw_master_rt_config π
okay so this is a page from the Kernel API Manual (yes, that Kernel API Manual π ) and it's about one very specific little function, so let's get into it bestie β¨
β¨ NAME β¨
sdw_master_rt_config β Configure Master runtime handle π«Ά
πΈ SYNOPSIS πΈ
int sdw_master_rt_config (struct sdw_master_runtime *m_rt , struct
sdw_stream_config *stream_config );
like, it returns an int, and it takes exactly those two things. no cap. π₯
π ARGUMENTS π
m_rtβ the Master runtime handle π (this is the structsdw_master_runtime *one, iykyk)stream_configβ the stream configuration π (that's yourstruct sdw_stream_config *)
π¦ DESCRIPTION π¦
so here's the whole vibe: this function is to be called with bus_lock held. that's it, that's the tea β
β οΈ bestie please read this one twice β you must be holding bus_lock when you call this. the manpage says it, so it's fr fr serious ππ
π SEE ALSO π
head on over to the Kernel file ./drivers/soundwire/stream.c and also check out all these iconic siblings π:
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_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)
and that's the whole page, bestie!! π§β¨ this one lives over in ./drivers/soundwire and it's dated October 2026 β go off, soundwire directory, 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