sdw_stream_add_slave(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sdw_stream_add_slave(9) ✨

okay so this is a page from the Kernel API Manual, bestie, and it's all about sdw_stream_add_slave(9) β€” literally the function that allocates and adds a master/slave runtime to a stream πŸ’…


πŸŽ€ NAME πŸŽ€

sdw_stream_add_slave β€” allocate and add master/slave runtime to a stream ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int sdw_stream_add_slave (struct sdw_slave *slave , struct
sdw_stream_config *stream_config , const struct sdw_port_config
*port_config , unsigned int num_ports , struct sdw_stream_runtime
*stream );

like, that's the whole signature, no cap 🫢


🌸 ARGUMENTS 🌸

  • slave β€” the SDW Slave instance, aka the main character of this call πŸ‘‘
  • stream_config β€” stream configuration for the audio stream, the whole vibe check for your stream 🎧
  • port_config β€” port configuration for the audio stream, where the ports get their little fit πŸ’–
  • num_ports β€” number of ports, bestie, just count 'em πŸ”’
  • stream β€” the SoundWire stream itself, the moment ✨

πŸ’œ DESCRIPTION πŸ’œ

okay so real talk: it is expected that the Slave is added before adding Master to the Stream. like, order matters, periodt πŸ™ˆ


🌈 SEE ALSO 🌈

Kernel file ./drivers/soundwire/stream.c β€” and then the whole friend group of related calls, fr fr:


and that's the whole page, bestie πŸ’– it lives over at ./drivers/soundwire, stamped October 2026 β€” go off, you iconic kernel dev you 🌟🫢

πŸ“¦ where this page comes from