ENUM SDW_CLK_STOP_MODE(9)
π enum sdw_clk_stop_mode(9) π
okay so bestie, welcome to the Kernel API Manual β we're talking about enum sdw_clk_stop_mode today and honestly? it's a little two-constant king and it ate. π
β¨ NAME β¨
enum sdw_clk_stop_mode β Clock Stop modes π°οΈβ¨
π¦ SYNOPSIS π¦
enum sdw_clk_stop_mode {
SDW_CLK_STOP_MODE0 ,
SDW_CLK_STOP_MODE1
};
literally just two vibes. that's the whole enum. iconic behavior tbh. π
πΈ Constants πΈ
SDW_CLK_STOP_MODE0β bestie is built different: the slave can continue operation seamlessly on clock restart. no drama, no glitch, it just picks right back up. slay. β¨SDW_CLK_STOP_MODE1β okay so this one went and entered a deeper power-saving mode π΄ so it is not capable of continuing operation seamlessly when the clock restarts. it's giving "i was asleep, give me a sec." not a flaw, just a whole different energy. π
π SEE ALSO π
Kernel file ./include/linux/soundwire/sdw.h β and now the extended universe, buckle up bestie, we're going on a lore dive π«Ά:
enum sdw_slave_status(9)enum sdw_clk_stop_type(9)enum sdw_command_response(9)enum sdw_stream_type(9)enum sdw_data_direction(9)enum sdw_port_data_mode(9)enum sdw_p15_behave(9)enum sdw_dpn_type(9)struct sdw_dp0_prop(9)struct sdw_dpn_prop(9)struct sdw_slave_prop(9)struct sdw_master_prop(9)struct sdw_slave_id(9)struct sdw_slave_intr_status(9)enum sdw_reg_bank(9)struct sdw_prepare_ch(9)enum sdw_port_prep_ops(9)struct sdw_bus_params(9)struct sdw_slave_ops(9)struct sdw_slave(9)struct sdw_master_device(9)struct sdw_port_params(9)struct sdw_transport_params(9)struct sdw_enable_ch(9)struct sdw_master_port_ops(9)struct sdw_defer(9)struct sdw_master_ops(9)struct sdw_port_config(9)struct sdw_stream_config(9)enum sdw_stream_state(9)struct sdw_stream_params(9)struct sdw_stream_runtime(9)struct sdw_bus(9)sdw_slave_wait_for_init(9)
like, yes, that's a lot of reading. but iykyk β this is the soundwire cinematic universe and every single one of these is required viewing. π
ngl this one's short and sweet: one enum, two modes, zero cap. know which power state your slave is in before you assume it'll wake up pretty. π
and that's the tea! π§ source vibes come from ./include/linux/soundwire (the kernel file we already shouted out up in SEE ALSO, bestie, keeping it consistent π), dated October 2026, and this whole gorgeous little page is, of course, enum sdw_clk_stop_mode(9) πβ mwah, 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