cpu_node 136 arch/arm/kernel/cpuidle.c struct device_node *cpu_node = of_cpu_device_node_get(cpu); cpu_node 139 arch/arm/kernel/cpuidle.c if (!cpu_node) cpu_node 142 arch/arm/kernel/cpuidle.c ret = arm_cpuidle_read_ops(cpu_node, cpu); cpu_node 144 arch/arm/kernel/cpuidle.c ret = cpuidle_ops[cpu].init(cpu_node, cpu); cpu_node 146 arch/arm/kernel/cpuidle.c of_node_put(cpu_node); cpu_node 79 arch/arm/mach-bcm/platsmp.c struct device_node *cpu_node = of_get_cpu_node(cpu, NULL); cpu_node 81 arch/arm/mach-bcm/platsmp.c if (!cpu_node) { cpu_node 86 arch/arm/mach-bcm/platsmp.c if (of_property_read_u32(cpu_node, cpu_node 92 arch/arm/mach-bcm/platsmp.c of_node_put(cpu_node); cpu_node 82 arch/arm/mach-qcom/platsmp.c struct device_node *cpu_node, *acc_node, *saw_node; cpu_node 85 arch/arm/mach-qcom/platsmp.c cpu_node = of_get_cpu_node(cpu, NULL); cpu_node 86 arch/arm/mach-qcom/platsmp.c if (!cpu_node) cpu_node 89 arch/arm/mach-qcom/platsmp.c acc_node = of_parse_phandle(cpu_node, "qcom,acc", 0); cpu_node 95 arch/arm/mach-qcom/platsmp.c saw_node = of_parse_phandle(cpu_node, "qcom,saw", 0); cpu_node 153 arch/arm/mach-qcom/platsmp.c of_node_put(cpu_node); cpu_node 160 arch/arm/mach-qcom/platsmp.c struct device_node *cpu_node, *l2_node, *acc_node, *saw_node; cpu_node 165 arch/arm/mach-qcom/platsmp.c cpu_node = of_get_cpu_node(cpu, NULL); cpu_node 166 arch/arm/mach-qcom/platsmp.c if (!cpu_node) cpu_node 169 arch/arm/mach-qcom/platsmp.c acc_node = of_parse_phandle(cpu_node, "qcom,acc", 0); cpu_node 175 arch/arm/mach-qcom/platsmp.c l2_node = of_parse_phandle(cpu_node, "next-level-cache", 0); cpu_node 252 arch/arm/mach-qcom/platsmp.c of_node_put(cpu_node); cpu_node 27 arch/arm/mach-vexpress/platsmp.c struct device_node *cpu_node, *cci_node; cpu_node 39 arch/arm/mach-vexpress/platsmp.c cpu_node = of_get_cpu_node(cpu, NULL); cpu_node 40 arch/arm/mach-vexpress/platsmp.c if (WARN(!cpu_node, "Missing cpu device node!")) cpu_node 43 arch/arm/mach-vexpress/platsmp.c cci_node = of_parse_phandle(cpu_node, "cci-control-port", 0); cpu_node 46 arch/arm/mach-vexpress/platsmp.c of_node_put(cpu_node); cpu_node 452 arch/powerpc/kernel/cacheinfo.c struct device_node *cpu_node; cpu_node 457 arch/powerpc/kernel/cacheinfo.c cpu_node = of_get_cpu_node(cpu_id, NULL); cpu_node 458 arch/powerpc/kernel/cacheinfo.c WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); cpu_node 459 arch/powerpc/kernel/cacheinfo.c if (!cpu_node) cpu_node 462 arch/powerpc/kernel/cacheinfo.c cpu_cache = cache_lookup_or_instantiate(cpu_node, 1); cpu_node 470 arch/powerpc/kernel/cacheinfo.c of_node_put(cpu_node); cpu_node 811 arch/powerpc/kernel/cacheinfo.c struct device_node *cpu_node; cpu_node 814 arch/powerpc/kernel/cacheinfo.c cpu_node = of_get_cpu_node(cpu_id, NULL); cpu_node 815 arch/powerpc/kernel/cacheinfo.c WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); cpu_node 816 arch/powerpc/kernel/cacheinfo.c if (!cpu_node) cpu_node 819 arch/powerpc/kernel/cacheinfo.c cache = cache_lookup_by_node(cpu_node); cpu_node 820 arch/powerpc/kernel/cacheinfo.c of_node_put(cpu_node); cpu_node 31 arch/powerpc/platforms/cell/cbe_regs.c struct device_node *cpu_node; cpu_node 42 arch/powerpc/platforms/cell/cbe_regs.c struct device_node *cpu_node; cpu_node 59 arch/powerpc/platforms/cell/cbe_regs.c if (cbe_regs_maps[i].cpu_node == np || cpu_node 219 arch/powerpc/platforms/cell/cbe_regs.c cpu = map->cpu_node; cpu_node 244 arch/powerpc/platforms/cell/cbe_regs.c cbe_thread_map[i].cpu_node = of_get_cpu_node(i, &thread_id); cpu_node 264 arch/powerpc/platforms/cell/cbe_regs.c map->cpu_node = cpu; cpu_node 269 arch/powerpc/platforms/cell/cbe_regs.c if (thread->cpu_node == cpu) { cpu_node 122 arch/sparc/kernel/devices.c phandle cpu_node; cpu_node 124 arch/sparc/kernel/devices.c err = cpu_find_by_instance(0, &cpu_node, NULL); cpu_node 130 arch/sparc/kernel/devices.c cpu_data(0).clock_tick = prom_getintdefault(cpu_node, cpu_node 60 arch/sparc/kernel/smp_32.c int cpu_node; cpu_node 65 arch/sparc/kernel/smp_32.c cpu_find_by_mid(id, &cpu_node); cpu_node 66 arch/sparc/kernel/smp_32.c cpu_data(id).clock_tick = prom_getintdefault(cpu_node, cpu_node 68 arch/sparc/kernel/smp_32.c cpu_data(id).prom_node = cpu_node; cpu_node 69 arch/sparc/kernel/smp_32.c mid = cpu_get_hwmid(cpu_node); cpu_node 72 arch/sparc/kernel/smp_32.c printk(KERN_NOTICE "No MID found for CPU%d at node 0x%08x", id, cpu_node); cpu_node 126 arch/sparc/kernel/sun4d_smp.c int cpu_node; cpu_node 128 arch/sparc/kernel/sun4d_smp.c cpu_find_by_instance(i, &cpu_node, NULL); cpu_node 142 arch/sparc/kernel/sun4d_smp.c prom_startcpu(cpu_node, cpu_node 83 arch/sparc/kernel/sun4m_smp.c int cpu_node; cpu_node 85 arch/sparc/kernel/sun4m_smp.c cpu_find_by_mid(i, &cpu_node); cpu_node 103 arch/sparc/kernel/sun4m_smp.c prom_startcpu(cpu_node, &smp_penguin_ctable, 0, (char *)entry); cpu_node 136 drivers/acpi/pptt.c struct acpi_pptt_processor *cpu_node, cpu_node 147 drivers/acpi/pptt.c while ((res = acpi_get_pptt_resource(table_hdr, cpu_node, resource))) { cpu_node 180 drivers/acpi/pptt.c struct acpi_pptt_processor *cpu_node) cpu_node 185 drivers/acpi/pptt.c acpi_find_cache_level(table_hdr, cpu_node, &total_levels, 0, 0); cpu_node 186 drivers/acpi/pptt.c cpu_node = fetch_pptt_node(table_hdr, cpu_node->parent); cpu_node 187 drivers/acpi/pptt.c } while (cpu_node); cpu_node 209 drivers/acpi/pptt.c struct acpi_pptt_processor *cpu_node; cpu_node 222 drivers/acpi/pptt.c cpu_node = (struct acpi_pptt_processor *)entry; cpu_node 224 drivers/acpi/pptt.c cpu_node->parent == node_entry) cpu_node 254 drivers/acpi/pptt.c struct acpi_pptt_processor *cpu_node; cpu_node 264 drivers/acpi/pptt.c cpu_node = (struct acpi_pptt_processor *)entry; cpu_node 271 drivers/acpi/pptt.c acpi_cpu_id == cpu_node->acpi_processor_id && cpu_node 272 drivers/acpi/pptt.c acpi_pptt_leaf_node(table_hdr, cpu_node)) { cpu_node 326 drivers/acpi/pptt.c struct acpi_pptt_processor *cpu_node; cpu_node 332 drivers/acpi/pptt.c cpu_node = acpi_find_processor_node(table_hdr, acpi_cpu_id); cpu_node 334 drivers/acpi/pptt.c while (cpu_node && !found) { cpu_node 335 drivers/acpi/pptt.c found = acpi_find_cache_level(table_hdr, cpu_node, cpu_node 337 drivers/acpi/pptt.c *node = cpu_node; cpu_node 338 drivers/acpi/pptt.c cpu_node = fetch_pptt_node(table_hdr, cpu_node->parent); cpu_node 358 drivers/acpi/pptt.c struct acpi_pptt_processor *cpu_node) cpu_node 360 drivers/acpi/pptt.c this_leaf->fw_token = cpu_node; cpu_node 417 drivers/acpi/pptt.c struct acpi_pptt_processor *cpu_node = NULL; cpu_node 424 drivers/acpi/pptt.c &cpu_node); cpu_node 425 drivers/acpi/pptt.c pr_debug("found = %p %p\n", found_cache, cpu_node); cpu_node 429 drivers/acpi/pptt.c cpu_node); cpu_node 501 drivers/acpi/pptt.c struct acpi_pptt_processor *cpu_node; cpu_node 504 drivers/acpi/pptt.c cpu_node = acpi_find_processor_node(table, acpi_cpu_id); cpu_node 505 drivers/acpi/pptt.c if (cpu_node) { cpu_node 506 drivers/acpi/pptt.c cpu_node = acpi_find_processor_tag(table, cpu_node, cpu_node 515 drivers/acpi/pptt.c cpu_node->flags & ACPI_PPTT_ACPI_PROCESSOR_ID_VALID) cpu_node 516 drivers/acpi/pptt.c return cpu_node->acpi_processor_id; cpu_node 517 drivers/acpi/pptt.c return ACPI_PTR_DIFF(cpu_node, table); cpu_node 561 drivers/acpi/pptt.c struct acpi_pptt_processor *cpu_node = NULL; cpu_node 571 drivers/acpi/pptt.c cpu_node = acpi_find_processor_node(table, acpi_cpu_id); cpu_node 573 drivers/acpi/pptt.c if (cpu_node) cpu_node 574 drivers/acpi/pptt.c ret = (cpu_node->flags & flag) != 0; cpu_node 698 drivers/acpi/pptt.c struct acpi_pptt_processor *cpu_node = NULL; cpu_node 710 drivers/acpi/pptt.c &cpu_node); cpu_node 712 drivers/acpi/pptt.c ret = ACPI_PTR_DIFF(cpu_node, table); cpu_node 128 drivers/base/arch_topology.c bool __init topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu) cpu_node 137 drivers/base/arch_topology.c ret = of_property_read_u32(cpu_node, "capacity-dmips-mhz", cpu_node 152 drivers/base/arch_topology.c cpu_node, raw_capacity[cpu]); cpu_node 156 drivers/base/arch_topology.c cpu_node); cpu_node 253 drivers/base/arch_topology.c struct device_node *cpu_node; cpu_node 256 drivers/base/arch_topology.c cpu_node = of_parse_phandle(node, "cpu", 0); cpu_node 257 drivers/base/arch_topology.c if (!cpu_node) cpu_node 260 drivers/base/arch_topology.c cpu = of_cpu_node_to_id(cpu_node); cpu_node 262 drivers/base/arch_topology.c topology_parse_cpu_capacity(cpu_node, cpu); cpu_node 264 drivers/base/arch_topology.c pr_crit("Unable to find CPU node for %pOF\n", cpu_node); cpu_node 266 drivers/base/arch_topology.c of_node_put(cpu_node); cpu_node 76 drivers/cpuidle/cpuidle-psci.c static int __init psci_dt_cpu_init_idle(struct device_node *cpu_node, int cpu) cpu_node 83 drivers/cpuidle/cpuidle-psci.c while ((state_node = of_parse_phandle(cpu_node, "cpu-idle-states", cpu_node 97 drivers/cpuidle/cpuidle-psci.c state_node = of_parse_phandle(cpu_node, "cpu-idle-states", i); cpu_node 118 drivers/cpuidle/cpuidle-psci.c struct device_node *cpu_node; cpu_node 128 drivers/cpuidle/cpuidle-psci.c cpu_node = of_cpu_device_node_get(cpu); cpu_node 129 drivers/cpuidle/cpuidle-psci.c if (!cpu_node) cpu_node 132 drivers/cpuidle/cpuidle-psci.c ret = psci_dt_cpu_init_idle(cpu_node, cpu); cpu_node 134 drivers/cpuidle/cpuidle-psci.c of_node_put(cpu_node); cpu_node 142 drivers/cpuidle/cpuidle-psci.c struct device_node *cpu_node; cpu_node 146 drivers/cpuidle/cpuidle-psci.c cpu_node = of_cpu_device_node_get(cpu); cpu_node 147 drivers/cpuidle/cpuidle-psci.c if (!cpu_node) cpu_node 154 drivers/cpuidle/cpuidle-psci.c enable_method = of_get_property(cpu_node, "enable-method", NULL); cpu_node 158 drivers/cpuidle/cpuidle-psci.c of_node_put(cpu_node); cpu_node 101 drivers/cpuidle/dt_idle_states.c struct device_node *cpu_node, *curr_state_node; cpu_node 113 drivers/cpuidle/dt_idle_states.c cpu_node = of_cpu_device_node_get(cpu); cpu_node 114 drivers/cpuidle/dt_idle_states.c curr_state_node = of_parse_phandle(cpu_node, "cpu-idle-states", cpu_node 120 drivers/cpuidle/dt_idle_states.c of_node_put(cpu_node); cpu_node 155 drivers/cpuidle/dt_idle_states.c struct device_node *state_node, *cpu_node; cpu_node 170 drivers/cpuidle/dt_idle_states.c cpu_node = of_cpu_device_node_get(cpumask_first(cpumask)); cpu_node 173 drivers/cpuidle/dt_idle_states.c state_node = of_parse_phandle(cpu_node, "cpu-idle-states", i); cpu_node 212 drivers/cpuidle/dt_idle_states.c of_node_put(cpu_node); cpu_node 2238 drivers/irqchip/irq-gic-v3-its.c struct device_node *cpu_node; cpu_node 2240 drivers/irqchip/irq-gic-v3-its.c cpu_node = of_get_cpu_node(cpu, NULL); cpu_node 2242 drivers/irqchip/irq-gic-v3-its.c its->numa_node != of_node_to_nid(cpu_node)) cpu_node 1648 drivers/irqchip/irq-gic-v3.c struct device_node *cpu_node; cpu_node 1655 drivers/irqchip/irq-gic-v3.c cpu_node = of_find_node_by_phandle(cpu_phandle); cpu_node 1656 drivers/irqchip/irq-gic-v3.c if (WARN_ON(!cpu_node)) cpu_node 1659 drivers/irqchip/irq-gic-v3.c cpu = of_cpu_node_to_id(cpu_node); cpu_node 1663 drivers/irqchip/irq-gic-v3.c pr_cont("%pOF[%d] ", cpu_node, cpu); cpu_node 462 drivers/of/base.c int of_cpu_node_to_id(struct device_node *cpu_node) cpu_node 470 drivers/of/base.c found = (cpu_node == np); cpu_node 611 drivers/perf/arm_dsu_pmu.c struct device_node *cpu_node; cpu_node 617 drivers/perf/arm_dsu_pmu.c cpu_node = of_parse_phandle(dev, "cpus", i); cpu_node 618 drivers/perf/arm_dsu_pmu.c if (!cpu_node) cpu_node 620 drivers/perf/arm_dsu_pmu.c cpu = of_cpu_node_to_id(cpu_node); cpu_node 621 drivers/perf/arm_dsu_pmu.c of_node_put(cpu_node); cpu_node 203 drivers/soc/qcom/spm.c static int __init qcom_cpuidle_init(struct device_node *cpu_node, int cpu) cpu_node 218 drivers/soc/qcom/spm.c state_node = of_parse_phandle(cpu_node, "cpu-idle-states", i); cpu_node 285 drivers/soc/qcom/spm.c struct device_node *cpu_node, *saw_node; cpu_node 290 drivers/soc/qcom/spm.c cpu_node = of_cpu_device_node_get(cpu); cpu_node 291 drivers/soc/qcom/spm.c if (!cpu_node) cpu_node 293 drivers/soc/qcom/spm.c saw_node = of_parse_phandle(cpu_node, "qcom,saw", 0); cpu_node 296 drivers/soc/qcom/spm.c of_node_put(cpu_node); cpu_node 15 include/linux/arch_topology.h bool topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu); cpu_node 2398 kernel/sched/fair.c int cpu_node = task_node(current); cpu_node 2443 kernel/sched/fair.c numa_is_active_node(cpu_node, ng) && cpu_node 2462 kernel/sched/fair.c p->numa_faults[task_faults_idx(NUMA_CPUBUF, cpu_node, priv)] += pages; cpu_node 308 sound/soc/meson/axg-card.c struct device_node *cpu_node) cpu_node 319 sound/soc/meson/axg-card.c if (!bitclkmaster || bitclkmaster == cpu_node) { cpu_node 320 sound/soc/meson/axg-card.c daifmt |= (!framemaster || framemaster == cpu_node) ? cpu_node 323 sound/soc/meson/axg-card.c daifmt |= (!framemaster || framemaster == cpu_node) ?