Home
last modified time | relevance | path

Searched refs:cpus (Results 1 – 25 of 71) sorted by relevance

123

/sound/soc/intel/boards/
Dsof_pcm512x.c225 struct snd_soc_dai_link_component *cpus; in sof_card_dai_links_create() local
231 cpus = devm_kcalloc(dev, sof_audio_card_pcm512x.num_links, in sof_card_dai_links_create()
233 if (!links || !cpus) in sof_card_dai_links_create()
257 links[id].cpus = &cpus[id]; in sof_card_dai_links_create()
260 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
263 if (!links[id].cpus->dai_name) in sof_card_dai_links_create()
266 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
269 if (!links[id].cpus->dai_name) in sof_card_dai_links_create()
278 links[id].cpus = &cpus[id]; in sof_card_dai_links_create()
279 links[id].cpus->dai_name = "DMIC01 Pin"; in sof_card_dai_links_create()
[all …]
Dsof_rt5682.c549 struct snd_soc_dai_link_component *cpus; in sof_card_dai_links_create() local
555 cpus = devm_kzalloc(dev, sizeof(struct snd_soc_dai_link_component) * in sof_card_dai_links_create()
557 if (!links || !cpus) in sof_card_dai_links_create()
578 links[id].cpus = &cpus[id]; in sof_card_dai_links_create()
581 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
584 if (!links[id].cpus->dai_name) in sof_card_dai_links_create()
597 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
600 if (!links[id].cpus->dai_name) in sof_card_dai_links_create()
609 links[id].cpus = &cpus[id]; in sof_card_dai_links_create()
610 links[id].cpus->dai_name = "DMIC01 Pin"; in sof_card_dai_links_create()
[all …]
Dsof_sdw.c523 struct snd_soc_dai_link_component *cpus, in init_dai_link() argument
536 dai_links->cpus = cpus; in init_dai_link()
759 struct snd_soc_dai_link_component *cpus, in create_sdw_dailink() argument
856 cpus[cpu_dai_index++].dai_name = cpu_name; in create_sdw_dailink()
873 cpus + *cpu_id, cpu_dai_num, in create_sdw_dailink()
955 struct snd_soc_dai_link_component *cpus; in sof_card_dai_links_create() local
1022 cpus = devm_kcalloc(dev, total_cpu_dai_num, sizeof(*cpus), in sof_card_dai_links_create()
1025 if (!links || !cpus) in sof_card_dai_links_create()
1061 sdw_cpu_dai_num, cpus, adr_link, in sof_card_dai_links_create()
1113 cpus[cpu_id].dai_name = cpu_name; in sof_card_dai_links_create()
[all …]
/sound/soc/samsung/
Dsnow.c149 link->cpus = links_cpus; in snow_probe()
166 link->cpus->of_node = of_parse_phandle(cpu, "sound-dai", 0); in snow_probe()
169 if (!link->cpus->of_node) { in snow_probe()
179 of_node_put(link->cpus->of_node); in snow_probe()
184 priv->clk_i2s_bus = of_clk_get_by_name(link->cpus->of_node, in snow_probe()
188 of_node_put(link->cpus->of_node); in snow_probe()
194 link->cpus->of_node = of_parse_phandle(dev->of_node, in snow_probe()
196 if (!link->cpus->of_node) { in snow_probe()
204 of_node_put(link->cpus->of_node); in snow_probe()
210 link->platforms->of_node = link->cpus->of_node; in snow_probe()
[all …]
Dsmdk_wm8994.c160 smdk_dai[0].cpus->dai_name = NULL; in smdk_audio_probe()
161 smdk_dai[0].cpus->of_node = of_parse_phandle(np, in smdk_audio_probe()
163 if (!smdk_dai[0].cpus->of_node) { in smdk_audio_probe()
170 smdk_dai[0].platforms->of_node = smdk_dai[0].cpus->of_node; in smdk_audio_probe()
Darndale.c141 of_node_put(dai_link->cpus->of_node); in arndale_put_of_nodes()
157 dai_link->cpus->of_node = of_parse_phandle(np, "samsung,audio-cpu", 0); in arndale_audio_probe()
158 if (!dai_link->cpus->of_node) { in arndale_audio_probe()
165 dai_link->platforms->of_node = dai_link->cpus->of_node; in arndale_audio_probe()
/sound/soc/kirkwood/
Darmada-370-db.c111 a370db_dai[0].cpus->of_node = in a370db_probe()
114 a370db_dai[0].platforms->of_node = a370db_dai[0].cpus->of_node; in a370db_probe()
120 a370db_dai[1].cpus->of_node = a370db_dai[0].cpus->of_node; in a370db_probe()
121 a370db_dai[1].platforms->of_node = a370db_dai[0].cpus->of_node; in a370db_probe()
127 a370db_dai[2].cpus->of_node = a370db_dai[0].cpus->of_node; in a370db_probe()
128 a370db_dai[2].platforms->of_node = a370db_dai[0].cpus->of_node; in a370db_probe()
/sound/soc/meson/
Dgx-card.c60 link->dai_fmt = meson_card_parse_daifmt(node, link->cpus->of_node); in gx_card_parse_i2s()
90 dai_link->cpus = cpu; in gx_card_add_link()
93 ret = meson_card_parse_dai(card, np, &dai_link->cpus->of_node, in gx_card_add_link()
94 &dai_link->cpus->dai_name); in gx_card_add_link()
98 if (gx_card_cpu_identify(dai_link->cpus, "FIFO")) in gx_card_add_link()
106 if (gx_card_cpu_identify(dai_link->cpus, "CODEC CTRL")) { in gx_card_add_link()
112 if (gx_card_cpu_identify(dai_link->cpus, "I2S Encoder")) in gx_card_add_link()
Daxg-card.c127 lb->cpus = &dlc[0]; in axg_card_add_tdm_loopback()
133 lb->cpus->of_node = pad->cpus->of_node; in axg_card_add_tdm_loopback()
134 lb->cpus->dai_name = "TDM Loopback"; in axg_card_add_tdm_loopback()
149 of_node_get(lb->cpus->of_node); in axg_card_add_tdm_loopback()
265 link->dai_fmt = meson_card_parse_daifmt(node, link->cpus->of_node); in axg_card_parse_tdm()
321 dai_link->cpus = cpu; in axg_card_add_link()
324 ret = meson_card_parse_dai(card, np, &dai_link->cpus->of_node, in axg_card_add_link()
325 &dai_link->cpus->dai_name); in axg_card_add_link()
329 if (axg_card_cpu_is_playback_fe(dai_link->cpus->of_node)) in axg_card_add_link()
331 else if (axg_card_cpu_is_capture_fe(dai_link->cpus->of_node)) in axg_card_add_link()
[all …]
/sound/soc/tegra/
Dtegra_sgtl5000.c141 tegra_sgtl5000_dai.cpus->of_node = of_parse_phandle(np, in tegra_sgtl5000_driver_probe()
143 if (!tegra_sgtl5000_dai.cpus->of_node) { in tegra_sgtl5000_driver_probe()
150 tegra_sgtl5000_dai.platforms->of_node = tegra_sgtl5000_dai.cpus->of_node; in tegra_sgtl5000_driver_probe()
166 of_node_put(tegra_sgtl5000_dai.cpus->of_node); in tegra_sgtl5000_driver_probe()
167 tegra_sgtl5000_dai.cpus->of_node = NULL; in tegra_sgtl5000_driver_probe()
183 of_node_put(tegra_sgtl5000_dai.cpus->of_node); in tegra_sgtl5000_driver_remove()
184 tegra_sgtl5000_dai.cpus->of_node = NULL; in tegra_sgtl5000_driver_remove()
Dtegra_alc5632.c190 tegra_alc5632_dai.cpus->of_node = of_parse_phandle(np, in tegra_alc5632_probe()
192 if (!tegra_alc5632_dai.cpus->of_node) { in tegra_alc5632_probe()
199 tegra_alc5632_dai.platforms->of_node = tegra_alc5632_dai.cpus->of_node; in tegra_alc5632_probe()
215 of_node_put(tegra_alc5632_dai.cpus->of_node); in tegra_alc5632_probe()
216 tegra_alc5632_dai.cpus->of_node = NULL; in tegra_alc5632_probe()
231 of_node_put(tegra_alc5632_dai.cpus->of_node); in tegra_alc5632_remove()
232 tegra_alc5632_dai.cpus->of_node = NULL; in tegra_alc5632_remove()
Dtegra_rt5677.c256 tegra_rt5677_dai.cpus->of_node = of_parse_phandle(np, in tegra_rt5677_probe()
258 if (!tegra_rt5677_dai.cpus->of_node) { in tegra_rt5677_probe()
264 tegra_rt5677_dai.platforms->of_node = tegra_rt5677_dai.cpus->of_node; in tegra_rt5677_probe()
280 of_node_put(tegra_rt5677_dai.cpus->of_node); in tegra_rt5677_probe()
281 tegra_rt5677_dai.cpus->of_node = NULL; in tegra_rt5677_probe()
299 of_node_put(tegra_rt5677_dai.cpus->of_node); in tegra_rt5677_remove()
300 tegra_rt5677_dai.cpus->of_node = NULL; in tegra_rt5677_remove()
Dtegra_wm9712.c100 tegra_wm9712_dai.cpus->of_node = of_parse_phandle(np, in tegra_wm9712_driver_probe()
102 if (!tegra_wm9712_dai.cpus->of_node) { in tegra_wm9712_driver_probe()
109 tegra_wm9712_dai.platforms->of_node = tegra_wm9712_dai.cpus->of_node; in tegra_wm9712_driver_probe()
Dtrimslice.c132 trimslice_tlv320aic23_dai.cpus->of_node = of_parse_phandle(np, in tegra_snd_trimslice_probe()
134 if (!trimslice_tlv320aic23_dai.cpus->of_node) { in tegra_snd_trimslice_probe()
141 trimslice_tlv320aic23_dai.cpus->of_node; in tegra_snd_trimslice_probe()
Dtegra_wm8753.c145 tegra_wm8753_dai.cpus->of_node = of_parse_phandle(np, in tegra_wm8753_driver_probe()
147 if (!tegra_wm8753_dai.cpus->of_node) { in tegra_wm8753_driver_probe()
153 tegra_wm8753_dai.platforms->of_node = tegra_wm8753_dai.cpus->of_node; in tegra_wm8753_driver_probe()
Dtegra_rt5640.c182 tegra_rt5640_dai.cpus->of_node = of_parse_phandle(np, in tegra_rt5640_probe()
184 if (!tegra_rt5640_dai.cpus->of_node) { in tegra_rt5640_probe()
190 tegra_rt5640_dai.platforms->of_node = tegra_rt5640_dai.cpus->of_node; in tegra_rt5640_probe()
/sound/soc/rockchip/
Drockchip_rt5645.c172 rk_dailink.cpus->of_node = of_parse_phandle(np, in snd_rk_mc_probe()
174 if (!rk_dailink.cpus->of_node) { in snd_rk_mc_probe()
181 rk_dailink.platforms->of_node = rk_dailink.cpus->of_node; in snd_rk_mc_probe()
200 of_node_put(rk_dailink.cpus->of_node); in snd_rk_mc_probe()
201 rk_dailink.cpus->of_node = NULL; in snd_rk_mc_probe()
211 of_node_put(rk_dailink.cpus->of_node); in snd_rk_mc_remove()
212 rk_dailink.cpus->of_node = NULL; in snd_rk_mc_remove()
/sound/soc/generic/
Dsimple-card.c125 struct snd_soc_dai_link_component *cpus = dai_link->cpus; in simple_dai_link_of_dpcm() local
174 cpus->dai_name); in simple_dai_link_of_dpcm()
183 cpus->of_node = NULL; in simple_dai_link_of_dpcm()
184 cpus->dai_name = "snd-soc-dummy-dai"; in simple_dai_link_of_dpcm()
185 cpus->name = "snd-soc-dummy"; in simple_dai_link_of_dpcm()
327 dai_link->cpus->dai_name, in simple_dai_link_of()
629 struct snd_soc_dai_link_component *cpus; in asoc_simple_probe() local
657 cpus = dai_link->cpus; in asoc_simple_probe()
658 cpus->dai_name = cinfo->cpu_dai.name; in asoc_simple_probe()
Daudio-graph-card.c218 struct snd_soc_dai_link_component *cpus = dai_link->cpus; in graph_dai_link_of_dpcm() local
259 cpus->dai_name); in graph_dai_link_of_dpcm()
269 cpus->of_node = NULL; in graph_dai_link_of_dpcm()
270 cpus->dai_name = "snd-soc-dummy-dai"; in graph_dai_link_of_dpcm()
271 cpus->name = "snd-soc-dummy"; in graph_dai_link_of_dpcm()
395 dai_link->cpus->dai_name, in graph_dai_link_of()
/sound/soc/qcom/
Dcommon.c64 link->cpus = &dlc[0]; in qcom_snd_parse_of()
92 link->cpus->of_node = args.np; in qcom_snd_parse_of()
95 ret = snd_soc_of_get_dai_name(cpu, &link->cpus->dai_name); in qcom_snd_parse_of()
113 link->platforms->of_node = link->cpus->of_node; in qcom_snd_parse_of()
Dstorm.c73 dai_link->cpus->of_node = of_parse_phandle(np, "cpu", 0); in storm_parse_of()
74 if (!dai_link->cpus->of_node) { in storm_parse_of()
78 dai_link->platforms->of_node = dai_link->cpus->of_node; in storm_parse_of()
/sound/soc/ux500/
Dmop500.c67 of_node_put(mop500_dai_links[i].cpus->of_node); in mop500_of_node_put()
92 mop500_dai_links[i].cpus->of_node = msp_np[i]; in mop500_of_probe()
93 mop500_dai_links[i].cpus->dai_name = NULL; in mop500_of_probe()
/sound/soc/fsl/
Dimx-audmix.c247 priv->dai[i].cpus = &dlc[0]; in imx_audmix_probe()
259 priv->dai[i].cpus->of_node = args.np; in imx_audmix_probe()
260 priv->dai[i].cpus->dai_name = dev_name(&cpu_pdev->dev); in imx_audmix_probe()
278 priv->dai[num_dai + i].cpus = &dlc[3]; in imx_audmix_probe()
289 priv->dai[num_dai + i].cpus->of_node = audmix_np; in imx_audmix_probe()
290 priv->dai[num_dai + i].cpus->dai_name = be_name; in imx_audmix_probe()
/sound/soc/ti/
Domap-twl4030.c265 omap_twl4030_dai_links[0].cpus->dai_name = NULL; in omap_twl4030_probe()
266 omap_twl4030_dai_links[0].cpus->of_node = dai_node; in omap_twl4030_probe()
275 omap_twl4030_dai_links[1].cpus->dai_name = NULL; in omap_twl4030_probe()
276 omap_twl4030_dai_links[1].cpus->of_node = dai_node; in omap_twl4030_probe()
/sound/soc/atmel/
Datmel_wm8904.c115 dailink->cpus->of_node = cpu_np; in atmel_asoc_wm8904_dt_init()
144 id = of_alias_get_id((struct device_node *)dailink->cpus->of_node, "ssc"); in atmel_asoc_wm8904_probe()
170 id = of_alias_get_id((struct device_node *)dailink->cpus->of_node, "ssc"); in atmel_asoc_wm8904_remove()

123