STRUCT SDW_DEFER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

struct sdw_defer β€” the SDW deferred message, bestie πŸ’…


✨ SYNOPSIS ✨

okay so picture this: it's a struct, it's living in the kernel, and it's got exactly three things going on inside it 🫢

struct sdw_defer {
    struct sdw_msg *msg;
    int length;
    struct completion complete;
 };

that's the whole thing. no cap, that's it. she's small but she's iconic ✨


πŸŽ€ Members πŸŽ€

lowkey a tiny little lineup but every single one of them is doing her job, so let's give them their flowers 🌸

  • msg β€” the SDW message itself πŸ’Œ pointer to struct sdw_msg, the actual payload of the operation.
  • length β€” message length πŸ“ an int, telling you how much message you got.
  • complete β€” message completion πŸ’€ a struct completion, the thing you wait on so you're not just standing there refreshing like an idiot. it's giving "i'll text you when it's done" energy.

πŸ”₯ SEE ALSO πŸ”₯

bestie i'm not gonna lie, this is a long list, but every single one of these is a real reference from the kernel file ./include/linux/soundwire/sdw.h and i'm not skipping a single one because we don't do that here πŸ’œ grab a snack, we're going through all of them:

  • 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_enable_ch(9)
  • struct sdw_master_port_ops(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)
forewarning bestie: this list is long long. pace yourself, hydrate, and don't come for me about it β€” i'm just the messenger 🧚

k that's the whole page, mwah πŸ’‹ this lil beauty lives in ./include/linux/soundwire, dated October 2026, and yes it's still titled struct sdw_defer(9) because we keep the classics. slay, bye πŸ‘‘βœ¨

πŸ“¦ where this page comes from