linux/sound/soc/amd/raven/acp3x-pcm-dma.c

// SPDX-License-Identifier: GPL-2.0+
//
// AMD ALSA SoC PCM Driver
//
//Copyright 2016 Advanced Micro Devices, Inc.

#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/pm_runtime.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dai.h>

#include "acp3x.h"

#define DRV_NAME

static const struct snd_pcm_hardware acp3x_pcm_hardware_playback =;

static const struct snd_pcm_hardware acp3x_pcm_hardware_capture =;

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

static void config_acp3x_dma(struct i2s_stream_instance *rtd, int direction)
{}

static int acp3x_dma_open(struct snd_soc_component *component,
			  struct snd_pcm_substream *substream)
{}


static int acp3x_dma_hw_params(struct snd_soc_component *component,
			       struct snd_pcm_substream *substream,
			       struct snd_pcm_hw_params *params)
{}

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

static int acp3x_dma_new(struct snd_soc_component *component,
			 struct snd_soc_pcm_runtime *rtd)
{}

static int acp3x_dma_close(struct snd_soc_component *component,
			   struct snd_pcm_substream *substream)
{}

static const struct snd_soc_component_driver acp3x_i2s_component =;

static int acp3x_audio_probe(struct platform_device *pdev)
{}

static void acp3x_audio_remove(struct platform_device *pdev)
{}

static int acp3x_resume(struct device *dev)
{}


static int acp3x_pcm_runtime_suspend(struct device *dev)
{}

static int acp3x_pcm_runtime_resume(struct device *dev)
{}

static const struct dev_pm_ops acp3x_pm_ops =;

static struct platform_driver acp3x_dma_driver =;

module_platform_driver();

MODULE_AUTHOR();
MODULE_AUTHOR();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_ALIAS();