sdw_enable_d..._slave_ports(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

sdw_enable_disable_slave_ports β€” Enable/disable slave data port, bestie. This is the sdw_enable_d..._slave_ports(9) page from the Kernel API Manual, and it's giving very specific SoundWire energy. πŸ’–


✨ SYNOPSIS ✨

int sdw_enable_disable_slave_ports (struct sdw_bus *bus , struct
       sdw_slave_runtime *s_rt , struct sdw_port_runtime *p_rt , bool en );

πŸŽ€ ARGUMENTS πŸŽ€

  • bus β€” your bus instance, the main character holding the whole setup together.
  • s_rt β€” the slave runtime. Yep, that's the vibe.
  • p_rt β€” the port runtime, lowkey the port-specific bestie.
  • en β€” the enable/disable operation toggle, literally the yes/no of it all.

πŸ’… DESCRIPTION πŸ’…

Okay so bestie, this function is on a very specific mission: it only sets the enable/disable bits in the relevant bank. That's it. That's the assignment. ✨

The actual enable/disable is done with a bank switch, so no cap β€” the bank switch is the one doing the real flipping. This function is just setting the bits and handing off the plot. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/soundwire/stream.c

The whole related squad, gathered here so you can spiral productively:


Source/version: ./drivers/soundwire Β· date: October 2026. That's the whole page, bestie β€” go forth and set those enable/disable bits with main character energy! πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from