ENUM SDW_COMMAND_RESPONSE(9)
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β thecmdwas successful π slay.SDW_CMD_IGNOREDβ thecmdwas ignored πSDW_CMD_FAILβ thecmdwas NACKed πSDW_CMD_TIMEOUTβ thecmdtimedout πSDW_CMD_FAIL_OTHERβ thecmdfailed 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
- 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