STRUCT SDW_ENABLE_CH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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. true means on, false means 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