Home
last modified time | relevance | path

Searched refs:cpu_np (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/sound/soc/atmel/
Dsam9x5_wm8731.c76 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()
Dsam9g20_wm8731.c120 struct device_node *codec_np, *cpu_np; in at91sam9g20ek_audio_probe() local
159 cpu_np = of_parse_phandle(np, "atmel,ssc-controller", 0); in at91sam9g20ek_audio_probe()
160 if (!cpu_np) { in at91sam9g20ek_audio_probe()
166 at91sam9g20ek_dai.cpus->of_node = cpu_np; in at91sam9g20ek_audio_probe()
167 at91sam9g20ek_dai.platforms->of_node = cpu_np; in at91sam9g20ek_audio_probe()
170 of_node_put(cpu_np); in at91sam9g20ek_audio_probe()
Dmikroe-proto.c68 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()
Datmel_wm8904.c87 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()
Dtse850-pcm5142.c326 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()
/linux-6.1.9/sound/soc/fsl/
Dimx-hdmi.c105 struct device_node *cpu_np; in imx_hdmi_probe() local
113 cpu_np = of_parse_phandle(np, "audio-cpu", 0); in imx_hdmi_probe()
114 if (!cpu_np) { in imx_hdmi_probe()
120 cpu_pdev = of_find_device_by_node(cpu_np); in imx_hdmi_probe()
144 data->dai.platforms->of_node = cpu_np; in imx_hdmi_probe()
152 if (of_node_name_eq(cpu_np, "sai")) { in imx_hdmi_probe()
210 of_node_put(cpu_np); in imx_hdmi_probe()
Dfsl-asoc-card.c530 struct device_node *cpu_np, *codec_np, *asrc_np; in fsl_asoc_card_probe() local
548 cpu_np = of_parse_phandle(np, "audio-cpu", 0); in fsl_asoc_card_probe()
550 if (!cpu_np) in fsl_asoc_card_probe()
551 cpu_np = of_parse_phandle(np, "ssi-controller", 0); in fsl_asoc_card_probe()
552 if (!cpu_np) { in fsl_asoc_card_probe()
558 cpu_pdev = of_find_device_by_node(cpu_np); in fsl_asoc_card_probe()
730 if (of_node_name_eq(cpu_np, "ssi")) { in fsl_asoc_card_probe()
737 } else if (of_node_name_eq(cpu_np, "esai")) { in fsl_asoc_card_probe()
751 } else if (of_node_name_eq(cpu_np, "sai")) { in fsl_asoc_card_probe()
784 priv->dai_link[0].cpus->of_node = cpu_np; in fsl_asoc_card_probe()
[all …]
/linux-6.1.9/drivers/cpufreq/
Dqcom-cpufreq-hw.c297 struct device_node *cpu_np; in qcom_get_related_cpus() local
302 cpu_np = of_cpu_device_node_get(cpu); in qcom_get_related_cpus()
303 if (!cpu_np) in qcom_get_related_cpus()
306 ret = of_parse_phandle_with_args(cpu_np, "qcom,freq-domain", in qcom_get_related_cpus()
309 of_node_put(cpu_np); in qcom_get_related_cpus()
521 struct device_node *cpu_np; in qcom_cpufreq_hw_cpu_init() local
535 cpu_np = of_cpu_device_node_get(policy->cpu); in qcom_cpufreq_hw_cpu_init()
536 if (!cpu_np) in qcom_cpufreq_hw_cpu_init()
539 ret = of_parse_phandle_with_args(cpu_np, "qcom,freq-domain", in qcom_cpufreq_hw_cpu_init()
541 of_node_put(cpu_np); in qcom_cpufreq_hw_cpu_init()
/linux-6.1.9/include/linux/
Dcpufreq.h1115 struct device_node *cpu_np; in parse_perf_domain() local
1119 cpu_np = of_cpu_device_node_get(cpu); in parse_perf_domain()
1120 if (!cpu_np) in parse_perf_domain()
1123 ret = of_parse_phandle_with_args(cpu_np, list_name, cell_name, 0, in parse_perf_domain()
1128 of_node_put(cpu_np); in parse_perf_domain()
/linux-6.1.9/drivers/opp/
Dof.c1338 struct device_node *np, *tmp_np, *cpu_np; in dev_pm_opp_of_get_sharing_cpus() local
1358 cpu_np = of_cpu_device_node_get(cpu); in dev_pm_opp_of_get_sharing_cpus()
1359 if (!cpu_np) { in dev_pm_opp_of_get_sharing_cpus()
1367 tmp_np = _opp_of_get_opp_desc_node(cpu_np, 0); in dev_pm_opp_of_get_sharing_cpus()
1368 of_node_put(cpu_np); in dev_pm_opp_of_get_sharing_cpus()
1370 pr_err("%pOF: Couldn't find opp node\n", cpu_np); in dev_pm_opp_of_get_sharing_cpus()