#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/io.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dai.h>
#include <linux/dma-mapping.h>
#include <linux/bitfield.h>
#include "amd.h"
#define DRV_NAME …
#define I2S_MASTER_MODE_ENABLE …
#define LRCLK_DIV_FIELD …
#define BCLK_DIV_FIELD …
#define ACP63_LRCLK_DIV_FIELD …
#define ACP63_BCLK_DIV_FIELD …
static inline void acp_set_i2s_clk(struct acp_dev_data *adata, int dai_id)
{ … }
static int acp_i2s_set_fmt(struct snd_soc_dai *cpu_dai,
unsigned int fmt)
{ … }
static int acp_i2s_set_tdm_slot(struct snd_soc_dai *dai, u32 tx_mask, u32 rx_mask,
int slots, int slot_width)
{ … }
static int acp_i2s_hwparams(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params,
struct snd_soc_dai *dai)
{ … }
static int acp_i2s_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai)
{ … }
static int acp_i2s_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai)
{ … }
static int acp_i2s_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai)
{ … }
const struct snd_soc_dai_ops asoc_acp_cpu_dai_ops = …;
EXPORT_SYMBOL_NS_GPL(…);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…);