Home
last modified time | relevance | path

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

/drivers/cpufreq/
A Dqcom-cpufreq-hw.c305 struct device_node *cpu_np; in qcom_get_related_cpus() local
310 cpu_np = of_cpu_device_node_get(cpu); in qcom_get_related_cpus()
311 if (!cpu_np) in qcom_get_related_cpus()
314 ret = of_parse_phandle_with_args(cpu_np, "qcom,freq-domain", in qcom_get_related_cpus()
317 of_node_put(cpu_np); in qcom_get_related_cpus()
517 struct device_node *cpu_np; in qcom_cpufreq_hw_cpu_init() local
529 cpu_np = of_cpu_device_node_get(policy->cpu); in qcom_cpufreq_hw_cpu_init()
530 if (!cpu_np) in qcom_cpufreq_hw_cpu_init()
533 ret = of_parse_phandle_with_args(cpu_np, "qcom,freq-domain", in qcom_cpufreq_hw_cpu_init()
535 of_node_put(cpu_np); in qcom_cpufreq_hw_cpu_init()
A Dscmi-cpufreq.c399 struct device_node *cpu_np, *np; in scmi_dev_used_by_cpus() local
411 cpu_np = dev_of_node(cpu_dev); in scmi_dev_used_by_cpus()
413 np = of_parse_phandle(cpu_np, "clocks", 0); in scmi_dev_used_by_cpus()
419 idx = of_property_match_string(cpu_np, "power-domain-names", "perf"); in scmi_dev_used_by_cpus()
420 np = of_parse_phandle(cpu_np, "power-domains", idx); in scmi_dev_used_by_cpus()
/drivers/opp/
A Dof.c1289 struct device_node *cpu_np __free(device_node) = NULL; in dev_pm_opp_of_get_sharing_cpus()
1295 cpu_np = of_cpu_device_node_get(cpu); in dev_pm_opp_of_get_sharing_cpus()
1296 if (!cpu_np) { in dev_pm_opp_of_get_sharing_cpus()
1303 tmp_np = _opp_of_get_opp_desc_node(cpu_np, 0); in dev_pm_opp_of_get_sharing_cpus()
1305 pr_err("%pOF: Couldn't find opp node\n", cpu_np); in dev_pm_opp_of_get_sharing_cpus()

Completed in 13 milliseconds