STRUCT SDW_PORT_RUNTIME(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct sdw_port_runtime β€” Runtime port parameters for Master or Slave. This is the Kernel API Manual page for it, bestie, so pull up a chair and let’s get into the port-runtime lore. 🫢

✨ SYNOPSIS ✨

Here’s the struct, literally character-for-character, no cap:

       struct sdw_port_runtime {
           int num;
           int ch_mask;
           struct sdw_transport_params transport_params;
           struct sdw_port_params port_params;
           struct list_head port_node;
           unsigned int lane;
        };

πŸŽ€ Members πŸŽ€

  • num β€” Port number. For audio streams, valid port number ranges from [1,14]. πŸ‘‘
  • ch_mask β€” Channel mask. Slay, channels.
  • transport_params β€” Transport parameters. The transport-param vibes are immaculate.
  • port_params β€” Port parameters. Yes, another params field, keep up bestie.
  • port_node β€” List node for Master or Slave port_list. It’s the lil list connector.
  • lane β€” Which lane is used. Lane check: iconic.

πŸ¦‹ Description πŸ¦‹

Okay so here’s the tea: the SoundWire spec has no mention of ports for Master interface, but the concept is logically extended. That’s the whole note β€” the idea gets extended anyway, iykyk. πŸ’…

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/soundwire/bus.h
  • struct sdw_msg(9)
  • struct sdw_bpt_section(9)
  • struct sdw_bpt_msg(9)
  • struct sdw_slave_runtime(9)
  • struct sdw_master_runtime(9)

Source/version: ./drivers/soundwire Β· date: October 2026 Β· page: struct sdw_port_runtime(9) β€” byeee, go slay those runtime port params πŸ’–βœ¨

πŸ“¦ where this page comes from