Home
last modified time | relevance | path

Searched refs:snd_soc_dai (Results 1 – 25 of 572) sorted by relevance

12345678910>>...23

/OK3568_Linux_fs/kernel/include/sound/
H A Dsoc-dai.h110 struct snd_soc_dai;
114 int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id,
117 int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai,
120 int snd_soc_dai_set_pll(struct snd_soc_dai *dai,
123 int snd_soc_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio);
126 int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt);
128 int snd_soc_dai_set_tdm_slot(struct snd_soc_dai *dai,
131 int snd_soc_dai_set_channel_map(struct snd_soc_dai *dai,
135 int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate);
138 int snd_soc_dai_digital_mute(struct snd_soc_dai *dai, int mute,
[all …]
/OK3568_Linux_fs/kernel/sound/soc/meson/
H A Daiu-fifo.h16 struct snd_soc_dai;
28 int aiu_fifo_dai_probe(struct snd_soc_dai *dai);
29 int aiu_fifo_dai_remove(struct snd_soc_dai *dai);
35 struct snd_soc_dai *dai);
37 struct snd_soc_dai *dai);
40 struct snd_soc_dai *dai);
42 struct snd_soc_dai *dai);
44 struct snd_soc_dai *dai);
46 struct snd_soc_dai *dai);
48 struct snd_soc_dai *dai);
H A Daiu-fifo.c26 static struct snd_soc_dai *aiu_fifo_dai(struct snd_pcm_substream *ss) in aiu_fifo_dai()
36 struct snd_soc_dai *dai = aiu_fifo_dai(substream); in aiu_fifo_pointer()
46 static void aiu_fifo_enable(struct snd_soc_dai *dai, bool enable) in aiu_fifo_enable()
59 struct snd_soc_dai *dai) in aiu_fifo_trigger()
80 struct snd_soc_dai *dai) in aiu_fifo_prepare()
97 struct snd_soc_dai *dai) in aiu_fifo_hw_params()
129 struct snd_soc_dai *dai) in aiu_fifo_hw_free()
144 struct snd_soc_dai *dai) in aiu_fifo_startup()
180 struct snd_soc_dai *dai) in aiu_fifo_shutdown()
189 struct snd_soc_dai *dai) in aiu_fifo_pcm_new()
[all …]
H A Dmeson-codec-glue.h19 meson_codec_glue_input_get_data(struct snd_soc_dai *dai);
22 struct snd_soc_dai *dai);
23 int meson_codec_glue_input_set_fmt(struct snd_soc_dai *dai,
25 int meson_codec_glue_input_dai_probe(struct snd_soc_dai *dai);
26 int meson_codec_glue_input_dai_remove(struct snd_soc_dai *dai);
30 struct snd_soc_dai *dai);
H A Dmeson-codec-glue.c39 static void meson_codec_glue_input_set_data(struct snd_soc_dai *dai, in meson_codec_glue_input_set_data()
46 meson_codec_glue_input_get_data(struct snd_soc_dai *dai) in meson_codec_glue_input_get_data()
57 struct snd_soc_dai *dai; in meson_codec_glue_output_get_input_data()
69 struct snd_soc_dai *dai) in meson_codec_glue_input_hw_params()
86 int meson_codec_glue_input_set_fmt(struct snd_soc_dai *dai, in meson_codec_glue_input_set_fmt()
99 struct snd_soc_dai *dai) in meson_codec_glue_output_startup()
123 int meson_codec_glue_input_dai_probe(struct snd_soc_dai *dai) in meson_codec_glue_input_dai_probe()
136 int meson_codec_glue_input_dai_remove(struct snd_soc_dai *dai) in meson_codec_glue_input_dai_remove()
H A Daxg-tdm-interface.c35 int axg_tdm_set_tdm_slots(struct snd_soc_dai *dai, u32 *tx_mask, in axg_tdm_set_tdm_slots()
99 static int axg_tdm_iface_set_sysclk(struct snd_soc_dai *dai, int clk_id, in axg_tdm_iface_set_sysclk()
118 static int axg_tdm_iface_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in axg_tdm_iface_set_fmt()
146 struct snd_soc_dai *dai) in axg_tdm_iface_startup()
175 struct snd_soc_dai *dai) in axg_tdm_iface_set_stream()
204 static int axg_tdm_iface_set_lrclk(struct snd_soc_dai *dai, in axg_tdm_iface_set_lrclk()
259 static int axg_tdm_iface_set_sclk(struct snd_soc_dai *dai, in axg_tdm_iface_set_sclk()
300 struct snd_soc_dai *dai) in axg_tdm_iface_hw_params()
344 struct snd_soc_dai *dai) in axg_tdm_iface_hw_free()
355 struct snd_soc_dai *dai) in axg_tdm_iface_prepare()
[all …]
H A Daiu-encoder-spdif.c48 struct snd_soc_dai *dai) in aiu_encoder_spdif_trigger()
97 struct snd_soc_dai *dai) in aiu_encoder_spdif_hw_params()
156 struct snd_soc_dai *dai) in aiu_encoder_spdif_hw_free()
166 struct snd_soc_dai *dai) in aiu_encoder_spdif_startup()
196 struct snd_soc_dai *dai) in aiu_encoder_spdif_shutdown()
/OK3568_Linux_fs/kernel/sound/soc/
H A Dsoc-dai.c14 static inline int _soc_dai_ret(struct snd_soc_dai *dai, in _soc_dai_ret()
52 int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, in snd_soc_dai_set_sysclk()
78 int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai, in snd_soc_dai_set_clkdiv()
101 int snd_soc_dai_set_pll(struct snd_soc_dai *dai, int pll_id, int source, in snd_soc_dai_set_pll()
125 int snd_soc_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) in snd_soc_dai_set_bclk_ratio()
144 int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in snd_soc_dai_set_fmt()
203 int snd_soc_dai_set_tdm_slot(struct snd_soc_dai *dai, in snd_soc_dai_set_tdm_slot()
239 int snd_soc_dai_set_channel_map(struct snd_soc_dai *dai, in snd_soc_dai_set_channel_map()
263 int snd_soc_dai_get_channel_map(struct snd_soc_dai *dai, in snd_soc_dai_get_channel_map()
284 int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate) in snd_soc_dai_set_tristate()
[all …]
H A Dsoc-compress.c77 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_open()
122 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_open_fe()
198 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_free()
199 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in soc_compr_free()
237 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_free_fe()
305 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in soc_compr_trigger()
306 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_trigger()
336 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_trigger_fe()
408 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_set_params()
458 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_set_params_fe()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_multi_dais.c26 static inline struct rk_mdais_dev *to_info(struct snd_soc_dai *dai) in to_info()
43 struct snd_soc_dai *dai) in rockchip_mdais_hw_params()
47 struct snd_soc_dai *child; in rockchip_mdais_hw_params()
79 int cmd, struct snd_soc_dai *dai) in rockchip_mdais_trigger()
82 struct snd_soc_dai *child; in rockchip_mdais_trigger()
109 struct snd_soc_dai *dai) in rockchip_mdais_startup()
112 struct snd_soc_dai *child; in rockchip_mdais_startup()
128 struct snd_soc_dai *dai) in rockchip_mdais_shutdown()
131 struct snd_soc_dai *child; in rockchip_mdais_shutdown()
143 struct snd_soc_dai *dai) in rockchip_mdais_prepare()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/mediatek/common/
H A Dmtk-afe-fe-dai.h17 struct snd_soc_dai *dai);
19 struct snd_soc_dai *dai);
22 struct snd_soc_dai *dai);
24 struct snd_soc_dai *dai);
26 struct snd_soc_dai *dai);
28 struct snd_soc_dai *dai);
/OK3568_Linux_fs/kernel/sound/soc/sof/
H A Dcompress.h19 struct snd_soc_dai *dai);
21 struct snd_soc_dai *dai);
23 struct snd_compr_params *params, struct snd_soc_dai *dai);
25 struct snd_soc_dai *dai);
27 struct snd_compr_tstamp *tstamp, struct snd_soc_dai *dai);
H A Dcompress.c22 struct snd_soc_dai *dai) in sof_probe_compr_open()
40 struct snd_soc_dai *dai) in sof_probe_compr_free()
72 struct snd_compr_params *params, struct snd_soc_dai *dai) in sof_probe_compr_set_params()
101 struct snd_soc_dai *dai) in sof_probe_compr_trigger()
111 struct snd_compr_tstamp *tstamp, struct snd_soc_dai *dai) in sof_probe_compr_pointer()
/OK3568_Linux_fs/kernel/sound/soc/pxa/
H A Dpxa2xx-i2s.c96 struct snd_soc_dai *dai) in pxa2xx_i2s_startup()
99 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in pxa2xx_i2s_startup()
121 static int pxa2xx_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai, in pxa2xx_i2s_set_dai_fmt()
147 static int pxa2xx_i2s_set_dai_sysclk(struct snd_soc_dai *cpu_dai, in pxa2xx_i2s_set_dai_sysclk()
158 struct snd_soc_dai *dai) in pxa2xx_i2s_hw_params()
217 struct snd_soc_dai *dai) in pxa2xx_i2s_trigger()
243 struct snd_soc_dai *dai) in pxa2xx_i2s_shutdown()
297 static int pxa2xx_i2s_probe(struct snd_soc_dai *dai) in pxa2xx_i2s_probe()
322 static int pxa2xx_i2s_remove(struct snd_soc_dai *dai) in pxa2xx_i2s_remove()
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dhdac_hda.c39 struct snd_soc_dai *dai);
41 struct snd_soc_dai *dai);
43 struct snd_soc_dai *dai);
46 struct snd_soc_dai *dai);
48 struct snd_soc_dai *dai);
49 static int hdac_hda_dai_set_tdm_slot(struct snd_soc_dai *dai,
53 struct snd_soc_dai *dai);
183 static int hdac_hda_dai_set_tdm_slot(struct snd_soc_dai *dai, in hdac_hda_dai_set_tdm_slot()
204 struct snd_soc_dai *dai) in hdac_hda_dai_hw_params()
236 struct snd_soc_dai *dai) in hdac_hda_dai_hw_free()
[all …]
H A Dmc13783.c95 struct snd_soc_dai *dai) in mc13783_pcm_hw_params_dac()
114 struct snd_soc_dai *dai) in mc13783_pcm_hw_params_codec()
139 struct snd_soc_dai *dai) in mc13783_pcm_hw_params_sync()
147 static int mc13783_set_fmt(struct snd_soc_dai *dai, unsigned int fmt, in mc13783_set_fmt()
203 static int mc13783_set_fmt_async(struct snd_soc_dai *dai, unsigned int fmt) in mc13783_set_fmt_async()
211 static int mc13783_set_fmt_sync(struct snd_soc_dai *dai, unsigned int fmt) in mc13783_set_fmt_sync()
241 static int mc13783_set_sysclk(struct snd_soc_dai *dai, in mc13783_set_sysclk()
270 static int mc13783_set_sysclk_dac(struct snd_soc_dai *dai, in mc13783_set_sysclk_dac()
276 static int mc13783_set_sysclk_codec(struct snd_soc_dai *dai, in mc13783_set_sysclk_codec()
282 static int mc13783_set_sysclk_sync(struct snd_soc_dai *dai, in mc13783_set_sysclk_sync()
[all …]
H A Dlochnagar-sc.c70 struct snd_soc_dai *dai) in lochnagar_sc_startup()
89 struct snd_soc_dai *dai) in lochnagar_sc_line_startup()
111 struct snd_soc_dai *dai) in lochnagar_sc_line_shutdown()
119 static int lochnagar_sc_check_fmt(struct snd_soc_dai *dai, unsigned int fmt, in lochnagar_sc_check_fmt()
130 static int lochnagar_sc_set_line_fmt(struct snd_soc_dai *dai, unsigned int fmt) in lochnagar_sc_set_line_fmt()
135 static int lochnagar_sc_set_usb_fmt(struct snd_soc_dai *dai, unsigned int fmt) in lochnagar_sc_set_usb_fmt()
/OK3568_Linux_fs/kernel/sound/soc/qcom/
H A Dsdm845.c50 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_slim_snd_hw_params()
51 struct snd_soc_dai *codec_dai; in sdm845_slim_snd_hw_params()
90 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_tdm_snd_hw_params()
91 struct snd_soc_dai *codec_dai; in sdm845_tdm_snd_hw_params()
175 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_hw_params()
176 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in sdm845_snd_hw_params()
224 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in sdm845_dai_init()
225 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_dai_init()
308 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_startup()
309 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in sdm845_snd_startup()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/ux500/
H A Dux500_msp_dai.c30 static int setup_pcm_multichan(struct snd_soc_dai *dai, in setup_pcm_multichan()
63 static int setup_frameper(struct snd_soc_dai *dai, unsigned int rate, in setup_frameper()
127 static int setup_pcm_framing(struct snd_soc_dai *dai, unsigned int rate, in setup_pcm_framing()
172 static int setup_clocking(struct snd_soc_dai *dai, in setup_clocking()
228 static int setup_pcm_protdesc(struct snd_soc_dai *dai, in setup_pcm_protdesc()
302 struct snd_soc_dai *dai, in setup_msp_config()
384 struct snd_soc_dai *dai) in ux500_msp_dai_startup()
425 struct snd_soc_dai *dai) in ux500_msp_dai_shutdown()
460 struct snd_soc_dai *dai) in ux500_msp_dai_prepare()
499 struct snd_soc_dai *dai) in ux500_msp_dai_hw_params()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/uniphier/
H A Daio-cpu.c146 static int uniphier_aio_set_sysclk(struct snd_soc_dai *dai, int clk_id, in uniphier_aio_set_sysclk()
217 static int uniphier_aio_set_pll(struct snd_soc_dai *dai, int pll_id, in uniphier_aio_set_pll()
234 static int uniphier_aio_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in uniphier_aio_set_fmt()
255 struct snd_soc_dai *dai) in uniphier_aio_startup()
273 struct snd_soc_dai *dai) in uniphier_aio_shutdown()
283 struct snd_soc_dai *dai) in uniphier_aio_hw_params()
321 struct snd_soc_dai *dai) in uniphier_aio_hw_free()
332 struct snd_soc_dai *dai) in uniphier_aio_prepare()
386 int uniphier_aio_dai_probe(struct snd_soc_dai *dai) in uniphier_aio_dai_probe()
413 int uniphier_aio_dai_remove(struct snd_soc_dai *dai) in uniphier_aio_dai_remove()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/sh/
H A Dssi.c90 struct snd_soc_dai *dai) in ssi_startup()
102 struct snd_soc_dai *dai) in ssi_shutdown()
110 struct snd_soc_dai *dai) in ssi_trigger()
130 struct snd_soc_dai *dai) in ssi_hw_params()
208 static int ssi_set_sysclk(struct snd_soc_dai *cpu_dai, int clk_id, in ssi_set_sysclk()
222 static int ssi_set_clkdiv(struct snd_soc_dai *dai, int did, int div) in ssi_set_clkdiv()
245 static int ssi_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in ssi_set_fmt()
/OK3568_Linux_fs/kernel/sound/soc/sof/intel/
H A Dhda-compress.c24 struct snd_soc_dai *dai) in hda_probe_compr_assign()
41 struct snd_soc_dai *dai) in hda_probe_compr_free()
62 struct snd_soc_dai *dai) in hda_probe_compr_set_params()
94 struct snd_soc_dai *dai) in hda_probe_compr_trigger()
104 struct snd_soc_dai *dai) in hda_probe_compr_pointer()
/OK3568_Linux_fs/kernel/sound/soc/hisilicon/
H A Dhi3660-i2s.c93 struct snd_soc_dai *cpu_dai) in startup()
131 struct snd_soc_dai *cpu_dai) in shutdown()
139 static void txctrl(struct snd_soc_dai *cpu_dai, int on) in txctrl()
162 static void rxctrl(struct snd_soc_dai *cpu_dai, int on) in rxctrl()
183 static int set_sysclk(struct snd_soc_dai *cpu_dai, in set_sysclk()
189 static int set_format(struct snd_soc_dai *cpu_dai, unsigned int fmt) in set_format()
202 struct snd_soc_dai *cpu_dai) in hw_params()
241 struct snd_soc_dai *cpu_dai) in trigger()
266 static int dai_probe(struct snd_soc_dai *dai) in dai_probe()
/OK3568_Linux_fs/kernel/sound/soc/spear/
H A Dspdif_out.c61 struct snd_soc_dai *cpu_dai) in spdif_out_startup()
80 struct snd_soc_dai *dai) in spdif_out_shutdown()
107 struct snd_soc_dai *dai) in spdif_out_hw_params()
152 struct snd_soc_dai *dai) in spdif_out_trigger()
191 static int spdif_mute(struct snd_soc_dai *dai, int mute, int direction) in spdif_mute()
216 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in spdif_mute_get()
226 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in spdif_mute_put()
242 static int spdif_soc_dai_probe(struct snd_soc_dai *dai) in spdif_soc_dai_probe()
/OK3568_Linux_fs/kernel/sound/soc/ti/
H A Domap-dmic.c91 struct snd_soc_dai *dai) in omap_dmic_dai_startup()
109 struct snd_soc_dai *dai) in omap_dmic_dai_shutdown()
188 struct snd_soc_dai *dai) in omap_dmic_dai_hw_params()
228 struct snd_soc_dai *dai) in omap_dmic_dai_prepare()
261 int cmd, struct snd_soc_dai *dai) in omap_dmic_dai_trigger()
390 static int omap_dmic_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, in omap_dmic_set_dai_sysclk()
413 static int omap_dmic_probe(struct snd_soc_dai *dai) in omap_dmic_probe()
432 static int omap_dmic_remove(struct snd_soc_dai *dai) in omap_dmic_remove()

12345678910>>...23