sdw_enable_d..._slave_ports(9)
πΈ NAME πΈ
sdw_enable_disable_slave_ports β Enable/disable slave data port, bestie. This is the sdw_enable_d..._slave_ports(9) page from the Kernel API Manual, and it's giving very specific SoundWire energy. π
β¨ SYNOPSIS β¨
int sdw_enable_disable_slave_ports (struct sdw_bus *bus , struct
sdw_slave_runtime *s_rt , struct sdw_port_runtime *p_rt , bool en );
π ARGUMENTS π
busβ your bus instance, the main character holding the whole setup together.s_rtβ the slave runtime. Yep, that's the vibe.p_rtβ the port runtime, lowkey the port-specific bestie.enβ the enable/disable operation toggle, literally the yes/no of it all.
π DESCRIPTION π
Okay so bestie, this function is on a very specific mission: it only sets the enable/disable bits in the relevant bank. That's it. That's the assignment. β¨
The actual enable/disable is done with a bank switch, so no cap β the bank switch is the one doing the real flipping. This function is just setting the bits and handing off the plot. π
π¦ SEE ALSO π¦
Kernel file: ./drivers/soundwire/stream.c
The whole related squad, gathered here so you can spiral productively:
sdw_program_port_params(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)sdw_stream_remove_slave(9)
Source/version: ./drivers/soundwire Β· date: October 2026. That's the whole page, bestie β go forth and set those enable/disable bits with main character energy! ππβ¨
π¦ 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