/sound/soc/intel/boards/ |
D | sof_pcm512x.c | 225 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 …]
|
D | sof_rt5682.c | 549 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 …]
|
D | sof_sdw.c | 523 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/ |
D | snow.c | 149 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 …]
|
D | smdk_wm8994.c | 160 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()
|
D | arndale.c | 141 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/ |
D | armada-370-db.c | 111 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/ |
D | gx-card.c | 60 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()
|
D | axg-card.c | 127 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/ |
D | tegra_sgtl5000.c | 141 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()
|
D | tegra_alc5632.c | 190 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()
|
D | tegra_rt5677.c | 256 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()
|
D | tegra_wm9712.c | 100 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()
|
D | trimslice.c | 132 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()
|
D | tegra_wm8753.c | 145 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()
|
D | tegra_rt5640.c | 182 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/ |
D | rockchip_rt5645.c | 172 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/ |
D | simple-card.c | 125 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()
|
D | audio-graph-card.c | 218 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/ |
D | common.c | 64 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()
|
D | storm.c | 73 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/ |
D | mop500.c | 67 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/ |
D | imx-audmix.c | 247 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/ |
D | omap-twl4030.c | 265 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/ |
D | atmel_wm8904.c | 115 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()
|