linux/sound/soc/amd/vangogh/acp5x-pcm-dma.c

// SPDX-License-Identifier: GPL-2.0+
//
// AMD ALSA SoC PCM Driver
//
// Copyright (C) 2021 Advanced Micro Devices, Inc. All rights reserved.

#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.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dai.h>

#include "acp5x.h"

#define DRV_NAME

static const struct snd_pcm_hardware acp5x_pcm_hardware_playback =;

static const struct snd_pcm_hardware acp5x_pcm_hardware_capture =;

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

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

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

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

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

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

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

static const struct snd_soc_component_driver acp5x_i2s_component =;

static int acp5x_audio_probe(struct platform_device *pdev)
{}

static void acp5x_audio_remove(struct platform_device *pdev)
{}

static int __maybe_unused acp5x_pcm_resume(struct device *dev)
{}

static int __maybe_unused acp5x_pcm_suspend(struct device *dev)
{}

static int __maybe_unused acp5x_pcm_runtime_resume(struct device *dev)
{}

static const struct dev_pm_ops acp5x_pm_ops =;

static struct platform_driver acp5x_dma_driver =;

module_platform_driver();

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