ENUM SDW_SLAVE_STATUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« enum sdw_slave_status πŸ’«

okay bestie, so this is a page from the Kernel API Manual β€” yes, the actual kernel docs, we're reading them, we're thriving 🫢 β€” and it's all about enum sdw_slave_status, which is literally the Slave status enum. ngl it's a tiny one, but it's kind of a big deal in SoundWire land. let's get into it ✨


🌸 NAME 🌸

enum sdw_slave_status β€” Slave status. that's it, that's the whole name, she's lowkey mysterious but we love her πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole thing, bestie, look at her go:

enum sdw_slave_status {
    SDW_SLAVE_UNATTACHED ,
    SDW_SLAVE_ATTACHED ,
    SDW_SLAVE_ALERT ,
    SDW_SLAVE_RESERVED

};

four constants, four vibes, zero drama. okay maybe a little drama, there's an ALERT in there 😭


πŸŽ€ Constants πŸŽ€

one by one, here's the whole squad πŸ‘‘

  • SDW_SLAVE_UNATTACHED β€” the slave is not attached with the bus. like, she's not in the group chat yet πŸ™ˆ no connection, no presence, nothing.
  • SDW_SLAVE_ATTACHED β€” the slave is attached with bus. she's here!! she's in the chat!! we love a present queen ✨
  • SDW_SLAVE_ALERT β€” there's some alert condition on the Slave. something's up, bestie, keep an eye on her πŸ‘€πŸ”₯
  • SDW_SLAVE_RESERVED β€” reserved for future use. it's giving "save a seat for someone who isn't here yet" β€” literally reserved for future use, don't touch, no cap πŸ’€

πŸ’œ SEE ALSO πŸ’œ

okay this is the part where the page just lists, like, the entire extended friend group. and I mean everyone. come meet them 🫢

first up, the source file: Kernel file ./include/linux/soundwire/sdw.h, and then:

  • 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_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)

like I said. everyone. the whole SoundWire family reunion πŸŒˆπŸ’–


real talk though: if you ever touch SDW_SLAVE_RESERVED, just know it's reserved for future use and you should leave it alone, bestie. respect the reservation πŸ™

and that's the page!! short, sweet, extremely SoundWire-coded. this masterpiece lives in ./include/linux/soundwire, dated October 2026, and it's part of the Kernel API Manual β€” go off, kernel docs, periodt πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from