Home
last modified time | relevance | path

Searched refs:cpu_node (Results 1 – 17 of 17) sorted by relevance

/drivers/acpi/
A Dpptt.c201 cpu_node = fetch_pptt_node(table_hdr, cpu_node->parent); in acpi_count_levels()
202 } while (cpu_node); in acpi_count_levels()
339 while (cpu_node && !found) { in acpi_find_cache_node()
342 *node = cpu_node; in acpi_find_cache_node()
343 cpu_node = fetch_pptt_node(table_hdr, cpu_node->parent); in acpi_find_cache_node()
440 &cpu_node); in cache_setup_acpi_cpu()
521 if (cpu_node) { in topology_get_acpi_cpu_tag()
522 cpu_node = acpi_find_processor_tag(table, cpu_node, in topology_get_acpi_cpu_tag()
605 if (cpu_node) in check_acpi_cpu_flag()
645 if (!cpu_node) in acpi_get_cache_info()
[all …]
/drivers/cpuidle/
A Dcpuidle-psci.c273 struct device_node *cpu_node, in psci_dt_cpu_init_idle() argument
317 struct device_node *cpu_node; in psci_cpu_init_idle() local
327 cpu_node = of_cpu_device_node_get(cpu); in psci_cpu_init_idle()
328 if (!cpu_node) in psci_cpu_init_idle()
333 of_node_put(cpu_node); in psci_cpu_init_idle()
349 struct device_node *cpu_node; in psci_idle_init_cpu() local
353 cpu_node = of_cpu_device_node_get(cpu); in psci_idle_init_cpu()
354 if (!cpu_node) in psci_idle_init_cpu()
365 of_node_put(cpu_node); in psci_idle_init_cpu()
462 if (!cpu_node) in dt_idle_state_present()
[all …]
A Dcpuidle-qcom-spm.c90 struct device_node *cpu_node, *saw_node; in spm_cpuidle_register() local
94 cpu_node = of_cpu_device_node_get(cpu); in spm_cpuidle_register()
95 if (!cpu_node) in spm_cpuidle_register()
98 saw_node = of_parse_phandle(cpu_node, "qcom,saw", 0); in spm_cpuidle_register()
104 of_node_put(cpu_node); in spm_cpuidle_register()
159 struct device_node *cpu_node, *saw_node; in qcom_spm_find_any_cpu() local
161 for_each_of_cpu_node(cpu_node) { in qcom_spm_find_any_cpu()
162 saw_node = of_parse_phandle(cpu_node, "qcom,saw", 0); in qcom_spm_find_any_cpu()
165 of_node_put(cpu_node); in qcom_spm_find_any_cpu()
A Ddt_idle_states.c100 struct device_node *cpu_node, *curr_state_node; in idle_state_valid() local
111 cpu_node = of_cpu_device_node_get(cpu); in idle_state_valid()
112 curr_state_node = of_get_cpu_state_node(cpu_node, idx); in idle_state_valid()
114 of_node_put(cpu_node); in idle_state_valid()
149 struct device_node *state_node, *cpu_node; in dt_init_idle_driver() local
164 cpu_node = of_cpu_device_node_get(cpumask_first(cpumask)); in dt_init_idle_driver()
167 state_node = of_get_cpu_state_node(cpu_node, i); in dt_init_idle_driver()
206 of_node_put(cpu_node); in dt_init_idle_driver()
A Dcpuidle-riscv-sbi.c243 struct device_node *cpu_node __free(device_node) = of_cpu_device_node_get(cpu); in sbi_cpuidle_dt_init_states()
244 if (!cpu_node) in sbi_cpuidle_dt_init_states()
253 state_node = of_get_cpu_state_node(cpu_node, i - 1); in sbi_cpuidle_dt_init_states()
/drivers/of/
A Dcpu.c158 int of_cpu_node_to_id(struct device_node *cpu_node) in of_cpu_node_to_id() argument
166 found = (cpu_node == np); in of_cpu_node_to_id()
191 struct device_node *of_get_cpu_state_node(const struct device_node *cpu_node, in of_get_cpu_state_node() argument
197 err = of_parse_phandle_with_args(cpu_node, "power-domains", in of_get_cpu_state_node()
208 return of_parse_phandle(cpu_node, "cpu-idle-states", index); in of_get_cpu_state_node()
/drivers/thermal/qcom/
A Dlmh.c99 struct device_node *cpu_node; in lmh_probe() local
116 cpu_node = of_parse_phandle(np, "cpus", 0); in lmh_probe()
117 if (!cpu_node) in lmh_probe()
119 cpu_id = of_cpu_node_to_id(cpu_node); in lmh_probe()
120 of_node_put(cpu_node); in lmh_probe()
/drivers/thermal/
A Dcpuidle_cooling.c244 struct device_node *cpu_node; in cpuidle_cooling_register() local
249 cpu_node = of_cpu_device_node_get(cpu); in cpuidle_cooling_register()
251 cooling_node = of_get_child_by_name(cpu_node, "thermal-idle"); in cpuidle_cooling_register()
253 of_node_put(cpu_node); in cpuidle_cooling_register()
/drivers/base/
A Darch_topology.c262 bool __init topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu) in topology_parse_cpu_capacity() argument
272 ret = of_property_read_u32(cpu_node, "capacity-dmips-mhz", in topology_parse_cpu_capacity()
286 cpu_node, raw_capacity[cpu]); in topology_parse_cpu_capacity()
294 cpu_clk = of_clk_get(cpu_node, 0); in topology_parse_cpu_capacity()
303 cpu_node); in topology_parse_cpu_capacity()
477 struct device_node *cpu_node __free(device_node) = in get_cpu_for_node()
480 if (!cpu_node) in get_cpu_for_node()
483 cpu = of_cpu_node_to_id(cpu_node); in get_cpu_for_node()
485 topology_parse_cpu_capacity(cpu_node, cpu); in get_cpu_for_node()
488 cpu_node, cpumask_pr_args(cpu_possible_mask)); in get_cpu_for_node()
/drivers/soc/qcom/
A Dspm.c394 struct device_node *cpu_node, *saw_node; in spm_get_cpu() local
396 cpu_node = of_cpu_device_node_get(cpu); in spm_get_cpu()
397 if (!cpu_node) in spm_get_cpu()
400 saw_node = of_parse_phandle(cpu_node, "qcom,saw", 0); in spm_get_cpu()
403 of_node_put(cpu_node); in spm_get_cpu()
/drivers/irqchip/
A Dirq-gic-v5-irs.c622 struct device_node *cpu_node; in gicv5_irs_of_init_affinity() local
625 cpu_node = of_parse_phandle(node, "cpus", i); in gicv5_irs_of_init_affinity()
626 if (WARN_ON(!cpu_node)) in gicv5_irs_of_init_affinity()
629 cpu = of_cpu_node_to_id(cpu_node); in gicv5_irs_of_init_affinity()
630 of_node_put(cpu_node); in gicv5_irs_of_init_affinity()
A Dirq-apple-aic.c912 struct device_node *cpu_node; in build_fiq_affinity() local
919 cpu_node = of_find_node_by_phandle(cpu_phandle); in build_fiq_affinity()
920 if (WARN_ON(!cpu_node)) in build_fiq_affinity()
923 cpu = of_cpu_node_to_id(cpu_node); in build_fiq_affinity()
924 of_node_put(cpu_node); in build_fiq_affinity()
A Dirq-loongson-eiointc.c95 int i, node, cpu_node, route_node; in eiointc_set_irq_route() local
104 cpu_node = cpu_logical_map(cpu) / CORES_PER_EIO_NODE; in eiointc_set_irq_route()
113 route_node = (node == mnode) ? cpu_node : node; in eiointc_set_irq_route()
A Dirq-gic-v3.c2207 struct device_node *cpu_node; in gic_populate_ppi_partitions() local
2214 cpu_node = of_find_node_by_phandle(cpu_phandle); in gic_populate_ppi_partitions()
2215 if (WARN_ON(!cpu_node)) in gic_populate_ppi_partitions()
2218 cpu = of_cpu_node_to_id(cpu_node); in gic_populate_ppi_partitions()
2220 of_node_put(cpu_node); in gic_populate_ppi_partitions()
2224 pr_cont("%pOF[%d] ", cpu_node, cpu); in gic_populate_ppi_partitions()
2227 of_node_put(cpu_node); in gic_populate_ppi_partitions()
A Dirq-gic-v3-its.c3294 struct device_node *cpu_node; in its_cpu_init_collection() local
3296 cpu_node = of_get_cpu_node(cpu, NULL); in its_cpu_init_collection()
3298 its->numa_node != of_node_to_nid(cpu_node)) in its_cpu_init_collection()
/drivers/perf/
A Darm_dsu_pmu.c594 struct device_node *cpu_node; in dsu_pmu_dt_get_cpus() local
600 cpu_node = of_parse_phandle(dev->of_node, "cpus", i); in dsu_pmu_dt_get_cpus()
601 if (!cpu_node) in dsu_pmu_dt_get_cpus()
603 cpu = of_cpu_node_to_id(cpu_node); in dsu_pmu_dt_get_cpus()
604 of_node_put(cpu_node); in dsu_pmu_dt_get_cpus()
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt.c3892 int cpu_node; in bnxt_alloc_rx_rings() local
3897 cpu_node = cpu_to_node(cpu); in bnxt_alloc_rx_rings()
3899 i, cpu_node); in bnxt_alloc_rx_rings()
3900 rc = bnxt_alloc_rx_page_pool(bp, rxr, cpu_node); in bnxt_alloc_rx_rings()

Completed in 85 milliseconds