linux/sound/soc/mediatek/mt8365/mt8365-dai-pcm.c

// SPDX-License-Identifier: GPL-2.0
/*
 * MediaTek 8365 ALSA SoC Audio DAI PCM Control
 *
 * Copyright (c) 2024 MediaTek Inc.
 * Authors: Jia Zeng <[email protected]>
 *          Alexandre Mergnat <[email protected]>
 */

#include <linux/bitops.h>
#include <linux/regmap.h>
#include <sound/pcm_params.h>
#include "mt8365-afe-clk.h"
#include "mt8365-afe-common.h"

struct mt8365_pcm_intf_data {};

/* DAI Drivers */

static void mt8365_dai_enable_pcm1(struct mtk_base_afe *afe)
{}

static void mt8365_dai_disable_pcm1(struct mtk_base_afe *afe)
{}

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

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

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

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

static int mt8365_dai_pcm1_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
{}

static const struct snd_soc_dai_ops mt8365_dai_pcm1_ops =;

static struct snd_soc_dai_driver mtk_dai_pcm_driver[] =;

/* DAI widget */

static const struct snd_soc_dapm_widget mtk_dai_pcm_widgets[] =;

/* DAI route */

static const struct snd_soc_dapm_route mtk_dai_pcm_routes[] =;

static int init_pcmif_priv_data(struct mtk_base_afe *afe)
{}

int mt8365_dai_pcm_register(struct mtk_base_afe *afe)
{}