Searched refs:cpu_np (Results 1 – 7 of 7) sorted by relevance
/sound/soc/atmel/ |
D | sam9x5_wm8731.c | 76 struct device_node *codec_np, *cpu_np; in sam9x5_wm8731_driver_probe() local 141 cpu_np = of_parse_phandle(np, "atmel,ssc-controller", 0); in sam9x5_wm8731_driver_probe() 142 if (!cpu_np) { in sam9x5_wm8731_driver_probe() 147 dai->cpus->of_node = cpu_np; in sam9x5_wm8731_driver_probe() 148 dai->platforms->of_node = cpu_np; in sam9x5_wm8731_driver_probe() 150 priv->ssc_id = of_alias_get_id(cpu_np, "ssc"); in sam9x5_wm8731_driver_probe() 172 of_node_put(cpu_np); in sam9x5_wm8731_driver_probe()
|
D | mikroe-proto.c | 68 struct device_node *codec_np, *cpu_np; in snd_proto_probe() local 115 cpu_np = of_parse_phandle(np, "i2s-controller", 0); in snd_proto_probe() 116 if (!cpu_np) { in snd_proto_probe() 121 dai->cpus->of_node = cpu_np; in snd_proto_probe() 122 dai->platforms->of_node = cpu_np; in snd_proto_probe() 152 of_node_put(cpu_np); in snd_proto_probe()
|
D | atmel_wm8904.c | 87 struct device_node *codec_np, *cpu_np; in atmel_asoc_wm8904_dt_init() local 109 cpu_np = of_parse_phandle(np, "atmel,ssc-controller", 0); in atmel_asoc_wm8904_dt_init() 110 if (!cpu_np) { 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() 117 of_node_put(cpu_np); in atmel_asoc_wm8904_dt_init()
|
D | sam9g20_wm8731.c | 150 struct device_node *codec_np, *cpu_np; in at91sam9g20ek_audio_probe() local 214 cpu_np = of_parse_phandle(np, "atmel,ssc-controller", 0); in at91sam9g20ek_audio_probe() 215 if (!cpu_np) { in at91sam9g20ek_audio_probe() 220 at91sam9g20ek_dai.cpus->of_node = cpu_np; in at91sam9g20ek_audio_probe() 221 at91sam9g20ek_dai.platforms->of_node = cpu_np; in at91sam9g20ek_audio_probe() 224 of_node_put(cpu_np); in at91sam9g20ek_audio_probe()
|
D | tse850-pcm5142.c | 326 struct device_node *codec_np, *cpu_np; in tse850_dt_init() local 334 cpu_np = of_parse_phandle(np, "axentia,cpu-dai", 0); in tse850_dt_init() 335 if (!cpu_np) { in tse850_dt_init() 339 dailink->cpus->of_node = cpu_np; in tse850_dt_init() 340 dailink->platforms->of_node = cpu_np; in tse850_dt_init() 341 of_node_put(cpu_np); in tse850_dt_init()
|
/sound/soc/fsl/ |
D | imx-hdmi.c | 104 struct device_node *cpu_np; in imx_hdmi_probe() local 112 cpu_np = of_parse_phandle(np, "audio-cpu", 0); in imx_hdmi_probe() 113 if (!cpu_np) { in imx_hdmi_probe() 119 cpu_pdev = of_find_device_by_node(cpu_np); in imx_hdmi_probe() 143 data->dai.platforms->of_node = cpu_np; in imx_hdmi_probe() 151 if (of_node_name_eq(cpu_np, "sai")) { in imx_hdmi_probe() 209 if (cpu_np) in imx_hdmi_probe() 210 of_node_put(cpu_np); in imx_hdmi_probe()
|
D | fsl-asoc-card.c | 533 struct device_node *cpu_np, *codec_np, *asrc_np; in fsl_asoc_card_probe() local 551 cpu_np = of_parse_phandle(np, "audio-cpu", 0); in fsl_asoc_card_probe() 553 if (!cpu_np) in fsl_asoc_card_probe() 554 cpu_np = of_parse_phandle(np, "ssi-controller", 0); in fsl_asoc_card_probe() 555 if (!cpu_np) { in fsl_asoc_card_probe() 561 cpu_pdev = of_find_device_by_node(cpu_np); in fsl_asoc_card_probe() 718 if (of_node_name_eq(cpu_np, "ssi")) { in fsl_asoc_card_probe() 725 } else if (of_node_name_eq(cpu_np, "esai")) { in fsl_asoc_card_probe() 739 } else if (of_node_name_eq(cpu_np, "sai")) { in fsl_asoc_card_probe() 772 priv->dai_link[0].cpus->of_node = cpu_np; in fsl_asoc_card_probe() [all …]
|