STRUCT SDW_DPN_PROP(9)
π struct sdw_dpn_prop(9) β it's giving "Data Port DPn properties" β¨
okay so bestie, this is a page from the Kernel API Manual, and today's main character is struct sdw_dpn_prop β the Data Port DPn properties struct. yes it's a struct, yes it's in the kernel, no you cannot escape it. let's go π
β¨ SYNOPSIS β¨
like, here's the whole vibe in one block β do not touch, just read:
struct sdw_dpn_prop {
u32 num;
u32 max_word;
u32 min_word;
u32 num_words;
u32 *words;
enum sdw_dpn_type type;
u32 max_grouping;
u32 ch_prep_timeout;
u32 imp_def_interrupts;
u32 max_ch;
u32 min_ch;
u32 num_channels;
u32 num_ch_combinations;
u32 *channels;
u32 *ch_combinations;
u32 *lane_list;
int num_lanes;
u32 modes;
u32 max_async_buffer;
u32 port_encoding;
bool block_pack_mode;
bool read_only_wordlength;
bool simple_ch_prep_sm;
};
πΈ Members πΈ (the whole cast, no skips, we stan every field)
numβ the port number πmax_wordβ biggest number of bits in a Payload Channel Sample, and it's1to64inclusive. periodt.min_wordβ smallest number of bits in a Payload Channel Sample, also1to64inclusive. lowkey symmetrical of it.num_wordsβ how many discrete supported wordlengths there arewordsβ the actual discrete supported wordlength πtypeβ Data port type. it can be Full, Simplified or Reduced. choose your fighter β¨max_groupingβ max number of samples that can be grouped together for a full data port. grouping is self-care fr frch_prep_timeoutβ a port-specific timeout value, measured in milliseconds β³imp_def_interruptsβ if this is set, each bit corresponds to support for implementation-defined interrupts. bit girly πmax_chβ maximum channels supportedmin_chβ minimum channels supportednum_channelsβ number of discrete channels supportednum_ch_combinationsβ number of channel combinations supportedchannelsβ the discrete channels supported π¦ch_combinationsβ the channel combinations supportedlane_listβ shows which Lanes can be used by DPn π£οΈnum_lanesβ the array size oflane_listmodesβ SDW mode supportedmax_async_bufferβ how many samples this port can buffer in asynchronous modes. buffering, iconicport_encodingβ the Payload Channel Sample encoding schemes supportedblock_pack_modeβ the type of block port mode supportedread_only_wordlengthβ Read Only wordlength field in theDPN_BlockCtrl1register. read only queen πsimple_ch_prep_smβ if the port supports the simplified channel prepare state machine. cute, efficient, we love her π
π SEE ALSO π
bestie there are SO many siblings, all of them living in the Kernel file ./include/linux/soundwire/sdw.h. say hi π
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_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_bus_params(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)
ngl that's a lot of cross-references but every single one is here, no cap π«Ά
and that's the whole page bestie π this cutie came from ./include/linux/soundwire, dated October 2026 β scream it, struct sdw_dpn_prop(9), iconic, bye ππ
π¦ 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