STRUCT SDW_BUS_PARAMS(9)
πΈ 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_bankwill 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,STATICorPRBSmode for all Slave ports β all of them, bestie.m_data_modeβNORMAL,STATICorPRBSmode 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms