Home
last modified time | relevance | path

Searched refs:dai (Results 1 – 25 of 1022) sorted by relevance

12345678910>>...41

/linux/sound/soc/
A Dsoc-dai.c13 #define soc_dai_ret(dai, ret) _soc_dai_ret(dai, __func__, ret) argument
85 ret = dai->driver->ops->set_clkdiv(dai, div_id, div); in snd_soc_dai_set_clkdiv()
108 ret = dai->driver->ops->set_pll(dai, pll_id, source, in snd_soc_dai_set_pll()
131 ret = dai->driver->ops->set_bclk_ratio(dai, ratio); in snd_soc_dai_set_bclk_ratio()
213 ret = dai->driver->ops->set_fmt(dai, fmt); in snd_soc_dai_set_fmt()
419 dai->driver->ops->hw_free(substream, dai); in snd_soc_dai_hw_free()
450 dai->driver->ops->shutdown(substream, dai); in snd_soc_dai_shutdown()
561 int ret = dai->driver->probe(dai); in snd_soc_pcm_dai_probe()
584 r = dai->driver->remove(dai); in snd_soc_pcm_dai_remove()
602 int ret = dai->driver->pcm_new(rtd, dai); in snd_soc_pcm_dai_new()
[all …]
/linux/include/sound/
A Dsoc-dai.h402 struct snd_soc_dai *dai);
471 &dai->driver->playback : &dai->driver->capture; in snd_soc_dai_get_pcm_stream()
479 dai->playback_widget : dai->capture_widget; in snd_soc_dai_get_widget()
486 dai->playback_dma_data : dai->capture_dma_data; in snd_soc_dai_get_dma_data()
494 dai->playback_dma_data = data; in snd_soc_dai_set_dma_data()
496 dai->capture_dma_data = data; in snd_soc_dai_set_dma_data()
503 dai->capture_dma_data = capture; in snd_soc_dai_init_dma_data()
509 dev_set_drvdata(dai->dev, data); in snd_soc_dai_set_drvdata()
514 return dev_get_drvdata(dai->dev); in snd_soc_dai_get_drvdata()
533 return dai->driver->ops->set_sdw_stream(dai, stream, direction); in snd_soc_dai_set_sdw_stream()
[all …]
A Dsimple_card_utils.h156 &(dai)->slots, \
196 if (!dai) in asoc_simple_debug_dai()
199 if (dai->name) in asoc_simple_debug_dai()
201 name, dai->name); in asoc_simple_debug_dai()
203 if (dai->slots) in asoc_simple_debug_dai()
205 if (dai->slot_width) in asoc_simple_debug_dai()
207 if (dai->tx_slot_mask) in asoc_simple_debug_dai()
211 if (dai->clk) in asoc_simple_debug_dai()
213 if (dai->sysclk) in asoc_simple_debug_dai()
215 name, dai->sysclk); in asoc_simple_debug_dai()
[all …]
/linux/sound/soc/qcom/qdsp6/
A Dq6apm-lpass-dais.c34 switch (dai->id) { in q6dma_set_channel_map()
48 dev_err(dai->dev, "tx slot not found\n"); in q6dma_set_channel_map()
53 dev_err(dai->dev, "invalid tx num %d\n", in q6dma_set_channel_map()
76 dev_err(dai->dev, "invalid rx num %d\n", in q6dma_set_channel_map()
85 __func__, dai->id); in q6dma_set_channel_map()
112 if (!dai_data->is_port_started[dai->id]) in q6apm_lpass_dai_shutdown()
127 int graph_id = dai->id; in q6apm_lpass_dai_prepare()
135 graph = q6apm_graph_open(dai->dev, NULL, dai->dev, graph_id); in q6apm_lpass_dai_prepare()
160 dev_err(dai->dev, "fail to start APM port %x\n", dai->id); in q6apm_lpass_dai_prepare()
172 int graph_id = dai->id; in q6apm_lpass_dai_startup()
[all …]
A Dq6afe-dai.c177 switch (dai->id) { in q6tdm_set_tdm_slot()
186 __func__, dai->id); in q6tdm_set_tdm_slot()
203 switch (dai->id) { in q6tdm_set_channel_map()
205 if (dai->id & 0x1) { in q6tdm_set_channel_map()
247 __func__, dai->id); in q6tdm_set_channel_map()
281 switch (dai->id) { in q6dma_set_channel_map()
386 switch (dai->id) { in q6afe_dai_prepare()
402 dai->id); in q6afe_dai_prepare()
420 dev_err(dai->dev, "fail to start AFE port %x\n", dai->id); in q6afe_dai_prepare()
436 if (dai->id & 0x1) { in q6slim_set_channel_map()
[all …]
/linux/sound/soc/meson/
A Daxg-tdm-interface.c41 dai->playback_dma_data; in axg_tdm_set_tdm_slots()
43 dai->capture_dma_data; in axg_tdm_set_tdm_slots()
146 struct snd_soc_dai *dai) in axg_tdm_iface_startup() argument
164 dev_err(dai->dev, in axg_tdm_iface_startup()
242 dev_err(dai->dev, in axg_tdm_iface_set_lrclk()
251 dev_err(dai->dev, in axg_tdm_iface_set_lrclk()
274 dev_err(dai->dev, in axg_tdm_iface_set_sclk()
381 if (dai->capture_dma_data) in axg_tdm_iface_remove_dai()
384 if (dai->playback_dma_data) in axg_tdm_iface_remove_dai()
394 if (dai->capture_widget) { in axg_tdm_iface_probe_dai()
[all …]
A Daiu-fifo.c37 struct aiu_fifo *fifo = dai->playback_dma_data; in aiu_fifo_pointer()
59 struct snd_soc_dai *dai) in aiu_fifo_trigger() argument
65 aiu_fifo_enable(dai, true); in aiu_fifo_trigger()
70 aiu_fifo_enable(dai, false); in aiu_fifo_trigger()
80 struct snd_soc_dai *dai) in aiu_fifo_prepare() argument
97 struct snd_soc_dai *dai) in aiu_fifo_hw_params() argument
133 struct snd_soc_dai *dai) in aiu_fifo_startup() argument
169 struct snd_soc_dai *dai) in aiu_fifo_shutdown() argument
178 struct snd_soc_dai *dai) in aiu_fifo_pcm_new() argument
203 dai->playback_dma_data = fifo; in aiu_fifo_dai_probe()
[all …]
A Dmeson-codec-glue.c42 dai->playback_dma_data = data; in meson_codec_glue_input_set_data()
48 return dai->playback_dma_data; in meson_codec_glue_input_get_data()
57 struct snd_soc_dai *dai; in meson_codec_glue_output_get_input_data() local
62 dai = in->priv; in meson_codec_glue_output_get_input_data()
64 return meson_codec_glue_input_get_data(dai); in meson_codec_glue_output_get_input_data()
69 struct snd_soc_dai *dai) in meson_codec_glue_input_hw_params() argument
72 meson_codec_glue_input_get_data(dai); in meson_codec_glue_input_hw_params()
90 meson_codec_glue_input_get_data(dai); in meson_codec_glue_input_set_fmt()
99 struct snd_soc_dai *dai) in meson_codec_glue_output_startup() argument
128 meson_codec_glue_input_set_data(dai, data); in meson_codec_glue_input_dai_probe()
[all …]
/linux/sound/soc/ux500/
A Dux500_msp_dai.c54 dev_dbg(dai->dev, in setup_pcm_multichan()
92 dev_err(dai->dev, in setup_frameper()
111 dev_err(dai->dev, in setup_frameper()
153 dev_err(dai->dev, in setup_pcm_framing()
187 dev_err(dai->dev, in setup_clocking()
389 dev_dbg(dai->dev, "%s: MSP %d (%s): Enter.\n", __func__, dai->id, in ux500_msp_dai_startup()
431 dev_dbg(dai->dev, "%s: MSP %d (%s): Enter.\n", __func__, dai->id, in ux500_msp_dai_shutdown()
442 dev_err(dai->dev, in ux500_msp_dai_shutdown()
454 dev_err(dai->dev, in ux500_msp_dai_shutdown()
530 dev_err(dai->dev, in ux500_msp_dai_hw_params()
[all …]
/linux/Documentation/devicetree/bindings/sound/
A Damlogic,axg-sound-card.txt16 - dai-link: Container for dai-link level properties and the CODEC
20 Required dai-link properties:
40 Backend dai-link subnodes:
83 dai-link@0 {
84 sound-dai = <&frddr_a>;
87 dai-link@1 {
88 sound-dai = <&toddr_a>;
91 dai-link@2 {
92 sound-dai = <&tdmif_c>;
93 dai-format = "i2s";
[all …]
A Dqcom,sm8250.yaml35 ".*-dai-link$":
37 Each subnode represents a dai link. Subnodes of each dai links would be
52 sound-dai: true
58 sound-dai: true
64 sound-dai: true
94 mm1-dai-link {
101 mm2-dai-link {
108 mm3-dai-link {
115 hdmi-dai-link {
130 wsa-dai-link {
[all …]
A Damlogic,g12a-tohdmitx.txt8 - #sound-dai-cells: should be 1.
16 #sound-dai-cells = <1>;
27 dai-link-x {
28 sound-dai = <&tdmif_a>;
29 dai-format = "i2s";
37 sound-dai = <&external_dac>;
41 dai-link-y {
42 sound-dai = <&tdmif_c>;
43 dai-format = "i2s";
51 dai-link-z {
[all …]
/linux/arch/arm64/boot/dts/amlogic/
A Dmeson-g12b-gtking.dts23 #sound-dai-cells = <0>;
50 dai-link-0 {
51 sound-dai = <&frddr_a>;
54 dai-link-1 {
55 sound-dai = <&frddr_b>;
58 dai-link-2 {
63 dai-link-3 {
65 dai-format = "i2s";
78 dai-link-4 {
91 dai-link-5 {
[all …]
A Dmeson-g12b-ugoos-am6.dts18 #sound-dai-cells = <0>;
45 dai-link-0 {
46 sound-dai = <&frddr_a>;
49 dai-link-1 {
50 sound-dai = <&frddr_b>;
53 dai-link-2 {
58 dai-link-3 {
60 dai-format = "i2s";
73 dai-link-4 {
86 dai-link-5 {
[all …]
/linux/sound/soc/fsl/
A Dimx-spdif.c10 struct snd_soc_dai_link dai; member
35 data->dai.cpus = &comp[0]; in imx_spdif_audio_probe()
36 data->dai.codecs = &comp[1]; in imx_spdif_audio_probe()
37 data->dai.platforms = &comp[2]; in imx_spdif_audio_probe()
39 data->dai.num_cpus = 1; in imx_spdif_audio_probe()
40 data->dai.num_codecs = 1; in imx_spdif_audio_probe()
41 data->dai.num_platforms = 1; in imx_spdif_audio_probe()
43 data->dai.name = "S/PDIF PCM"; in imx_spdif_audio_probe()
49 data->dai.playback_only = true; in imx_spdif_audio_probe()
50 data->dai.capture_only = true; in imx_spdif_audio_probe()
[all …]
A Dimx-rpmsg.c20 struct snd_soc_dai_link dai; member
56 data->dai.cpus = &dlc[0]; in imx_rpmsg_probe()
57 data->dai.num_cpus = 1; in imx_rpmsg_probe()
58 data->dai.platforms = &dlc[1]; in imx_rpmsg_probe()
59 data->dai.num_platforms = 1; in imx_rpmsg_probe()
60 data->dai.codecs = &dlc[2]; in imx_rpmsg_probe()
61 data->dai.num_codecs = 1; in imx_rpmsg_probe()
63 data->dai.name = "rpmsg hifi"; in imx_rpmsg_probe()
85 data->dai.playback_only = true; in imx_rpmsg_probe()
86 data->dai.capture_only = true; in imx_rpmsg_probe()
[all …]
A Dp1022_rdk.c71 struct snd_soc_dai_link dai[2]; member
229 mdata->dai[0].cpus = &comp[0]; in p1022_rdk_probe()
233 mdata->dai[0].num_cpus = 1; in p1022_rdk_probe()
234 mdata->dai[0].num_codecs = 1; in p1022_rdk_probe()
237 mdata->dai[1].cpus = &comp[3]; in p1022_rdk_probe()
241 mdata->dai[1].num_cpus = 1; in p1022_rdk_probe()
242 mdata->dai[1].num_codecs = 1; in p1022_rdk_probe()
256 memcpy(&mdata->dai[1], &mdata->dai[0], sizeof(struct snd_soc_dai_link)); in p1022_rdk_probe()
260 mdata->dai[1].codecs->dai_name = mdata->dai[0].codecs->dai_name; in p1022_rdk_probe()
316 mdata->dai[0].name = mdata->dai[0].stream_name; in p1022_rdk_probe()
[all …]
A Dimx-audmix.c29 struct snd_soc_dai_link *dai; member
190 if (!priv->dai) in imx_audmix_probe()
241 priv->dai[i].cpus = &dlc[0]; in imx_audmix_probe()
242 priv->dai[i].codecs = &dlc[1]; in imx_audmix_probe()
245 priv->dai[i].num_cpus = 1; in imx_audmix_probe()
246 priv->dai[i].num_codecs = 1; in imx_audmix_probe()
247 priv->dai[i].num_platforms = 1; in imx_audmix_probe()
249 priv->dai[i].name = dai_name; in imx_audmix_probe()
256 priv->dai[i].dynamic = 1; in imx_audmix_probe()
257 priv->dai[i].dpcm_playback = 1; in imx_audmix_probe()
[all …]
A Dimx-hdmi.c24 struct snd_soc_dai_link dai; member
132 data->dai.cpus = &dlc[0]; in imx_hdmi_probe()
133 data->dai.num_cpus = 1; in imx_hdmi_probe()
134 data->dai.platforms = &dlc[1]; in imx_hdmi_probe()
135 data->dai.num_platforms = 1; in imx_hdmi_probe()
136 data->dai.codecs = &dlc[2]; in imx_hdmi_probe()
137 data->dai.num_codecs = 1; in imx_hdmi_probe()
139 data->dai.name = "i.MX HDMI"; in imx_hdmi_probe()
143 data->dai.ops = &imx_hdmi_ops; in imx_hdmi_probe()
144 data->dai.playback_only = true; in imx_hdmi_probe()
[all …]
A Dp1022_ds.c64 struct snd_soc_dai_link dai[2]; member
226 mdata->dai[0].cpus = &comp[0]; in p1022_ds_probe()
227 mdata->dai[0].codecs = &comp[1]; in p1022_ds_probe()
230 mdata->dai[0].num_cpus = 1; in p1022_ds_probe()
231 mdata->dai[0].num_codecs = 1; in p1022_ds_probe()
234 mdata->dai[1].cpus = &comp[3]; in p1022_ds_probe()
238 mdata->dai[1].num_cpus = 1; in p1022_ds_probe()
239 mdata->dai[1].num_codecs = 1; in p1022_ds_probe()
253 memcpy(&mdata->dai[1], &mdata->dai[0], sizeof(struct snd_soc_dai_link)); in p1022_ds_probe()
365 mdata->dai[0].name = mdata->dai[0].stream_name; in p1022_ds_probe()
[all …]
/linux/sound/soc/mediatek/mt8195/
A Dmt8195-dai-pcm.c117 struct snd_soc_dai *dai) in mtk_dai_pcm_configure() argument
211 struct snd_soc_dai *dai) in mtk_dai_pcm_startup() argument
216 if (dai->component->active) in mtk_dai_pcm_startup()
227 struct snd_soc_dai *dai) in mtk_dai_pcm_shutdown() argument
232 if (dai->component->active) in mtk_dai_pcm_shutdown()
243 struct snd_soc_dai *dai) in mtk_dai_pcm_prepare() argument
372 struct mtk_base_afe_dai *dai; in mt8195_dai_pcm_register() local
374 dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); in mt8195_dai_pcm_register()
375 if (!dai) in mt8195_dai_pcm_register()
378 list_add(&dai->list, &afe->sub_dais); in mt8195_dai_pcm_register()
[all …]
/linux/sound/soc/mediatek/common/
A Dmtk-afe-platform-driver.c18 struct mtk_base_afe_dai *dai; in mtk_afe_combine_sub_dai() local
40 dai->dai_drivers, in mtk_afe_combine_sub_dai()
41 dai->num_dai_drivers * in mtk_afe_combine_sub_dai()
52 struct mtk_base_afe_dai *dai; in mtk_afe_add_sub_dai_control() local
55 if (dai->controls) in mtk_afe_add_sub_dai_control()
57 dai->controls, in mtk_afe_add_sub_dai_control()
60 if (dai->dapm_widgets) in mtk_afe_add_sub_dai_control()
62 dai->dapm_widgets, in mtk_afe_add_sub_dai_control()
67 if (dai->dapm_routes) in mtk_afe_add_sub_dai_control()
69 dai->dapm_routes, in mtk_afe_add_sub_dai_control()
[all …]
/linux/sound/soc/atmel/
A Dmikroe-proto.c84 dai = devm_kzalloc(&pdev->dev, sizeof(*dai), GFP_KERNEL); in snd_proto_probe()
85 if (!dai) in snd_proto_probe()
93 snd_proto.dai_link = dai; in snd_proto_probe()
96 dai->cpus = &comp[0]; in snd_proto_probe()
97 dai->num_cpus = 1; in snd_proto_probe()
98 dai->codecs = &comp[1]; in snd_proto_probe()
99 dai->num_codecs = 1; in snd_proto_probe()
100 dai->platforms = &comp[2]; in snd_proto_probe()
101 dai->num_platforms = 1; in snd_proto_probe()
103 dai->name = "WM8731"; in snd_proto_probe()
[all …]
/linux/sound/soc/sof/intel/
A Dhda-dai.c254 w = dai->playback_widget; in hda_link_hw_params()
256 w = dai->capture_widget; in hda_link_hw_params()
290 struct snd_soc_dai *dai) in hda_link_pcm_prepare() argument
305 dai); in hda_link_pcm_prepare()
338 dev_err(dai->dev, in hda_link_pcm_trigger()
353 w = dai->capture_widget; in hda_link_pcm_trigger()
399 dev_dbg(dai->dev, in hda_link_hw_free()
407 w = dai->playback_widget; in hda_link_hw_free()
409 w = dai->capture_widget; in hda_link_hw_free()
459 w = dai->playback_widget; in ssp_dai_setup_or_free()
[all …]
/linux/sound/soc/amd/acp/
A Dacp-i2s.c29 struct snd_soc_dai *dai) in acp_i2s_hwparams() argument
37 adata = snd_soc_dai_get_drvdata(dai); in acp_i2s_hwparams()
59 switch (dai->driver->id) { in acp_i2s_hwparams()
71 switch (dai->driver->id) { in acp_i2s_hwparams()
108 switch (dai->driver->id) { in acp_i2s_trigger()
126 switch (dai->driver->id) { in acp_i2s_trigger()
155 switch (dai->driver->id) { in acp_i2s_trigger()
168 switch (dai->driver->id) { in acp_i2s_trigger()
207 switch (dai->driver->id) { in acp_i2s_prepare()
274 switch (dai->driver->id) { in acp_i2s_startup()
[all …]

Completed in 59 milliseconds

12345678910>>...41