/linux-master/drivers/acpi/ |
H A D | pptt.c | 148 struct acpi_pptt_processor *cpu_node, 159 while ((res = acpi_get_pptt_resource(table_hdr, cpu_node, resource))) { 183 * @cpu_node: processor node we wish to count caches for 196 struct acpi_pptt_processor *cpu_node, 200 acpi_find_cache_level(table_hdr, cpu_node, levels, split_levels, 0, 0); 201 cpu_node = fetch_pptt_node(table_hdr, cpu_node->parent); 202 } while (cpu_node); 222 struct acpi_pptt_processor *cpu_node; local 235 cpu_node 147 acpi_find_cache_level(struct acpi_table_header *table_hdr, struct acpi_pptt_processor *cpu_node, unsigned int *starting_level, unsigned int *split_levels, unsigned int level, int type) argument 195 acpi_count_levels(struct acpi_table_header *table_hdr, struct acpi_pptt_processor *cpu_node, unsigned int *levels, unsigned int *split_levels) argument 267 struct acpi_pptt_processor *cpu_node; local 326 struct acpi_pptt_processor *cpu_node; local 357 update_cache_properties(struct cacheinfo *this_leaf, struct acpi_pptt_cache *found_cache, struct acpi_pptt_processor *cpu_node, u8 revision) argument 428 struct acpi_pptt_processor *cpu_node = NULL; local 512 struct acpi_pptt_processor *cpu_node; local 590 struct acpi_pptt_processor *cpu_node = NULL; local 624 struct acpi_pptt_processor *cpu_node; local 755 struct acpi_pptt_processor *cpu_node, *cluster_node; local [all...] |
/linux-master/arch/arm/mach-versatile/ |
H A D | platsmp-vexpress.c | 24 struct device_node *cpu_node, *cci_node; local 36 cpu_node = of_get_cpu_node(cpu, NULL); 37 if (WARN(!cpu_node, "Missing cpu device node!")) 40 cci_node = of_parse_phandle(cpu_node, "cci-control-port", 0); 43 of_node_put(cpu_node);
|
/linux-master/arch/arm/kernel/ |
H A D | cpuidle.c | 135 struct device_node *cpu_node = of_cpu_device_node_get(cpu); local 138 if (!cpu_node) 141 ret = arm_cpuidle_read_ops(cpu_node, cpu); 143 ret = cpuidle_ops[cpu].init(cpu_node, cpu); 145 of_node_put(cpu_node);
|
/linux-master/drivers/cpuidle/ |
H A D | cpuidle-qcom-spm.c | 90 struct device_node *cpu_node, *saw_node; local 94 cpu_node = of_cpu_device_node_get(cpu); 95 if (!cpu_node) 98 saw_node = of_parse_phandle(cpu_node, "qcom,saw", 0); 104 of_node_put(cpu_node); 159 struct device_node *cpu_node, *saw_node; local 161 for_each_of_cpu_node(cpu_node) { 162 saw_node = of_parse_phandle(cpu_node, "qcom,saw", 0); 165 of_node_put(cpu_node);
|
H A D | dt_idle_states.c | 100 struct device_node *cpu_node, *curr_state_node; local 112 cpu_node = of_cpu_device_node_get(cpu); 113 curr_state_node = of_get_cpu_state_node(cpu_node, idx); 118 of_node_put(cpu_node); 153 struct device_node *state_node, *cpu_node; local 168 cpu_node = of_cpu_device_node_get(cpumask_first(cpumask)); 171 state_node = of_get_cpu_state_node(cpu_node, i); 210 of_node_put(cpu_node);
|
H A D | cpuidle-psci.c | 245 struct device_node *cpu_node, 260 state_node = of_get_cpu_state_node(cpu_node, i - 1); 289 struct device_node *cpu_node; local 299 cpu_node = of_cpu_device_node_get(cpu); 300 if (!cpu_node) 303 ret = psci_dt_cpu_init_idle(dev, drv, cpu_node, state_count, cpu); 305 of_node_put(cpu_node); 321 struct device_node *cpu_node; local 325 cpu_node = of_cpu_device_node_get(cpu); 326 if (!cpu_node) 244 psci_dt_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, struct device_node *cpu_node, unsigned int state_count, int cpu) argument [all...] |
H A D | cpuidle-riscv-sbi.c | 239 struct device_node *cpu_node; local 243 cpu_node = of_cpu_device_node_get(cpu); 244 if (!cpu_node) 255 state_node = of_get_cpu_state_node(cpu_node, i - 1); 281 of_node_put(cpu_node);
|
/linux-master/arch/arm/mach-qcom/ |
H A D | platsmp.c | 83 struct device_node *cpu_node, *acc_node; local 86 cpu_node = of_get_cpu_node(cpu, NULL); 87 if (!cpu_node) 90 acc_node = of_parse_phandle(cpu_node, "qcom,acc", 0); 131 of_node_put(cpu_node); 139 struct device_node *cpu_node, *acc_node, *saw_node; local 142 cpu_node = of_get_cpu_node(cpu, NULL); 143 if (!cpu_node) 146 acc_node = of_parse_phandle(cpu_node, "qcom,acc", 0); 152 saw_node = of_parse_phandle(cpu_node, "qco 217 struct device_node *cpu_node, *l2_node, *acc_node, *saw_node; local [all...] |
/linux-master/drivers/of/ |
H A D | cpu.c | 153 * @cpu_node: Pointer to the device_node for CPU. 158 int of_cpu_node_to_id(struct device_node *cpu_node) argument 166 found = (cpu_node == np); 179 * @cpu_node: The device node for the CPU 191 struct device_node *of_get_cpu_state_node(struct device_node *cpu_node, argument 197 err = of_parse_phandle_with_args(cpu_node, "power-domains", 208 return of_parse_phandle(cpu_node, "cpu-idle-states", index);
|
/linux-master/arch/sparc/kernel/ |
H A D | devices.c | 122 phandle cpu_node; local 124 err = cpu_find_by_instance(0, &cpu_node, NULL); 130 cpu_data(0).clock_tick = prom_getintdefault(cpu_node,
|
H A D | smp_32.c | 58 int cpu_node; local 63 cpu_find_by_mid(id, &cpu_node); 64 cpu_data(id).clock_tick = prom_getintdefault(cpu_node, 66 cpu_data(id).prom_node = cpu_node; 67 mid = cpu_get_hwmid(cpu_node); 70 printk(KERN_NOTICE "No MID found for CPU%d at node 0x%08x", id, cpu_node);
|
H A D | sun4d_smp.c | 126 int cpu_node; local 128 cpu_find_by_instance(i, &cpu_node, NULL); 142 prom_startcpu(cpu_node,
|
H A D | sun4m_smp.c | 83 int cpu_node; local 85 cpu_find_by_mid(i, &cpu_node); 103 prom_startcpu(cpu_node, &smp_penguin_ctable, 0, (char *)entry);
|
/linux-master/arch/powerpc/platforms/cell/ |
H A D | cbe_regs.c | 30 struct device_node *cpu_node; member in struct:cbe_regs_map 41 struct device_node *cpu_node; member in struct:cbe_thread_map 58 if (cbe_regs_maps[i].cpu_node == np || 234 cpu = map->cpu_node; 259 cbe_thread_map[i].cpu_node = of_get_cpu_node(i, &thread_id); 279 of_node_put(map->cpu_node); 280 map->cpu_node = of_node_get(cpu); 285 if (thread->cpu_node == cpu) {
|
/linux-master/sound/soc/meson/ |
H A D | meson-card.h | 32 struct device_node *cpu_node);
|
H A D | meson-card-utils.c | 109 struct device_node *cpu_node) 120 if (!bitclkmaster || bitclkmaster == cpu_node) { 121 daifmt |= (!framemaster || framemaster == cpu_node) ? 124 daifmt |= (!framemaster || framemaster == cpu_node) ? 108 meson_card_parse_daifmt(struct device_node *node, struct device_node *cpu_node) argument
|
/linux-master/drivers/thermal/ |
H A D | cpuidle_cooling.c | 244 struct device_node *cpu_node; local 249 cpu_node = of_cpu_device_node_get(cpu); 251 cooling_node = of_get_child_by_name(cpu_node, "thermal-idle"); 253 of_node_put(cpu_node);
|
/linux-master/drivers/thermal/qcom/ |
H A D | lmh.c | 92 struct device_node *cpu_node; local 106 cpu_node = of_parse_phandle(np, "cpus", 0); 107 if (!cpu_node) 109 cpu_id = of_cpu_node_to_id(cpu_node); 110 of_node_put(cpu_node);
|
/linux-master/arch/powerpc/kernel/ |
H A D | cacheinfo.c | 502 struct device_node *cpu_node; local 508 cpu_node = of_get_cpu_node(cpu_id, NULL); 509 WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); 510 if (!cpu_node) 515 cpu_cache = cache_lookup_or_instantiate(cpu_node, group_id, 1); 523 of_node_put(cpu_node); 847 struct device_node *cpu_node; local 851 cpu_node = of_get_cpu_node(cpu_id, NULL); 852 WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); 853 if (!cpu_node) [all...] |
/linux-master/drivers/base/ |
H A D | arch_topology.c | 310 bool __init topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu) argument 320 ret = of_property_read_u32(cpu_node, "capacity-dmips-mhz", 334 cpu_node, raw_capacity[cpu]); 342 cpu_clk = of_clk_get(cpu_node, 0); 351 cpu_node); 516 struct device_node *cpu_node; local 519 cpu_node = of_parse_phandle(node, "cpu", 0); 520 if (!cpu_node) 523 cpu = of_cpu_node_to_id(cpu_node); 525 topology_parse_cpu_capacity(cpu_node, cp [all...] |
/linux-master/arch/arm/mach-bcm/ |
H A D | platsmp.c | 81 struct device_node *cpu_node = of_get_cpu_node(cpu, NULL); local 83 if (!cpu_node) { 88 if (of_property_read_u32(cpu_node, 94 of_node_put(cpu_node);
|
/linux-master/arch/riscv/kernel/ |
H A D | cpufeature.c | 579 struct device_node *cpu_node; local 582 cpu_node = of_cpu_device_node_get(cpu); 583 if (!cpu_node) { 588 if (!of_property_present(cpu_node, "riscv,isa-extensions")) { 589 of_node_put(cpu_node); 596 if (of_property_match_string(cpu_node, "riscv,isa-extensions", 616 of_node_put(cpu_node);
|
/linux-master/include/linux/ |
H A D | arch_topology.h | 19 bool topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu);
|
/linux-master/arch/arm/mach-omap2/ |
H A D | pm33xx-core.c | 379 static int __init amx3_idle_init(struct device_node *cpu_node, int cpu) argument 387 state_node = of_parse_phandle(cpu_node, "cpu-idle-states", i);
|
/linux-master/drivers/soc/qcom/ |
H A D | spm.c | 394 struct device_node *cpu_node, *saw_node; local 396 cpu_node = of_cpu_device_node_get(cpu); 397 if (!cpu_node) 400 saw_node = of_parse_phandle(cpu_node, "qcom,saw", 0); 403 of_node_put(cpu_node);
|