sdw_get_slave_dpn_prop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdw_get_slave_dpn_prop β€” Get Slave port capabilities

okay bestie, welcome to the Kernel API Manual ✨ this one's a tiny little function but it's literally the main character of port-capability lookups, so let's get into it 🫢


🌸 NAME

sdw_get_slave_dpn_prop β€” Get Slave port capabilities πŸ’–


✨ SYNOPSIS

struct sdw_dpn_prop * sdw_get_slave_dpn_prop (struct sdw_slave *slave ,
enum sdw_data_direction direction , unsigned int port_num );

that's the whole vibe check right there β€” you hand it a slave, a direction, and a port number, and it hands you back a struct sdw_dpn_prop * πŸŽ€


πŸ¦‹ ARGUMENTS

  • slave β€” the Slave handle πŸ‘‘ like, this is your actual soundwire slave, no cap
  • direction β€” the data direction 🌈 (enum sdw_data_direction, iykyk)
  • port_num β€” the port number πŸ”’ literally just which port you're asking about

πŸ”₯ SEE ALSO

Kernel file ./drivers/soundwire/stream.c β€” and bestie, the friend group is HUGE, buckle up πŸ’€:

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_acquire_bus_lock(9), sdw_release_bus_lock(9), sdw_prepare_stream(9), sdw_enable_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 entire group chat, every single one, and yes i listed them all because we do not skip people here πŸ’…


πŸŽ€ periodt. go forth and get those slave port capabilities, bestie.

okay that's the page!! it comes to you from ./drivers/soundwire (that's the source, mwah πŸ’‹) and it's dated October 2026 β€” sdw_get_slave_dpn_prop(9), xoxo, bye bye πŸŒΈπŸ¦‹πŸ’œ

πŸ“¦ where this page comes from