Home
last modified time | relevance | path

Searched full:dai (Results 1 – 25 of 1128) sorted by relevance

12345678910>>...46

/linux/sound/soc/tegra/
H A Dtegra210_ahub.c105 DAI(ADMAIF1),
106 DAI(ADMAIF2),
107 DAI(ADMAIF3),
108 DAI(ADMAIF4),
109 DAI(ADMAIF5),
110 DAI(ADMAIF6),
111 DAI(ADMAIF7),
112 DAI(ADMAIF8),
113 DAI(ADMAIF9),
114 DAI(ADMAIF1
[all...]
H A Dtegra210_admaif.c389 struct snd_soc_dai *dai) in tegra_admaif_prepare() argument
391 return tegra_isomgr_adma_setbw(substream, dai, true); in tegra_admaif_prepare()
395 struct snd_soc_dai *dai) in tegra_admaif_shutdown() argument
397 tegra_isomgr_adma_setbw(substream, dai, false); in tegra_admaif_shutdown()
402 struct snd_soc_dai *dai) in tegra_admaif_hw_params() argument
404 struct device *dev = dai->dev; in tegra_admaif_hw_params()
405 struct tegra_admaif *admaif = snd_soc_dai_get_drvdata(dai); in tegra_admaif_hw_params()
444 reg = CH_TX_REG(TEGRA_ADMAIF_CH_ACIF_TX_CTRL, dai->id); in tegra_admaif_hw_params()
447 reg = CH_RX_REG(TEGRA_ADMAIF_CH_ACIF_RX_CTRL, dai->id); in tegra_admaif_hw_params()
450 cif_conf.mono_conv = admaif->mono_to_stereo[path][dai in tegra_admaif_hw_params()
463 tegra_admaif_start(struct snd_soc_dai * dai,int direction) tegra_admaif_start() argument
489 tegra_admaif_stop(struct snd_soc_dai * dai,int direction) tegra_admaif_stop() argument
545 tegra_admaif_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) tegra_admaif_trigger() argument
684 tegra_admaif_dai_probe(struct snd_soc_dai * dai) tegra_admaif_dai_probe() argument
702 #define DAI( global() macro
[all...]
/linux/sound/soc/qcom/qdsp6/
H A Dq6apm-lpass-dais.c68 static int q6dma_set_channel_map(struct snd_soc_dai *dai, in q6dma_set_channel_map()
75 struct q6apm_lpass_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6dma_set_channel_map()
76 struct audioreach_module_config *cfg = &dai_data->module_config[dai->id]; in q6dma_set_channel_map()
79 switch (dai->id) { in q6dma_set_channel_map()
93 dev_err(dai->dev, "tx slot not found\n"); in q6dma_set_channel_map()
98 dev_err(dai->dev, "invalid tx num %d\n", in q6hdmi_hw_params()
118 dev_err(dai->dev, "rx slot not found\n"); in q6hdmi_hw_params()
122 dev_err(dai->dev, "invalid rx num %d\n", in q6hdmi_hw_params()
131 dev_err(dai->dev, "%s: invalid dai i in q6dma_hw_params()
27 q6dma_set_channel_map(struct snd_soc_dai * dai,unsigned int tx_num,const unsigned int * tx_ch_mask,unsigned int rx_num,const unsigned int * rx_ch_mask) q6dma_set_channel_map() argument
99 q6hdmi_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params,struct snd_soc_dai * dai) q6hdmi_hw_params() argument
130 q6dma_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params,struct snd_soc_dai * dai) q6dma_hw_params() argument
144 q6apm_lpass_dai_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) q6apm_lpass_dai_shutdown() argument
163 q6apm_lpass_dai_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) q6apm_lpass_dai_trigger() argument
187 q6apm_lpass_dai_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) q6apm_lpass_dai_prepare() argument
236 q6apm_lpass_dai_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) q6apm_lpass_dai_startup() argument
254 q6i2s_set_fmt(struct snd_soc_dai * dai,unsigned int fmt) q6i2s_set_fmt() argument
[all...]
H A Dq6afe-dai.c39 struct snd_soc_dai *dai) in q6slim_hw_params() argument
42 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6slim_hw_params()
43 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params()
69 struct snd_soc_dai *dai) in q6hdmi_hw_params() argument
71 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6hdmi_hw_params()
73 struct q6afe_hdmi_cfg *hdmi = &dai_data->port_config[dai->id].hdmi; in q6hdmi_hw_params()
97 struct snd_soc_dai *dai) in q6afe_usb_hw_params() argument
99 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6afe_usb_hw_params()
102 struct q6afe_usb_cfg *usb = &dai_data->port_config[dai->id].usb_audio; in q6afe_usb_hw_params()
120 dev_err(dai in q6afe_usb_hw_params()
130 q6i2s_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params,struct snd_soc_dai * dai) q6i2s_hw_params() argument
143 q6i2s_set_fmt(struct snd_soc_dai * dai,unsigned int fmt) q6i2s_set_fmt() argument
153 q6tdm_set_tdm_slot(struct snd_soc_dai * dai,unsigned int tx_mask,unsigned int rx_mask,int slots,int slot_width) q6tdm_set_tdm_slot() argument
207 q6tdm_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) q6tdm_set_channel_map() argument
270 q6tdm_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params,struct snd_soc_dai * dai) q6tdm_hw_params() argument
285 q6dma_set_channel_map(struct snd_soc_dai * dai,unsigned int tx_num,const unsigned int * tx_ch_mask,unsigned int rx_num,const unsigned int * rx_ch_mask) q6dma_set_channel_map() argument
359 q6dma_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params,struct snd_soc_dai * dai) q6dma_hw_params() argument
371 q6afe_dai_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) q6afe_dai_shutdown() argument
388 q6afe_dai_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) q6afe_dai_prepare() argument
448 q6slim_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) q6slim_set_channel_map() argument
487 q6afe_mi2s_set_sysclk(struct snd_soc_dai * dai,int clk_id,unsigned int freq,int dir) q6afe_mi2s_set_sysclk() argument
667 msm_dai_q6_dai_probe(struct snd_soc_dai * dai) msm_dai_q6_dai_probe() argument
682 msm_dai_q6_dai_remove(struct snd_soc_dai * dai) msm_dai_q6_dai_remove() argument
[all...]
/linux/Documentation/devicetree/bindings/sound/
H A Dfsl,qmc-audio.yaml15 It provides several DAIs. For each DAI, the DAI is working in interleaved mode
16 if only one QMC channel is used by the DAI or it is working in non-interleaved
17 mode if several QMC channels are used by the DAI.
20 - $ref: dai-common.yaml#
30 '#sound-dai-cells':
34 '^dai@([0-9]|[1-5][0-9]|6[0-3])$':
36 A DAI managed by this controller
45 The DAI number
56 and the QMC channel pair to use for this DAI.
57 If only one phandle/number pair is provided, this DAI works in
[all …]
H A Dqcom,sm8250.yaml80 ".*-dai-link$":
82 Each subnode represents a dai link. Subnodes of each dai links would be
89 description: Indicates dai-link name and PCM stream name.
94 description: Holds subnode which indicates cpu dai.
99 sound-dai:
102 dai-tdm-slot-num:
106 dai-tdm-slot-width:
111 '^dai-tdm-slot-[rt]x-mask$':
116 description: Holds subnode which indicates platform dai
[all...]
H A Dgoogle,sc7280-herobrine.yaml30 "^dai-link@[0-9a-f]$":
32 Each subnode represents a dai link. Subnodes of each dai links would be
39 description: Indicates dai-link name and PCM stream name.
45 description: dai link address.
48 description: Holds subnode which indicates cpu dai.
51 sound-dai: true
54 - sound-dai
59 description: Holds subnode which indicates codec dai.
62 sound-dai: true
65 - sound-dai
[all …]
H A Dmt8192-mt6359-rt1015-rt5682.yaml66 sound-dai:
69 - sound-dai
77 sound-dai:
83 - sound-dai
86 ".*-dai-link$":
91 Container for dai-link level properties and CODEC sub-nodes.
95 description: Indicates dai-link name and PCM stream name
110 description: Holds subnode which indicates codec dai.
114 sound-dai:
118 - sound-dai
[all...]
H A Dmt8186-mt6366-da7219-max98357.yaml57 sound-dai:
60 - sound-dai
67 sound-dai:
74 - sound-dai
80 mediatek,dai-link:
83 A list of the desired dai-links in the sound card. Each entry is a
87 ".*-dai-link$":
91 Container for dai-link level properties and CODEC sub-nodes.
95 description: Indicates dai-link name and PCM stream name
104 description: Holds subnode which indicates codec dai
[all...]
H A Dmt8186-mt6366-rt1019-rt5682s.yaml69 sound-dai:
72 - sound-dai
79 sound-dai:
86 - sound-dai
92 mediatek,dai-link:
95 A list of the desired dai-links in the sound card. Each entry is a
99 ".*-dai-link$":
103 Container for dai-link level properties and CODEC sub-nodes.
107 description: Indicates dai-link name and PCM stream name
111 description: Holds subnode which indicates codec dai
[all...]
H A Dqcom,apq8016-sbc-sndcard.yaml56 ".*-dai-link$":
58 Each subnode represents a dai link. Subnodes of each dai links would be
65 description: Indicates dai-link name and PCM stream name.
70 description: Holds subnode which indicates cpu dai.
75 sound-dai:
79 description: Holds subnode which indicates platform dai.
84 sound-dai:
88 description: Holds subnode which indicates codec dai.
93 sound-dai:
128 quaternary-dai-link {
[all …]
H A Dmt8195-mt6359.yaml77 mediatek,dai-link:
80 A list of the desired dai-links in the sound card. Each entry is a
84 ".*-dai-link$":
88 Container for dai-link level properties and CODEC sub-nodes.
92 description: Indicates dai-link name and PCM stream name
104 description: Holds subnode which indicates codec dai.
108 sound-dai:
112 - sound-dai
114 dai-format:
120 description: Indicates dai
[all...]
H A Dgoogle,sc7180-trogdor.yaml36 "^dai-link(@[0-9])?$":
38 Each subnode represents a dai link. Subnodes of each dai links would be
45 description: Indicates dai-link name and PCM stream name.
51 description: dai link address.
54 description: Holds subnode which indicates cpu dai.
59 sound-dai:
63 description: Holds subnode which indicates codec dai.
68 sound-dai:
102 dai-link@0 {
106 sound-dai = <&lpass_cpu 0>;
[all …]
/linux/sound/soc/ux500/
H A Dux500_msp_dai.c20 #include <sound/soc-dai.h>
27 static int setup_pcm_multichan(struct snd_soc_dai *dai, in setup_pcm_multichan() argument
30 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_pcm_multichan()
53 dev_dbg(dai->dev, in setup_pcm_multichan()
62 static void setup_frameper(struct snd_soc_dai *dai, in setup_frameper() argument
65 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_frameper()
70 dev_dbg(dai->dev, "%s: Clocks per frame: %u\n", in setup_frameper()
75 static int setup_pcm_framing(struct snd_soc_dai *dai, in setup_pcm_framing() argument
78 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_pcm_framing()
101 dev_err(dai in setup_pcm_framing()
122 setup_clocking(struct snd_soc_dai * dai,unsigned int fmt,struct ux500_msp_config * msp_config) setup_clocking() argument
189 setup_pcm_protdesc(struct snd_soc_dai * dai,unsigned int fmt,struct msp_protdesc * prot_desc) setup_pcm_protdesc() argument
263 setup_msp_config(struct snd_pcm_substream * substream,struct snd_soc_dai * dai,struct ux500_msp_config * msp_config) setup_msp_config() argument
345 ux500_msp_dai_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) ux500_msp_dai_startup() argument
386 ux500_msp_dai_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) ux500_msp_dai_shutdown() argument
421 ux500_msp_dai_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) ux500_msp_dai_prepare() argument
455 ux500_msp_dai_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params,struct snd_soc_dai * dai) ux500_msp_dai_hw_params() argument
492 ux500_msp_dai_set_dai_fmt(struct snd_soc_dai * dai,unsigned int fmt) ux500_msp_dai_set_dai_fmt() argument
534 ux500_msp_dai_set_tdm_slot(struct snd_soc_dai * dai,unsigned int tx_mask,unsigned int rx_mask,int slots,int slot_width) ux500_msp_dai_set_tdm_slot() argument
581 ux500_msp_dai_set_dai_sysclk(struct snd_soc_dai * dai,int clk_id,unsigned int freq,int dir) ux500_msp_dai_set_dai_sysclk() argument
604 ux500_msp_dai_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) ux500_msp_dai_trigger() argument
618 ux500_msp_dai_of_probe(struct snd_soc_dai * dai) ux500_msp_dai_of_probe() argument
[all...]
/linux/sound/soc/intel/avs/
H A Dpcm.c46 avs_dai_find_path_template(struct snd_soc_dai *dai, bool is_fe, int direction) in avs_dai_find_path_template() argument
48 struct snd_soc_dapm_widget *dw = snd_soc_dai_get_widget(dai, direction); in avs_dai_find_path_template()
78 struct snd_soc_dai *dai = snd_soc_rtd_to_cpu(rtd, 0); in avs_period_elapsed() local
79 struct avs_dma_data *data = snd_soc_dai_get_dma_data(dai, substream); in avs_period_elapsed()
85 static int avs_hw_constraints_init(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_hw_constraints_init() argument
96 data = snd_soc_dai_get_dma_data(dai, substream); in avs_hw_constraints_init()
120 static int avs_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_dai_startup() argument
123 struct avs_dev *adev = to_avs_dev(dai->component->dev); in avs_dai_startup()
127 template = avs_dai_find_path_template(dai, !rtd->dai_link->no_pcm, substream->stream); in avs_dai_startup()
129 dev_err(dai in avs_dai_startup()
150 avs_dai_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_shutdown() argument
170 avs_dai_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * fe_hw_params,struct snd_pcm_hw_params * be_hw_params,struct snd_soc_dai * dai,int dma_id) avs_dai_hw_params() argument
203 avs_dai_be_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * be_hw_params,struct snd_soc_dai * dai,int dma_id) avs_dai_be_hw_params() argument
220 avs_dai_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_prepare() argument
242 avs_dai_nonhda_be_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * hw_params,struct snd_soc_dai * dai) avs_dai_nonhda_be_hw_params() argument
254 avs_dai_nonhda_be_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_nonhda_be_hw_free() argument
270 avs_dai_nonhda_be_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) avs_dai_nonhda_be_trigger() argument
328 __avs_dai_hda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai,struct hdac_ext_link * link) __avs_dai_hda_be_startup() argument
352 avs_dai_hda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_startup() argument
375 avs_dai_i2shda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_i2shda_be_startup() argument
386 avs_dai_dmichda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_dmichda_be_startup() argument
397 avs_dai_hda_be_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_shutdown() argument
406 avs_dai_althda_be_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_althda_be_shutdown() argument
415 avs_dai_hda_be_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * hw_params,struct snd_soc_dai * dai) avs_dai_hda_be_hw_params() argument
427 avs_dai_hda_be_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_hw_free() argument
449 avs_dai_hda_be_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_prepare() argument
489 avs_dai_hda_be_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) avs_dai_hda_be_trigger() argument
616 avs_dai_fe_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_startup() argument
649 avs_dai_fe_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_shutdown() argument
661 avs_dai_fe_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * hw_params,struct snd_soc_dai * dai) avs_dai_fe_hw_params() argument
708 __avs_dai_fe_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) __avs_dai_fe_hw_free() argument
735 avs_dai_fe_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_hw_free() argument
745 avs_dai_fe_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_prepare() argument
862 avs_dai_fe_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) avs_dai_fe_trigger() argument
1092 avs_dai_resume_hw_params(struct snd_soc_dai * dai,struct avs_dma_data * data) avs_dai_resume_hw_params() argument
1108 avs_dai_resume_fe_prepare(struct snd_soc_dai * dai,struct avs_dma_data * data) avs_dai_resume_fe_prepare() argument
1140 avs_dai_resume_be_prepare(struct snd_soc_dai * dai,struct avs_dma_data * data) avs_dai_resume_be_prepare() argument
1151 avs_dai_suspend_fe_hw_free(struct snd_soc_dai * dai,struct avs_dma_data * data) avs_dai_suspend_fe_hw_free() argument
1172 avs_dai_suspend_be_hw_free(struct snd_soc_dai * dai,struct avs_dma_data * data) avs_dai_suspend_be_hw_free() argument
1188 struct snd_soc_dai *dai; avs_component_pm_op() local
1361 struct snd_soc_dai *dai = snd_soc_rtd_to_cpu(rtd, 0); avs_component_new() local
1490 struct snd_soc_dai_driver *cpus, *dai; avs_register_i2s_component() local
1585 struct snd_soc_dai *dai, *save; avs_component_hda_unregister_dais() local
1640 struct snd_soc_dai *dai; avs_component_hda_probe() local
[all...]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-modem-qdsp6.dtsi6 * but boards can define additional codecs by adding additional backend DAI links.
49 dai@16 {
53 dai@20 {
60 dai@0 {
64 dai@1 {
68 dai@2 {
72 dai@3 {
75 is-compress-dai;
89 frontend0-dai-link {
93 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
[all …]
H A Dsc7280-herobrine-audio-wcd9385.dtsi38 dai-link@0 {
43 sound-dai = <&lpass_cpu MI2S_SECONDARY>;
47 sound-dai = <&max98360a>;
51 dai-link@1 {
56 sound-dai = <&lpass_cpu LPASS_DP_RX>;
60 sound-dai = <&mdss_dp>;
64 dai-link@2 {
69 sound-dai = <&lpass_cpu LPASS_CDC_DMA_RX0>;
73 sound-dai = <&wcd9385 0>, <&swr0 0>, <&lpass_rx_macro 0>;
77 dai-link@3 {
[all …]
/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-dai-dmic.c3 * MediaTek 8365 ALSA SoC Audio DAI DMIC Control
50 /* DAI Drivers */
70 struct snd_soc_dai *dai) in mt8365_dai_enable_dmic() argument
90 struct snd_soc_dai *dai) in mt8365_dai_disable_dmic() argument
113 struct snd_soc_dai *dai) in mt8365_dai_configure_dmic() argument
121 unsigned int rate = dai->symmetric_rate; in mt8365_dai_configure_dmic()
122 int reg = get_chan_reg(dai->symmetric_channels); in mt8365_dai_configure_dmic()
127 dmic_data->dmic_channel = dai->symmetric_channels; in mt8365_dai_configure_dmic()
163 struct snd_soc_dai *dai) in mt8365_dai_dmic_startup() argument
165 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_dmic_startup()
180 mt8365_dai_dmic_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) mt8365_dai_dmic_shutdown() argument
197 mt8365_dai_dmic_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) mt8365_dai_dmic_prepare() argument
294 struct mtk_base_afe_dai *dai; mt8365_dai_dmic_register() local
[all...]
/linux/sound/soc/meson/
H A Daiu-fifo.c11 #include <sound/soc-dai.h>
36 struct snd_soc_dai *dai = aiu_fifo_dai(substream); in aiu_fifo_pointer() local
37 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_pointer()
46 static void aiu_fifo_enable(struct snd_soc_dai *dai, bool enable) in aiu_fifo_enable() argument
48 struct snd_soc_component *component = dai->component; in aiu_fifo_enable()
49 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_enable()
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
[all …]
H A Dmeson-codec-glue.c9 #include <sound/soc-dai.h>
39 static void meson_codec_glue_input_set_data(struct snd_soc_dai *dai, in meson_codec_glue_input_set_data() argument
42 snd_soc_dai_dma_data_set_playback(dai, data); 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() argument
48 return snd_soc_dai_dma_data_get_playback(dai); 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()
86 meson_codec_glue_input_set_fmt(struct snd_soc_dai * dai,unsigned int fmt) meson_codec_glue_input_set_fmt() argument
99 meson_codec_glue_output_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) meson_codec_glue_output_startup() argument
121 meson_codec_glue_input_dai_probe(struct snd_soc_dai * dai) meson_codec_glue_input_dai_probe() argument
134 meson_codec_glue_input_dai_remove(struct snd_soc_dai * dai) meson_codec_glue_input_dai_remove() argument
[all...]
/linux/sound/soc/mediatek/common/
H A Dmtk-afe-platform-driver.c18 struct mtk_base_afe_dai *dai; in mtk_afe_combine_sub_dai() local
21 /* calcualte total dai driver size */ in mtk_afe_combine_sub_dai()
22 list_for_each_entry(dai, &afe->sub_dais, list) { in mtk_afe_combine_sub_dai()
23 num_dai_drivers += dai->num_dai_drivers; in mtk_afe_combine_sub_dai()
26 dev_info(afe->dev, "%s(), num of dai %zd\n", __func__, num_dai_drivers); in mtk_afe_combine_sub_dai()
36 list_for_each_entry(dai, &afe->sub_dais, list) { in mtk_afe_combine_sub_dai()
37 /* dai driver */ in mtk_afe_combine_sub_dai()
39 dai->dai_drivers, in mtk_afe_combine_sub_dai()
40 dai->num_dai_drivers * in mtk_afe_combine_sub_dai()
42 dai_idx += dai in mtk_afe_combine_sub_dai()
52 struct mtk_base_afe_dai *dai; mtk_afe_add_sub_dai_control() local
[all...]
/linux/sound/soc/fsl/
H A Dimx-audmix.c27 struct snd_soc_dai_link *dai; member
62 /* set DAI configuration */ in imx_audmix_fe_hw_params()
65 dev_err(dev, "failed to set cpu dai fmt: %d\n", ret); in imx_audmix_fe_hw_params()
82 dev_err(dev, "failed to set cpu dai tdm slot: %d\n", ret); in imx_audmix_fe_hw_params()
102 /* set AUDMIX DAI configuration */ in imx_audmix_be_hw_params()
105 dev_err(dev, "failed to set AUDMIX DAI fmt: %d\n", ret); in imx_audmix_be_hw_params()
171 priv->dai = devm_kzalloc_objs(&pdev->dev, struct snd_soc_dai_link, in imx_audmix_probe()
173 if (!priv->dai) in imx_audmix_probe()
221 dev_info(pdev->dev.parent, "DAI FE name:%s\n", dai_name); in imx_audmix_probe()
230 priv->dai[ in imx_audmix_probe()
[all...]
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-hw-gain.c3 // MediaTek ALSA SoC Audio DAI HW Gain Control
15 /* dai component */
124 /* dai ops */
127 struct snd_soc_dai *dai) in mtk_dai_gain_hw_params() argument
129 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_gain_hw_params()
131 unsigned int rate_reg = mt8186_rate_transform(afe->dev, rate, dai->id); in mtk_dai_gain_hw_params()
134 __func__, dai->id, substream->stream, rate); in mtk_dai_gain_hw_params()
138 dai->id == MT8186_DAI_HW_GAIN_1 ? in mtk_dai_gain_hw_params()
145 dai->id == MT8186_DAI_HW_GAIN_1 ? in mtk_dai_gain_hw_params()
148 (dai in mtk_dai_gain_hw_params()
218 struct mtk_base_afe_dai *dai; mt8186_dai_hw_gain_register() local
[all...]
/linux/sound/soc/mediatek/mt6797/
H A Dmt6797-dai-hostless.c3 // MediaTek ALSA SoC Audio DAI Hostless Control
10 /* dai component */
36 /* dai ops */
38 struct snd_soc_dai *dai) in mtk_dai_hostless_startup() argument
40 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_hostless_startup()
49 /* dai driver */
62 .name = "Hostless LPBK DAI",
81 .name = "Hostless Speech DAI",
103 struct mtk_base_afe_dai *dai; in mt6797_dai_hostless_register() local
105 dai in mt6797_dai_hostless_register()
[all...]
/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-hostless.c3 // MediaTek ALSA SoC Audio DAI Hostless Control
10 /* dai component */
36 /* dai ops */
38 struct snd_soc_dai *dai) in mtk_dai_hostless_startup() argument
40 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_hostless_startup()
49 /* dai driver */
62 .name = "Hostless LPBK DAI",
81 .name = "Hostless Speech DAI",
103 struct mtk_base_afe_dai *dai; in mt8183_dai_hostless_register() local
105 dai in mt8183_dai_hostless_register()
[all...]

12345678910>>...46