#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <sound/core.h>
#include <sound/compress_params.h>
#include <sound/compress_driver.h>
#include <sound/soc.h>
#include <sound/initval.h>
#include <sound/soc-dpcm.h>
#include <sound/soc-link.h>
static int snd_soc_compr_components_open(struct snd_compr_stream *cstream)
{ … }
static void snd_soc_compr_components_free(struct snd_compr_stream *cstream,
int rollback)
{ … }
static int soc_compr_clean(struct snd_compr_stream *cstream, int rollback)
{ … }
static int soc_compr_free(struct snd_compr_stream *cstream)
{ … }
static int soc_compr_open(struct snd_compr_stream *cstream)
{ … }
static int soc_compr_open_fe(struct snd_compr_stream *cstream)
{ … }
static int soc_compr_free_fe(struct snd_compr_stream *cstream)
{ … }
static int soc_compr_trigger(struct snd_compr_stream *cstream, int cmd)
{ … }
static int soc_compr_trigger_fe(struct snd_compr_stream *cstream, int cmd)
{ … }
static int soc_compr_set_params(struct snd_compr_stream *cstream,
struct snd_compr_params *params)
{ … }
static int soc_compr_set_params_fe(struct snd_compr_stream *cstream,
struct snd_compr_params *params)
{ … }
static int soc_compr_get_params(struct snd_compr_stream *cstream,
struct snd_codec *params)
{ … }
static int soc_compr_ack(struct snd_compr_stream *cstream, size_t bytes)
{ … }
static int soc_compr_pointer(struct snd_compr_stream *cstream,
struct snd_compr_tstamp *tstamp)
{ … }
static int soc_compr_set_metadata(struct snd_compr_stream *cstream,
struct snd_compr_metadata *metadata)
{ … }
static int soc_compr_get_metadata(struct snd_compr_stream *cstream,
struct snd_compr_metadata *metadata)
{ … }
static struct snd_compr_ops soc_compr_ops = …;
static struct snd_compr_ops soc_compr_dyn_ops = …;
int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num)
{ … }
EXPORT_SYMBOL_GPL(…);