#include <dt-bindings/sound/qcom,q6afe.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/soundwire/sdw.h>
#include <sound/pcm.h>
#include <sound/jack.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include "common.h"
#include "qdsp6/q6afe.h"
#include "qdsp6/q6dsp-common.h"
#include "sdw.h"
struct x1e80100_snd_data { … };
static int x1e80100_snd_init(struct snd_soc_pcm_runtime *rtd)
{ … }
static void x1e80100_snd_shutdown(struct snd_pcm_substream *substream)
{ … }
static int x1e80100_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
struct snd_pcm_hw_params *params)
{ … }
static int x1e80100_snd_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
static int x1e80100_snd_prepare(struct snd_pcm_substream *substream)
{ … }
static int x1e80100_snd_hw_free(struct snd_pcm_substream *substream)
{ … }
static const struct snd_soc_ops x1e80100_be_ops = …;
static void x1e80100_add_be_ops(struct snd_soc_card *card)
{ … }
static int x1e80100_platform_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id snd_x1e80100_dt_match[] = …;
MODULE_DEVICE_TABLE(of, snd_x1e80100_dt_match);
static struct platform_driver snd_x1e80100_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;