ENUM SDW_COMMAND_RESPONSE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

enum sdw_command_response(9) πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” this page is all about enum sdw_command_response, aka the command response as defined by the SDW spec. no cap, it's giving "tiny enum, big communication energy" ✨


✨ SYNOPSIS ✨

enum sdw_command_response {
    SDW_CMD_OK ,
    SDW_CMD_IGNORED ,
    SDW_CMD_FAIL ,
    SDW_CMD_TIMEOUT ,
    SDW_CMD_FAIL_OTHER

};

πŸŽ€ Constants πŸŽ€

  • SDW_CMD_OK β€” the cmd was successful πŸ’– slay.
  • SDW_CMD_IGNORED β€” the cmd was ignored πŸ™ˆ
  • SDW_CMD_FAIL β€” the cmd was NACKed πŸ’€
  • SDW_CMD_TIMEOUT β€” the cmd timedout 😭
  • SDW_CMD_FAIL_OTHER β€” the cmd failed due to other reason than above 🫠

🌸 NOTE 🌸

heads up, bestie β€” this enum is different than actual Spec, because the response in the Spec is a combination of ACK/NAK bits. iykyk πŸ‘‘

also: SDW_CMD_TIMEOUT/FAIL_OTHER is defined for SW use, not in spec. periodt. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file is ./include/linux/soundwire/sdw.h, and here's the whole friend group:

  • enum sdw_slave_status(9)
  • enum sdw_clk_stop_type(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_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)

catch u later, bestie β€” this page came from source/version ./include/linux/soundwire, dated October 2026 πŸ’œπŸ«Ά

πŸ“¦ where this page comes from