#include "dice.h"
#define DICE_EXT_APP_SPACE …
#define DICE_EXT_APP_CAPS_OFFSET …
#define DICE_EXT_APP_CAPS_SIZE …
#define DICE_EXT_APP_CMD_OFFSET …
#define DICE_EXT_APP_CMD_SIZE …
#define DICE_EXT_APP_MIXER_OFFSET …
#define DICE_EXT_APP_MIXER_SIZE …
#define DICE_EXT_APP_PEAK_OFFSET …
#define DICE_EXT_APP_PEAK_SIZE …
#define DICE_EXT_APP_ROUTER_OFFSET …
#define DICE_EXT_APP_ROUTER_SIZE …
#define DICE_EXT_APP_STREAM_OFFSET …
#define DICE_EXT_APP_STREAM_SIZE …
#define DICE_EXT_APP_CURRENT_OFFSET …
#define DICE_EXT_APP_CURRENT_SIZE …
#define DICE_EXT_APP_STANDALONE_OFFSET …
#define DICE_EXT_APP_STANDALONE_SIZE …
#define DICE_EXT_APP_APPLICATION_OFFSET …
#define DICE_EXT_APP_APPLICATION_SIZE …
#define EXT_APP_STREAM_TX_NUMBER …
#define EXT_APP_STREAM_RX_NUMBER …
#define EXT_APP_STREAM_ENTRIES …
#define EXT_APP_STREAM_ENTRY_SIZE …
#define EXT_APP_NUMBER_AUDIO …
#define EXT_APP_NUMBER_MIDI …
#define EXT_APP_NAMES …
#define EXT_APP_NAMES_SIZE …
#define EXT_APP_AC3 …
#define EXT_APP_CONFIG_LOW_ROUTER …
#define EXT_APP_CONFIG_LOW_STREAM …
#define EXT_APP_CONFIG_MIDDLE_ROUTER …
#define EXT_APP_CONFIG_MIDDLE_STREAM …
#define EXT_APP_CONFIG_HIGH_ROUTER …
#define EXT_APP_CONFIG_HIGH_STREAM …
static inline int read_transaction(struct snd_dice *dice, u64 section_addr,
u32 offset, void *buf, size_t len)
{ … }
static int read_stream_entries(struct snd_dice *dice, u64 section_addr,
u32 base_offset, unsigned int stream_count,
unsigned int mode,
unsigned int pcm_channels[MAX_STREAMS][3],
unsigned int midi_ports[MAX_STREAMS])
{ … }
static int detect_stream_formats(struct snd_dice *dice, u64 section_addr)
{ … }
int snd_dice_detect_extension_formats(struct snd_dice *dice)
{ … }