#include <sound/soc.h>
#include <sound/sof.h>
#include <sound/compress_driver.h>
#include "sof-audio.h"
#include "sof-priv.h"
#include "sof-utils.h"
#include "ops.h"
static void sof_set_transferred_bytes(struct sof_compr_stream *sstream,
u64 host_pos, u64 buffer_size)
{ … }
static void snd_sof_compr_fragment_elapsed_work(struct work_struct *work)
{ … }
void snd_sof_compr_init_elapsed_work(struct work_struct *work)
{ … }
void snd_sof_compr_fragment_elapsed(struct snd_compr_stream *cstream)
{ … }
static int create_page_table(struct snd_soc_component *component,
struct snd_compr_stream *cstream,
unsigned char *dma_area, size_t size)
{ … }
static int sof_compr_open(struct snd_soc_component *component,
struct snd_compr_stream *cstream)
{ … }
static int sof_compr_free(struct snd_soc_component *component,
struct snd_compr_stream *cstream)
{ … }
static int sof_compr_set_params(struct snd_soc_component *component,
struct snd_compr_stream *cstream, struct snd_compr_params *params)
{ … }
static int sof_compr_get_params(struct snd_soc_component *component,
struct snd_compr_stream *cstream, struct snd_codec *params)
{ … }
static int sof_compr_trigger(struct snd_soc_component *component,
struct snd_compr_stream *cstream, int cmd)
{ … }
static int sof_compr_copy_playback(struct snd_compr_runtime *rtd,
char __user *buf, size_t count)
{ … }
static int sof_compr_copy_capture(struct snd_compr_runtime *rtd,
char __user *buf, size_t count)
{ … }
static int sof_compr_copy(struct snd_soc_component *component,
struct snd_compr_stream *cstream,
char __user *buf, size_t count)
{ … }
static int sof_compr_pointer(struct snd_soc_component *component,
struct snd_compr_stream *cstream,
struct snd_compr_tstamp *tstamp)
{ … }
struct snd_compress_ops sof_compressed_ops = …;
EXPORT_SYMBOL(…);