#include <sound/compress_driver.h>
#include <sound/hdaudio_ext.h>
#include <sound/hdaudio.h>
#include <sound/soc.h>
#include "avs.h"
#include "messages.h"
static int avs_dsp_init_probe(struct avs_dev *adev, union avs_connector_node_id node_id,
size_t buffer_size)
{ … }
static void avs_dsp_delete_probe(struct avs_dev *adev)
{ … }
static inline struct hdac_ext_stream *avs_compr_get_host_stream(struct snd_compr_stream *cstream)
{ … }
static int avs_probe_compr_open(struct snd_compr_stream *cstream, struct snd_soc_dai *dai)
{ … }
static int avs_probe_compr_free(struct snd_compr_stream *cstream, struct snd_soc_dai *dai)
{ … }
static int avs_probe_compr_set_params(struct snd_compr_stream *cstream,
struct snd_compr_params *params, struct snd_soc_dai *dai)
{ … }
static int avs_probe_compr_trigger(struct snd_compr_stream *cstream, int cmd,
struct snd_soc_dai *dai)
{ … }
static int avs_probe_compr_pointer(struct snd_compr_stream *cstream,
struct snd_compr_tstamp *tstamp, struct snd_soc_dai *dai)
{ … }
static int avs_probe_compr_copy(struct snd_soc_component *comp, struct snd_compr_stream *cstream,
char __user *buf, size_t count)
{ … }
static const struct snd_soc_cdai_ops avs_probe_cdai_ops = …;
static const struct snd_soc_dai_ops avs_probe_dai_ops = …;
static const struct snd_compress_ops avs_probe_compress_ops = …;
static struct snd_soc_dai_driver probe_cpu_dais[] = …;
static const struct snd_soc_component_driver avs_probe_component_driver = …;
int avs_probe_platform_register(struct avs_dev *adev, const char *name)
{ … }