sdw_enable_stream(9)
π sdw_enable_stream β bestie's guide to the kernel API manual
okay so this page is called sdw_enable_stream(9) and it lives in the Kernel API Manual, which is honestly iconic of it. it's giving "small function, big responsibilities." let's get into it β¨
πΈ NAME πΈ
sdw_enable_stream β Enable SoundWire stream π
like, that's it. that's the whole job. enable the stream. slay.
π¦ SYNOPSIS π¦
int sdw_enable_stream (struct sdw_stream_runtime *stream );
return type is int, bestie β so yeah, it comes back with a value, it's not one of those void girlies. π
β¨ ARGUMENTS β¨
streamβ the Soundwire stream. yes, that's the entire description. it's giving "the prop is literally named stream, what more do you want from me." π«Ά
π₯ DESCRIPTION π₯
so the page says, and i quote: Documentation/driver-api/soundwire/stream.rst explains this API in detail.
that's it. that's the description. it's a "go read the real docs" moment, and honestly? respect. the lore is in Documentation/driver-api/soundwire/stream.rst, so if you want the full tea, that's where you go. πβ¨
no cap, if you're here for deep behavioural detail, this manpage is a forwarding address, not the destination. the .rst file is the main character here. π
π SEE ALSO π
the crossover episode is long, and we're not cutting a single cast member. the kernel file to know is ./drivers/soundwire/stream.c, and then all of these besties show up too:
sdw_program_port_params(9)sdw_enable_disable_slave_ports(9)sdw_enable_disable_ports(9)sdw_prep_deprep_ports(9)sdw_notify_config(9)sdw_program_params(9)sdw_ml_sync_bank_switch(9)sdw_slave_rt_alloc(9)sdw_slave_rt_config(9)sdw_slave_rt_free(9)sdw_master_rt_alloc(9)sdw_master_rt_config(9)sdw_master_rt_free(9)sdw_config_stream(9)sdw_get_slave_dpn_prop(9)sdw_acquire_bus_lock(9)sdw_release_bus_lock(9)sdw_prepare_stream(9)sdw_disable_stream(9)sdw_deprepare_stream(9)sdw_alloc_stream(9)sdw_startup_stream(9)sdw_shutdown_stream(9)sdw_release_stream(9)sdw_stream_add_master(9)sdw_stream_remove_master(9)sdw_stream_add_slave(9)sdw_stream_remove_slave(9)
that's the whole group chat, fr fr β alloc, prepare, enable, disable, deprepare, release, plus all the master/slave/port/param/lock girlies. every single one accounted for. π
aaaand that's the page!! π source location is ./drivers/soundwire, dated October 2026 β mwah, tysm for reading, ily, go read the .rst π§ββοΈππ
π¦ 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