STRUCT SDW_BUS_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay bestie, this is struct sdw_bus_params(9) from the Kernel API Manual β€” literally the struct that holds bus configuration, and it’s giving tiny but essential πŸ’….

✨ SYNOPSIS ✨

Here’s the whole shape, no cuts, no edits:

struct sdw_bus_params {
    enum sdw_reg_bank curr_bank;
    enum sdw_reg_bank next_bank;
    unsigned int max_dr_freq;
    unsigned int curr_dr_freq;
    unsigned int bandwidth;
    unsigned int col;
    unsigned int row;
    int s_data_mode;
    int m_data_mode;
 };

πŸ’… Members πŸ’…

  • curr_bank β€” Current bank in use (BANK0/BANK1) β€” the bank on duty rn.
  • next_bank β€” Next bank to use (BANK0/BANK1). And heads up: next_bank will always be set to !curr_bank β€” iconic symmetry, honestly.
  • max_dr_freq β€” Maximum double rate clock frequency supported, in Hz β€” the ceiling.
  • curr_dr_freq β€” Current double rate clock frequency, in Hz β€” what it’s running at right now.
  • bandwidth β€” Current bandwidth β€” the bandwidth situation.
  • col β€” Active columns β€” columns that are active.
  • row β€” Active rows β€” rows that are active.
  • s_data_mode β€” NORMAL, STATIC or PRBS mode for all Slave ports β€” all of them, bestie.
  • m_data_mode β€” NORMAL, STATIC or PRBS mode for all Master ports. The value should be the same to detect transmission issues, but can be different to test the interrupt reports. same vibe for issue-spotting, different vibe for interrupt-report testing.

πŸ‘€ SEE ALSO πŸ‘€

Kernel file: ./include/linux/soundwire/sdw.h β€” and the whole linked fam is here:

  • enum sdw_slave_status(9)
  • enum sdw_clk_stop_type(9)
  • enum sdw_command_response(9)
  • enum sdw_stream_type(9)
  • enum sdw_data_direction(9)
  • enum sdw_port_data_mode(9)
  • enum sdw_p15_behave(9)
  • enum sdw_dpn_type(9)
  • enum sdw_clk_stop_mode(9)
  • struct sdw_dp0_prop(9)
  • struct sdw_dpn_prop(9)
  • struct sdw_slave_prop(9)
  • struct sdw_master_prop(9)
  • struct sdw_slave_id(9)
  • struct sdw_slave_intr_status(9)
  • enum sdw_reg_bank(9)
  • struct sdw_prepare_ch(9)
  • enum sdw_port_prep_ops(9)
  • struct sdw_slave_ops(9)
  • struct sdw_slave(9)
  • struct sdw_master_device(9)
  • struct sdw_port_params(9)
  • struct sdw_transport_params(9)
  • struct sdw_enable_ch(9)
  • struct sdw_master_port_ops(9)
  • struct sdw_defer(9)
  • struct sdw_master_ops(9)
  • struct sdw_port_config(9)
  • struct sdw_stream_config(9)
  • enum sdw_stream_state(9)
  • struct sdw_stream_params(9)
  • struct sdw_stream_runtime(9)
  • struct sdw_bus(9)
  • sdw_slave_wait_for_init(9)

xoxo, source/version: ./include/linux/soundwire Β· date: October 2026 β€” bye bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from