linux/sound/soc/codecs/lochnagar-sc.c

// SPDX-License-Identifier: GPL-2.0
//
// Lochnagar sound card driver
//
// Copyright (c) 2017-2019 Cirrus Logic, Inc. and
//                         Cirrus Logic International Semiconductor Ltd.
//
// Author: Charles Keepax <[email protected]>
//         Piotr Stankiewicz <[email protected]>

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

#include <linux/mfd/lochnagar.h>
#include <linux/mfd/lochnagar1_regs.h>
#include <linux/mfd/lochnagar2_regs.h>

struct lochnagar_sc_priv {};

static const struct snd_soc_dapm_widget lochnagar_sc_widgets[] =;

static const struct snd_soc_dapm_route lochnagar_sc_routes[] =;

static const unsigned int lochnagar_sc_chan_vals[] =;

static const struct snd_pcm_hw_constraint_list lochnagar_sc_chan_constraint =;

static const unsigned int lochnagar_sc_rate_vals[] =;

static const struct snd_pcm_hw_constraint_list lochnagar_sc_rate_constraint =;

static int lochnagar_sc_hw_rule_rate(struct snd_pcm_hw_params *params,
				     struct snd_pcm_hw_rule *rule)
{}

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

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

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

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

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

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

static const struct snd_soc_dai_ops lochnagar_sc_line_ops =;

static const struct snd_soc_dai_ops lochnagar_sc_usb_ops =;

static struct snd_soc_dai_driver lochnagar_sc_dai[] =;

static const struct snd_soc_component_driver lochnagar_sc_driver =;

static int lochnagar_sc_probe(struct platform_device *pdev)
{}

static const struct of_device_id lochnagar_of_match[] =;
MODULE_DEVICE_TABLE(of, lochnagar_of_match);

static struct platform_driver lochnagar_sc_codec_driver =;
module_platform_driver();

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