ENUM SDW_SLAVE_STATUS(9)
π« 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
- 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