linux/sound/soc/meson/aiu-fifo.c

// SPDX-License-Identifier: GPL-2.0
//
// Copyright (c) 2020 BayLibre, SAS.
// Author: Jerome Brunet <[email protected]>

#include <linux/bitfield.h>
#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dai.h>

#include "aiu-fifo.h"

#define AIU_MEM_START
#define AIU_MEM_RD
#define AIU_MEM_END
#define AIU_MEM_MASKS
#define AIU_MEM_MASK_CH_RD
#define AIU_MEM_MASK_CH_MEM
#define AIU_MEM_CONTROL
#define AIU_MEM_CONTROL_INIT
#define AIU_MEM_CONTROL_FILL_EN
#define AIU_MEM_CONTROL_EMPTY_EN

static struct snd_soc_dai *aiu_fifo_dai(struct snd_pcm_substream *ss)
{}

snd_pcm_uframes_t aiu_fifo_pointer(struct snd_soc_component *component,
				   struct snd_pcm_substream *substream)
{}

static void aiu_fifo_enable(struct snd_soc_dai *dai, bool enable)
{}

int aiu_fifo_trigger(struct snd_pcm_substream *substream, int cmd,
		     struct snd_soc_dai *dai)
{}

int aiu_fifo_prepare(struct snd_pcm_substream *substream,
		     struct snd_soc_dai *dai)
{}

int aiu_fifo_hw_params(struct snd_pcm_substream *substream,
		       struct snd_pcm_hw_params *params,
		       struct snd_soc_dai *dai)
{}

static irqreturn_t aiu_fifo_isr(int irq, void *dev_id)
{}

int aiu_fifo_startup(struct snd_pcm_substream *substream,
		     struct snd_soc_dai *dai)
{}

void aiu_fifo_shutdown(struct snd_pcm_substream *substream,
		       struct snd_soc_dai *dai)
{}

int aiu_fifo_pcm_new(struct snd_soc_pcm_runtime *rtd,
		     struct snd_soc_dai *dai)
{}

int aiu_fifo_dai_probe(struct snd_soc_dai *dai)
{}

int aiu_fifo_dai_remove(struct snd_soc_dai *dai)
{}