STRUCT SDW_SLAVE_OPS(9)
π struct sdw_slave_ops(9) π
β¨ NAME β¨
struct sdw_slave_ops β Slave driver callback ops, bestie. this page is part of the Kernel API Manual and it's literally the callback-ops struct for a Slave driver. π«Ά
πΈ SYNOPSIS πΈ
okay so here's the exact shape, no cap β every field stays exactly as-is:
struct sdw_slave_ops {
int (*read_prop)(struct sdw_slave *sdw);
int (*interrupt_callback)(struct sdw_slave *slave, struct sdw_slave_intr_status *status);
int (*update_status)(struct sdw_slave *slave, enum sdw_slave_status status);
int (*bus_config)(struct sdw_slave *slave, struct sdw_bus_params *params);
int (*port_prep)(struct sdw_slave *slave, struct sdw_prepare_ch *prepare_ch, enum sdw_port_prep_ops pre_ops);
int (*clk_stop)(struct sdw_slave *slave, enum sdw_clk_stop_mode mode, enum sdw_clk_stop_type type);
};
π¦ Members π¦
the member lineup, with zero details dropped:
read_propβ reads the Slave properties. slay. πinterrupt_callbackβ Device interrupt notification, and yes β it's invoked in thread context. important! πupdate_statusβ updates the Slave status. β¨bus_configβ updates the bus config for Slave. πport_prepβ prepares the port with parameters. πclk_stopβ handles imp-def sequences before and after prepare and de-prepare. iconic, mysterious, iykyk. π
π SEE ALSO π
Kernel file ./include/linux/soundwire/sdw.h β plus the whole related manpage squad, bestie:
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(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)
mwah π source/version: ./include/linux/soundwire Β· date: October 2026 Β· page: struct sdw_slave_ops(9) β bye bestie, go read the source and slay. π
π¦ 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