/sound/soc/kirkwood/ |
D | armada-370-db.c | 111 a370db_dai[0].cpus->of_node = in a370db_probe() 112 of_parse_phandle(pdev->dev.of_node, in a370db_probe() 114 a370db_dai[0].platforms->of_node = a370db_dai[0].cpus->of_node; in a370db_probe() 116 a370db_dai[0].codecs->of_node = in a370db_probe() 117 of_parse_phandle(pdev->dev.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() 123 a370db_dai[1].codecs->of_node = in a370db_probe() 124 of_parse_phandle(pdev->dev.of_node, in a370db_probe() 127 a370db_dai[2].cpus->of_node = a370db_dai[0].cpus->of_node; in a370db_probe() [all …]
|
/sound/soc/tegra/ |
D | tegra_sgtl5000.c | 111 struct device_node *np = pdev->dev.of_node; in tegra_sgtl5000_driver_probe() 132 tegra_sgtl5000_dai.codecs->of_node = of_parse_phandle(np, in tegra_sgtl5000_driver_probe() 134 if (!tegra_sgtl5000_dai.codecs->of_node) { in tegra_sgtl5000_driver_probe() 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() 168 of_node_put(tegra_sgtl5000_dai.cpus->of_node); in tegra_sgtl5000_driver_probe() 169 tegra_sgtl5000_dai.cpus->of_node = NULL; in tegra_sgtl5000_driver_probe() 170 tegra_sgtl5000_dai.platforms->of_node = NULL; in tegra_sgtl5000_driver_probe() 172 of_node_put(tegra_sgtl5000_dai.codecs->of_node); in tegra_sgtl5000_driver_probe() [all …]
|
D | tegra_alc5632.c | 155 struct device_node *np = pdev->dev.of_node; in tegra_alc5632_probe() 180 tegra_alc5632_dai.codecs->of_node = of_parse_phandle( in tegra_alc5632_probe() 181 pdev->dev.of_node, "nvidia,audio-codec", 0); in tegra_alc5632_probe() 183 if (!tegra_alc5632_dai.codecs->of_node) { in tegra_alc5632_probe() 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() 217 of_node_put(tegra_alc5632_dai.cpus->of_node); in tegra_alc5632_probe() 218 tegra_alc5632_dai.cpus->of_node = NULL; in tegra_alc5632_probe() 219 tegra_alc5632_dai.platforms->of_node = NULL; in tegra_alc5632_probe() [all …]
|
D | tegra_rt5677.c | 191 struct device_node *np = pdev->dev.of_node; in tegra_rt5677_probe() 247 tegra_rt5677_dai.codecs->of_node = of_parse_phandle(np, in tegra_rt5677_probe() 249 if (!tegra_rt5677_dai.codecs->of_node) { in tegra_rt5677_probe() 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() 282 of_node_put(tegra_rt5677_dai.cpus->of_node); in tegra_rt5677_probe() 283 tegra_rt5677_dai.cpus->of_node = NULL; in tegra_rt5677_probe() 284 tegra_rt5677_dai.platforms->of_node = NULL; in tegra_rt5677_probe() 286 of_node_put(tegra_rt5677_dai.codecs->of_node); in tegra_rt5677_probe() [all …]
|
D | trimslice.c | 111 struct device_node *np = pdev->dev.of_node; in tegra_snd_trimslice_probe() 124 trimslice_tlv320aic23_dai.codecs->of_node = of_parse_phandle(np, in tegra_snd_trimslice_probe() 126 if (!trimslice_tlv320aic23_dai.codecs->of_node) { in tegra_snd_trimslice_probe() 133 trimslice_tlv320aic23_dai.cpus->of_node = of_parse_phandle(np, in tegra_snd_trimslice_probe() 135 if (!trimslice_tlv320aic23_dai.cpus->of_node) { in tegra_snd_trimslice_probe() 142 trimslice_tlv320aic23_dai.platforms->of_node = in tegra_snd_trimslice_probe() 143 trimslice_tlv320aic23_dai.cpus->of_node; in tegra_snd_trimslice_probe()
|
D | tegra_wm8753.c | 116 struct device_node *np = pdev->dev.of_node; in tegra_wm8753_driver_probe() 137 tegra_wm8753_dai.codecs->of_node = of_parse_phandle(np, in tegra_wm8753_driver_probe() 139 if (!tegra_wm8753_dai.codecs->of_node) { in tegra_wm8753_driver_probe() 146 tegra_wm8753_dai.cpus->of_node = of_parse_phandle(np, in tegra_wm8753_driver_probe() 148 if (!tegra_wm8753_dai.cpus->of_node) { in tegra_wm8753_driver_probe() 155 tegra_wm8753_dai.platforms->of_node = tegra_wm8753_dai.cpus->of_node; in tegra_wm8753_driver_probe()
|
D | tegra_rt5640.c | 148 struct device_node *np = pdev->dev.of_node; in tegra_rt5640_probe() 174 tegra_rt5640_dai.codecs->of_node = of_parse_phandle(np, in tegra_rt5640_probe() 176 if (!tegra_rt5640_dai.codecs->of_node) { in tegra_rt5640_probe() 183 tegra_rt5640_dai.cpus->of_node = of_parse_phandle(np, in tegra_rt5640_probe() 185 if (!tegra_rt5640_dai.cpus->of_node) { in tegra_rt5640_probe() 192 tegra_rt5640_dai.platforms->of_node = tegra_rt5640_dai.cpus->of_node; in tegra_rt5640_probe()
|
D | tegra_max98090.c | 198 struct device_node *np = pdev->dev.of_node; in tegra_max98090_probe() 228 tegra_max98090_dai.codecs->of_node = of_parse_phandle(np, in tegra_max98090_probe() 230 if (!tegra_max98090_dai.codecs->of_node) { in tegra_max98090_probe() 237 tegra_max98090_dai.cpus->of_node = of_parse_phandle(np, in tegra_max98090_probe() 239 if (!tegra_max98090_dai.cpus->of_node) { in tegra_max98090_probe() 246 tegra_max98090_dai.platforms->of_node = tegra_max98090_dai.cpus->of_node; in tegra_max98090_probe()
|
D | tegra_wm9712.c | 69 struct device_node *np = pdev->dev.of_node; in tegra_wm9712_driver_probe() 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()
|
/sound/soc/samsung/ |
D | snow.c | 161 cpu = of_get_child_by_name(dev->of_node, "cpu"); 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() 174 codec = of_get_child_by_name(dev->of_node, "codec"); 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() 201 link->codecs->of_node = of_parse_phandle(dev->of_node, in snow_probe() [all …]
|
D | arndale_rt5631.c | 84 of_node_put(dai_link->cpus->of_node); in arndale_put_of_nodes() 85 of_node_put(dai_link->codecs->of_node); in arndale_put_of_nodes() 92 struct device_node *np = pdev->dev.of_node; in arndale_audio_probe() 99 arndale_rt5631_dai[n].cpus->of_node = of_parse_phandle(np, in arndale_audio_probe() 102 if (!arndale_rt5631_dai[n].cpus->of_node) { in arndale_audio_probe() 109 arndale_rt5631_dai[n].platforms->of_node = in arndale_audio_probe() 110 arndale_rt5631_dai[n].cpus->of_node; in arndale_audio_probe() 113 arndale_rt5631_dai[n].codecs->of_node = of_parse_phandle(np, in arndale_audio_probe() 115 if (!arndale_rt5631_dai[0].codecs->of_node) { in arndale_audio_probe()
|
/sound/soc/rockchip/ |
D | rockchip_rt5645.c | 159 struct device_node *np = pdev->dev.of_node; in snd_rk_mc_probe() 164 rk_dailink.codecs->of_node = of_parse_phandle(np, in snd_rk_mc_probe() 166 if (!rk_dailink.codecs->of_node) { in snd_rk_mc_probe() 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() 203 of_node_put(rk_dailink.codecs->of_node); in snd_rk_mc_probe() 204 rk_dailink.codecs->of_node = NULL; in snd_rk_mc_probe() [all …]
|
D | rockchip_max98090.c | 220 struct device_node *np = pdev->dev.of_node; in snd_rk_mc_probe() 225 rk_dailink.codecs->of_node = of_parse_phandle(np, in snd_rk_mc_probe() 227 if (!rk_dailink.codecs->of_node) { in snd_rk_mc_probe() 233 rk_dailink.cpus->of_node = of_parse_phandle(np, in snd_rk_mc_probe() 235 if (!rk_dailink.cpus->of_node) { in snd_rk_mc_probe() 241 rk_dailink.platforms->of_node = rk_dailink.cpus->of_node; in snd_rk_mc_probe() 243 rk_98090_headset_dev.dlc.of_node = of_parse_phandle(np, in snd_rk_mc_probe() 245 if (!rk_98090_headset_dev.dlc.of_node) { in snd_rk_mc_probe()
|
D | rk3288_hdmi_analog.c | 174 struct device_node *np = pdev->dev.of_node; in snd_rk_mc_probe() 210 rk_dailink.codecs[0].of_node = of_parse_phandle(np, in snd_rk_mc_probe() 213 if (!rk_dailink.codecs[0].of_node) { in snd_rk_mc_probe() 232 rk_dailink.cpus->of_node = of_parse_phandle(np, "rockchip,i2s-controller", in snd_rk_mc_probe() 234 if (!rk_dailink.cpus->of_node) { in snd_rk_mc_probe() 240 rk_dailink.platforms->of_node = rk_dailink.cpus->of_node; in snd_rk_mc_probe()
|
/sound/soc/mediatek/mt8173/ |
D | mt8173-rt5650-rt5676.c | 241 platform_node = of_parse_phandle(pdev->dev.of_node, in mt8173_rt5650_rt5676_dev_probe() 251 dai_link->platforms->of_node = platform_node; in mt8173_rt5650_rt5676_dev_probe() 254 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node = in mt8173_rt5650_rt5676_dev_probe() 255 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0); in mt8173_rt5650_rt5676_dev_probe() 256 if (!mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node) { in mt8173_rt5650_rt5676_dev_probe() 262 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node = in mt8173_rt5650_rt5676_dev_probe() 263 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 1); in mt8173_rt5650_rt5676_dev_probe() 264 if (!mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node) { in mt8173_rt5650_rt5676_dev_probe() 270 mt8173_rt5650_rt5676_codec_conf[0].of_node = in mt8173_rt5650_rt5676_dev_probe() 271 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node; in mt8173_rt5650_rt5676_dev_probe() [all …]
|
D | mt8173-rt5650-rt5514.c | 185 platform_node = of_parse_phandle(pdev->dev.of_node, in mt8173_rt5650_rt5514_dev_probe() 195 dai_link->platforms->of_node = platform_node; in mt8173_rt5650_rt5514_dev_probe() 198 mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node = in mt8173_rt5650_rt5514_dev_probe() 199 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0); in mt8173_rt5650_rt5514_dev_probe() 200 if (!mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node) { in mt8173_rt5650_rt5514_dev_probe() 206 mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node = in mt8173_rt5650_rt5514_dev_probe() 207 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 1); in mt8173_rt5650_rt5514_dev_probe() 208 if (!mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node) { in mt8173_rt5650_rt5514_dev_probe() 214 mt8173_rt5650_rt5514_codec_conf[0].of_node = in mt8173_rt5650_rt5514_dev_probe() 215 mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node; in mt8173_rt5650_rt5514_dev_probe()
|
D | mt8173-rt5650.c | 251 platform_node = of_parse_phandle(pdev->dev.of_node, in mt8173_rt5650_dev_probe() 261 dai_link->platforms->of_node = platform_node; in mt8173_rt5650_dev_probe() 264 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node = in mt8173_rt5650_dev_probe() 265 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0); in mt8173_rt5650_dev_probe() 266 if (!mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node) { in mt8173_rt5650_dev_probe() 272 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node = in mt8173_rt5650_dev_probe() 273 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node; in mt8173_rt5650_dev_probe() 275 np = of_get_child_by_name(pdev->dev.of_node, "codec-capture"); in mt8173_rt5650_dev_probe() 300 mt8173_rt5650_dais[DAI_LINK_HDMI_I2S].codecs->of_node = in mt8173_rt5650_dev_probe() 301 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 1); in mt8173_rt5650_dev_probe() [all …]
|
/sound/soc/sirf/ |
D | sirf-audio.c | 99 sirf_audio_dai_link[0].cpus->of_node = in sirf_audio_probe() 100 of_parse_phandle(pdev->dev.of_node, "sirf,audio-platform", 0); in sirf_audio_probe() 101 sirf_audio_dai_link[0].platforms->of_node = in sirf_audio_probe() 102 of_parse_phandle(pdev->dev.of_node, "sirf,audio-platform", 0); in sirf_audio_probe() 103 sirf_audio_dai_link[0].codecs->of_node = in sirf_audio_probe() 104 of_parse_phandle(pdev->dev.of_node, "sirf,audio-codec", 0); in sirf_audio_probe() 105 sirf_audio_card->gpio_spk_pa = of_get_named_gpio(pdev->dev.of_node, in sirf_audio_probe() 107 sirf_audio_card->gpio_hp_pa = of_get_named_gpio(pdev->dev.of_node, in sirf_audio_probe()
|
/sound/soc/qcom/ |
D | storm.c | 71 struct device_node *np = card->dev->of_node; in storm_parse_of() 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() 80 dai_link->codecs->of_node = of_parse_phandle(np, "codec", 0); in storm_parse_of() 81 if (!dai_link->codecs->of_node) { in storm_parse_of()
|
D | common.c | 28 if (of_property_read_bool(dev->of_node, "audio-routing")) { in qcom_snd_parse_of() 36 num_links = of_get_child_count(dev->of_node); in qcom_snd_parse_of() 46 for_each_child_of_node(dev->of_node, np) { in qcom_snd_parse_of() 81 link->cpus->of_node = args.np; in qcom_snd_parse_of() 91 link->platforms->of_node = of_parse_phandle(platform, in qcom_snd_parse_of() 94 if (!link->platforms->of_node) { in qcom_snd_parse_of() 124 link->platforms->of_node = link->cpus->of_node; in qcom_snd_parse_of()
|
/sound/soc/meson/ |
D | axg-card.c | 120 of_node_put(link->cpus->of_node); in axg_card_clean_references() 122 of_node_put(codec->of_node); in axg_card_clean_references() 128 of_node_put(aux->dlc.of_node); in axg_card_clean_references() 137 struct device_node *node = card->dev->of_node; in axg_card_add_aux_devices() 162 aux->dlc.of_node = in axg_card_add_aux_devices() 164 if (!aux->dlc.of_node) in axg_card_add_aux_devices() 283 lb->cpus->of_node = pad->cpus->of_node; in axg_card_add_tdm_loopback() 299 of_node_get(lb->cpus->of_node); in axg_card_add_tdm_loopback() 441 link->dai_fmt = axg_card_parse_daifmt(node, link->cpus->of_node); in axg_card_parse_tdm() 492 ret = axg_card_parse_dai(card, np, &codec->of_node, in axg_card_set_be_link() [all …]
|
/sound/soc/ux500/ |
D | mop500.c | 67 of_node_put(mop500_dai_links[i].cpus->of_node); in mop500_of_node_put() 70 of_node_put(mop500_dai_links[0].codecs->of_node); in mop500_of_node_put() 92 mop500_dai_links[i].cpus->of_node = msp_np[i]; in mop500_of_probe() 94 mop500_dai_links[i].platforms->of_node = msp_np[i]; in mop500_of_probe() 96 mop500_dai_links[i].codecs->of_node = codec_np; in mop500_of_probe() 107 struct device_node *np = pdev->dev.of_node; in mop500_probe()
|
/sound/soc/atmel/ |
D | atmel_wm8904.c | 86 struct device_node *np = pdev->dev.of_node; in atmel_asoc_wm8904_dt_init() 115 dailink->cpus->of_node = cpu_np; in atmel_asoc_wm8904_dt_init() 116 dailink->platforms->of_node = cpu_np; in atmel_asoc_wm8904_dt_init() 125 dailink->codecs->of_node = codec_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()
|
/sound/soc/fsl/ |
D | imx-es8328.c | 73 struct device_node *np = pdev->dev.of_node; in imx_es8328_probe() 131 ssi_np = of_parse_phandle(pdev->dev.of_node, "ssi-controller", 0); in imx_es8328_probe() 132 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_es8328_probe() 160 data->jack_gpio = of_get_named_gpio(pdev->dev.of_node, "jack-gpio", 0); in imx_es8328_probe() 173 data->dai.codecs->of_node = codec_np; in imx_es8328_probe() 174 data->dai.cpus->of_node = ssi_np; in imx_es8328_probe() 175 data->dai.platforms->of_node = ssi_np; in imx_es8328_probe()
|
/sound/aoa/soundbus/ |
D | sysfs.c | 21 of->dev.of_node, 'T', in modalias_show() 22 of_node_get_device_type(of->dev.of_node)); in modalias_show() 35 return sprintf(buf, "%pOFn\n", of->dev.of_node); in name_show() 45 return sprintf(buf, "%s\n", of_node_get_device_type(of->dev.of_node)); in type_show()
|