sdw_enable_disable_ports(9)
π sdw_enable_disable_ports π
okay so bestie, welcome to the kernel API manual for sdw_enable_disable_ports β yes the function name is a whole mouthful, but trust, it's iconic once you get it. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
sdw_enable_disable_ports β turns port(s) on or off for the Master and the Slave(s), like flipping the lights in a group chat π
πΈ SYNOPSIS πΈ
int sdw_enable_disable_ports (struct sdw_master_runtime *m_rt , bool en );
so she takes two things and gives you back an int, periodt π
π ARGUMENTS π
m_rtβ the Master stream runtime, aka the main character struct πenβ the mode: enable or disable. literally just flipping the switch either way π₯
π¦ SEE ALSO π¦
she has a LOT of besties, not me listing all of them π but every single one is here, no cap:
the kernel file lives at ./drivers/soundwire/stream.c, and the whole squad is:
sdw_program_port_params(9)sdw_enable_disable_slave_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)
like... the way she's connected to literally everything? main character energy fr fr π
anyway that's the whole page bestie, you ate that π β¨
π this one's brought to you from ./drivers/soundwire, dated October 2026 β see you in the next manpage, ily, bye ππ¦
π¦ 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