#include <linux/module.h>
#include <linux/platform_device.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-acpi.h>
#include "sof_sdw_common.h"
static const struct snd_soc_dapm_widget bridge_widgets[] = …;
static const struct snd_soc_dapm_route bridge_map[] = …;
static const char * const bridge_cs35l56_name_prefixes[] = …;
static int bridge_cs35l56_asp_init(struct snd_soc_pcm_runtime *rtd)
{ … }
static const struct snd_soc_pcm_stream bridge_params = …;
SND_SOC_DAILINK_DEFS(…);
static const struct snd_soc_dai_link bridge_dai_template = …;
int bridge_cs35l56_count_sidecar(struct snd_soc_card *card,
int *num_dais, int *num_devs)
{ … }
int bridge_cs35l56_add_sidecar(struct snd_soc_card *card,
struct snd_soc_dai_link **dai_links,
struct snd_soc_codec_conf **codec_conf)
{ … }
int bridge_cs35l56_spk_init(struct snd_soc_card *card,
struct snd_soc_dai_link *dai_links,
struct sof_sdw_codec_info *info,
bool playback)
{ … }