linux/sound/soc/meson/meson-card-utils.c

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

#include <linux/module.h>
#include <linux/of_platform.h>
#include <sound/soc.h>

#include "meson-card.h"

int meson_card_i2s_set_sysclk(struct snd_pcm_substream *substream,
			      struct snd_pcm_hw_params *params,
			      unsigned int mclk_fs)
{}
EXPORT_SYMBOL_GPL();

int meson_card_reallocate_links(struct snd_soc_card *card,
				unsigned int num_links)
{}
EXPORT_SYMBOL_GPL();

int meson_card_parse_dai(struct snd_soc_card *card,
			 struct device_node *node,
			 struct snd_soc_dai_link_component *dlc)
{}
EXPORT_SYMBOL_GPL();

static int meson_card_set_link_name(struct snd_soc_card *card,
				    struct snd_soc_dai_link *link,
				    struct device_node *node,
				    const char *prefix)
{}

unsigned int meson_card_parse_daifmt(struct device_node *node,
				     struct device_node *cpu_node)
{}
EXPORT_SYMBOL_GPL();

int meson_card_set_be_link(struct snd_soc_card *card,
			   struct snd_soc_dai_link *link,
			   struct device_node *node)
{}
EXPORT_SYMBOL_GPL();

int meson_card_set_fe_link(struct snd_soc_card *card,
			   struct snd_soc_dai_link *link,
			   struct device_node *node,
			   bool is_playback)
{}
EXPORT_SYMBOL_GPL();

static int meson_card_add_links(struct snd_soc_card *card)
{}

static int meson_card_parse_of_optional(struct snd_soc_card *card,
					const char *propname,
					int (*func)(struct snd_soc_card *c,
						    const char *p))
{}

static void meson_card_clean_references(struct meson_card *priv)
{}

int meson_card_probe(struct platform_device *pdev)
{}
EXPORT_SYMBOL_GPL();

void meson_card_remove(struct platform_device *pdev)
{}
EXPORT_SYMBOL_GPL();

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