coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
soundwire_dpn Struct Reference

struct soundwire_dpn - Configuration properties for SoundWire DPn Data Ports. More...

#include <soundwire.h>

Collaboration diagram for soundwire_dpn:
Collaboration graph

Data Fields

unsigned int port_max_wordlength
 
unsigned int port_min_wordlength
 
size_t port_wordlength_configs_count
 
uint64_t port_wordlength_configs [SOUNDWIRE_MAX]
 
enum soundwire_data_port_type data_port_type
 
enum soundwire_block_group_count max_grouping_supported
 
bool simplified_channelprepare_sm
 
unsigned int port_channelprepare_timeout
 
uint32_t imp_def_dpn_interrupts_supported
 
unsigned int min_channel_number
 
unsigned int max_channel_number
 
size_t channel_number_list_count
 
uint64_t channel_number_list [SOUNDWIRE_MAX]
 
size_t channel_combination_list_count
 
uint64_t channel_combination_list [SOUNDWIRE_MAX]
 
enum soundwire_mode_bitmap modes_supported
 
unsigned int max_async_buffer
 
bool block_packing_mode
 
uint32_t port_encoding_type
 
size_t port_audio_mode_count
 
unsigned int port_audio_mode_list [SOUNDWIRE_MAX_MODE]
 

Detailed Description

struct soundwire_dpn - Configuration properties for SoundWire DPn Data Ports.

@port_max_wordlength: Maximum number of bits in a Payload Channel Sample. (1-64) @port_min_wordlength: Minimum number of bits in a Payload Channel Sample. (1-64) @port_wordlength_configs_count: Number of entries in port_wordlength_configs. @port_wordlength_configs: One entry for each supported wordlength. Used if only specific wordlength values are allowed. @data_port_type: Type of data port from &enum soundwire_data_port_type. @max_grouping_supported: 0-based maximum number of samples that can be grouped for FULL_DATA_PORT. The SIMPLIFIED_DATA_PORT and REDUCED_DATA_PORT require 4 samples in a group. @simplified_channelprepare_sm: true if the channel prepare sequence is not required, and the Port Ready interrupt is not supported. @port_channelprepare_timeout: Port-specific timeout value in milliseconds. @imp_def_dpn_interrupts_supported: Bitmap for support of implementation-defined interrupts. @min_channel_number: Minimum channel number supported. @max_channel_number: Maximum channel number supported. @channel_number_list_count: Number of entries in channel_number_list. @channel_number_list: One entry for each available channel number. Used if only specific channels are available. @channel_combination_list_count: Number of entries in channel_combination_list. @channel_combination_list: One bitmap entry for each valid channel combination. @modes_supported: Bitmap identifying the types of modes supported by the device. @max_async_buffer: Number of samples that this port can buffer in asynchronous modes. Only required if the slave implements buffer larger than required. @block_packing_mode: true if BlockPackingMode may be configured as BlockPerPort or BlocKPerChannel. false if BlockPackingMode must be BlockPerPort. @port_encoding_type: Bitmap describing the types of Payload Channel Sample encoding schemes implemented by this port. @port_audio_mode_count: Number of entries in audio_mode_list. @port_audio_mode_list: One entry for each supported audio mode id.

Definition at line 318 of file soundwire.h.

Field Documentation

◆ block_packing_mode

bool soundwire_dpn::block_packing_mode

Definition at line 336 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ channel_combination_list

uint64_t soundwire_dpn::channel_combination_list[SOUNDWIRE_MAX]

Definition at line 333 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ channel_combination_list_count

size_t soundwire_dpn::channel_combination_list_count

Definition at line 332 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ channel_number_list

uint64_t soundwire_dpn::channel_number_list[SOUNDWIRE_MAX]

Definition at line 331 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ channel_number_list_count

size_t soundwire_dpn::channel_number_list_count

Definition at line 330 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ data_port_type

enum soundwire_data_port_type soundwire_dpn::data_port_type

Definition at line 322 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ imp_def_dpn_interrupts_supported

uint32_t soundwire_dpn::imp_def_dpn_interrupts_supported

Definition at line 327 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ max_async_buffer

unsigned int soundwire_dpn::max_async_buffer

Definition at line 335 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ max_channel_number

unsigned int soundwire_dpn::max_channel_number

Definition at line 329 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ max_grouping_supported

enum soundwire_block_group_count soundwire_dpn::max_grouping_supported

Definition at line 322 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ min_channel_number

unsigned int soundwire_dpn::min_channel_number

Definition at line 328 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ modes_supported

enum soundwire_mode_bitmap soundwire_dpn::modes_supported

Definition at line 333 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ port_audio_mode_count

size_t soundwire_dpn::port_audio_mode_count

Definition at line 338 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ port_audio_mode_list

unsigned int soundwire_dpn::port_audio_mode_list[SOUNDWIRE_MAX_MODE]

Definition at line 339 of file soundwire.h.

◆ port_channelprepare_timeout

unsigned int soundwire_dpn::port_channelprepare_timeout

Definition at line 326 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ port_encoding_type

uint32_t soundwire_dpn::port_encoding_type

Definition at line 337 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ port_max_wordlength

unsigned int soundwire_dpn::port_max_wordlength

Definition at line 319 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ port_min_wordlength

unsigned int soundwire_dpn::port_min_wordlength

Definition at line 320 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ port_wordlength_configs

uint64_t soundwire_dpn::port_wordlength_configs[SOUNDWIRE_MAX]

Definition at line 322 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ port_wordlength_configs_count

size_t soundwire_dpn::port_wordlength_configs_count

Definition at line 321 of file soundwire.h.

Referenced by soundwire_gen_dpn().

◆ simplified_channelprepare_sm

bool soundwire_dpn::simplified_channelprepare_sm

Definition at line 325 of file soundwire.h.

Referenced by soundwire_gen_dpn().


The documentation for this struct was generated from the following file: