STRUCT SDW_DPN_PROP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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's 1 to 64 inclusive. periodt.
  • min_word β€” smallest number of bits in a Payload Channel Sample, also 1 to 64 inclusive. lowkey symmetrical of it.
  • num_words β€” how many discrete supported wordlengths there are
  • words β€” 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 fr
  • ch_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 supported
  • min_ch β€” minimum channels supported
  • num_channels β€” number of discrete channels supported
  • num_ch_combinations β€” number of channel combinations supported
  • channels β€” the discrete channels supported πŸ¦‹
  • ch_combinations β€” the channel combinations supported
  • lane_list β€” shows which Lanes can be used by DPn πŸ›£οΈ
  • num_lanes β€” the array size of lane_list
  • modes β€” SDW mode supported
  • max_async_buffer β€” how many samples this port can buffer in asynchronous modes. buffering, iconic
  • port_encoding β€” the Payload Channel Sample encoding schemes supported
  • block_pack_mode β€” the type of block port mode supported
  • read_only_wordlength β€” Read Only wordlength field in the DPN_BlockCtrl1 register. 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