STRUCT SDW_ENABLE_CH(9)
π struct sdw_enable_ch(9) π
okay so bestie, gather round, because this is the struct sdw_enable_ch(9) page from the Kernel API Manual and it's literally the little struct that turns a Data Port channel on and off. tiny struct, big main character energy π
β¨ NAME β¨
struct sdw_enable_ch β Enable/disable Data Port channel ποΈ
Like, that's it. That's the whole job. It's giving "small but mighty."
πΈ SYNOPSIS πΈ
struct sdw_enable_ch {
unsigned int port_num;
unsigned int ch_mask;
bool enable;
};
no cap, that's the entire shape of it π«Ά
π¦ Members π¦
port_numβ Port number π’ β which port we're talking about, bestie.ch_maskβ Active channel mask ποΈ β the mask for the channels that are actually active.enableβ Enable (true) /disable (false) channel β‘ β literally the on/off switch.truemeans on,falsemeans off. iconic behavior.
β SEE ALSO β
the whole friend group π« β go check these out, iykyk:
- Kernel file
./include/linux/soundwire/sdw.h 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)enum sdw_clk_stop_mode(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_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)
π‘ friendly reminder: this page lives in ./include/linux/soundwire, and it's dated October 2026.
and that's the whole vibe check, bestie β go forth and enable those channels β¨ππΈπ¦π π«Ά
π¦ 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