#include <sound/soc.h>
#include <sound/soc-dai.h>
#include <sound/soc-link.h>
#define soc_dai_ret(dai, ret) …
static inline int _soc_dai_ret(const struct snd_soc_dai *dai,
const char *func, int ret)
{ … }
#define soc_dai_mark_push(dai, substream, tgt) …
#define soc_dai_mark_pop(dai, substream, tgt) …
#define soc_dai_mark_match(dai, substream, tgt) …
int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id,
unsigned int freq, int dir)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai,
int div_id, int div)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_set_pll(struct snd_soc_dai *dai, int pll_id, int source,
unsigned int freq_in, unsigned int freq_out)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_get_fmt_max_priority(const struct snd_soc_pcm_runtime *rtd)
{ … }
u64 snd_soc_dai_get_fmt(const struct snd_soc_dai *dai, int priority)
{ … }
int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
{ … }
EXPORT_SYMBOL_GPL(…);
static int snd_soc_xlate_tdm_slot_mask(unsigned int slots,
unsigned int *tx_mask,
unsigned int *rx_mask)
{ … }
int snd_soc_dai_set_tdm_slot(struct snd_soc_dai *dai,
unsigned int tx_mask, unsigned int rx_mask,
int slots, int slot_width)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_set_channel_map(struct snd_soc_dai *dai,
unsigned int tx_num, const unsigned int *tx_slot,
unsigned int rx_num, const unsigned int *rx_slot)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_get_channel_map(const struct snd_soc_dai *dai,
unsigned int *tx_num, unsigned int *tx_slot,
unsigned int *rx_num, unsigned int *rx_slot)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_digital_mute(struct snd_soc_dai *dai, int mute,
int direction)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_hw_params(struct snd_soc_dai *dai,
struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
void snd_soc_dai_hw_free(struct snd_soc_dai *dai,
struct snd_pcm_substream *substream,
int rollback)
{ … }
int snd_soc_dai_startup(struct snd_soc_dai *dai,
struct snd_pcm_substream *substream)
{ … }
void snd_soc_dai_shutdown(struct snd_soc_dai *dai,
struct snd_pcm_substream *substream,
int rollback)
{ … }
int snd_soc_dai_compress_new(struct snd_soc_dai *dai,
struct snd_soc_pcm_runtime *rtd, int num)
{ … }
bool snd_soc_dai_stream_valid(const struct snd_soc_dai *dai, int dir)
{ … }
void snd_soc_dai_link_set_capabilities(struct snd_soc_dai_link *dai_link)
{ … }
EXPORT_SYMBOL_GPL(…);
void snd_soc_dai_action(struct snd_soc_dai *dai,
int stream, int action)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_active(const struct snd_soc_dai *dai)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_pcm_dai_probe(struct snd_soc_pcm_runtime *rtd, int order)
{ … }
int snd_soc_pcm_dai_remove(struct snd_soc_pcm_runtime *rtd, int order)
{ … }
int snd_soc_pcm_dai_new(struct snd_soc_pcm_runtime *rtd)
{ … }
int snd_soc_pcm_dai_prepare(struct snd_pcm_substream *substream)
{ … }
static int soc_dai_trigger(struct snd_soc_dai *dai,
struct snd_pcm_substream *substream, int cmd)
{ … }
int snd_soc_pcm_dai_trigger(struct snd_pcm_substream *substream,
int cmd, int rollback)
{ … }
int snd_soc_pcm_dai_bespoke_trigger(struct snd_pcm_substream *substream,
int cmd)
{ … }
void snd_soc_pcm_dai_delay(struct snd_pcm_substream *substream,
snd_pcm_sframes_t *cpu_delay,
snd_pcm_sframes_t *codec_delay)
{ … }
int snd_soc_dai_compr_startup(struct snd_soc_dai *dai,
struct snd_compr_stream *cstream)
{ … }
EXPORT_SYMBOL_GPL(…);
void snd_soc_dai_compr_shutdown(struct snd_soc_dai *dai,
struct snd_compr_stream *cstream,
int rollback)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_compr_trigger(struct snd_soc_dai *dai,
struct snd_compr_stream *cstream, int cmd)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_compr_set_params(struct snd_soc_dai *dai,
struct snd_compr_stream *cstream,
struct snd_compr_params *params)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_compr_get_params(struct snd_soc_dai *dai,
struct snd_compr_stream *cstream,
struct snd_codec *params)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_compr_ack(struct snd_soc_dai *dai,
struct snd_compr_stream *cstream,
size_t bytes)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_compr_pointer(struct snd_soc_dai *dai,
struct snd_compr_stream *cstream,
struct snd_compr_tstamp *tstamp)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_compr_set_metadata(struct snd_soc_dai *dai,
struct snd_compr_stream *cstream,
struct snd_compr_metadata *metadata)
{ … }
EXPORT_SYMBOL_GPL(…);
int snd_soc_dai_compr_get_metadata(struct snd_soc_dai *dai,
struct snd_compr_stream *cstream,
struct snd_compr_metadata *metadata)
{ … }
EXPORT_SYMBOL_GPL(…);