#include <linux/clk.h>
#include <linux/module.h>
#include <linux/of_platform.h>
#include <linux/regmap.h>
#include <linux/reset.h>
#include <sound/soc.h>
#include "axg-tdm-formatter.h"
struct axg_tdm_formatter { … };
int axg_tdm_formatter_set_channel_masks(struct regmap *map,
struct axg_tdm_stream *ts,
unsigned int offset)
{ … }
EXPORT_SYMBOL_GPL(…);
static int axg_tdm_formatter_enable(struct axg_tdm_formatter *formatter)
{ … }
static void axg_tdm_formatter_disable(struct axg_tdm_formatter *formatter)
{ … }
static int axg_tdm_formatter_attach(struct axg_tdm_formatter *formatter)
{ … }
static void axg_tdm_formatter_dettach(struct axg_tdm_formatter *formatter)
{ … }
static int axg_tdm_formatter_power_up(struct axg_tdm_formatter *formatter,
struct snd_soc_dapm_widget *w)
{ … }
static void axg_tdm_formatter_power_down(struct axg_tdm_formatter *formatter)
{ … }
int axg_tdm_formatter_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *control,
int event)
{ … }
EXPORT_SYMBOL_GPL(…);
int axg_tdm_formatter_probe(struct platform_device *pdev)
{ … }
EXPORT_SYMBOL_GPL(…);
int axg_tdm_stream_start(struct axg_tdm_stream *ts)
{ … }
EXPORT_SYMBOL_GPL(…);
void axg_tdm_stream_stop(struct axg_tdm_stream *ts)
{ … }
EXPORT_SYMBOL_GPL(…);
struct axg_tdm_stream *axg_tdm_stream_alloc(struct axg_tdm_iface *iface)
{ … }
EXPORT_SYMBOL_GPL(…);
void axg_tdm_stream_free(struct axg_tdm_stream *ts)
{ … }
EXPORT_SYMBOL_GPL(…);
int axg_tdm_stream_set_cont_clocks(struct axg_tdm_stream *ts,
unsigned int fmt)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;