linux/sound/soc/intel/atom/sst-mfld-platform-compress.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  sst_mfld_platform.c - Intel MID Platform driver
 *
 *  Copyright (C) 2010-2014 Intel Corp
 *  Author: Vinod Koul <[email protected]>
 *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */
#define pr_fmt(fmt)

#include <linux/slab.h>
#include <linux/io.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/compress_driver.h>
#include "sst-mfld-platform.h"

/* compress stream operations */
static void sst_compr_fragment_elapsed(void *arg)
{}

static void sst_drain_notify(void *arg)
{}

static int sst_platform_compr_open(struct snd_soc_component *component,
				   struct snd_compr_stream *cstream)
{}

static int sst_platform_compr_free(struct snd_soc_component *component,
				   struct snd_compr_stream *cstream)
{}

static int sst_platform_compr_set_params(struct snd_soc_component *component,
					 struct snd_compr_stream *cstream,
					 struct snd_compr_params *params)
{}

static int sst_platform_compr_trigger(struct snd_soc_component *component,
				      struct snd_compr_stream *cstream, int cmd)
{}

static int sst_platform_compr_pointer(struct snd_soc_component *component,
				      struct snd_compr_stream *cstream,
				      struct snd_compr_tstamp *tstamp)
{}

static int sst_platform_compr_ack(struct snd_soc_component *component,
				  struct snd_compr_stream *cstream,
				  size_t bytes)
{}

static int sst_platform_compr_get_caps(struct snd_soc_component *component,
				       struct snd_compr_stream *cstream,
				       struct snd_compr_caps *caps)
{}

static int sst_platform_compr_get_codec_caps(struct snd_soc_component *component,
					     struct snd_compr_stream *cstream,
					     struct snd_compr_codec_caps *codec)
{}

static int sst_platform_compr_set_metadata(struct snd_soc_component *component,
					   struct snd_compr_stream *cstream,
					   struct snd_compr_metadata *metadata)
{}

const struct snd_compress_ops sst_platform_compress_ops =;