Home
last modified time | relevance | path

Searched refs:cpunode (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/cpufreq/
Dpmac32-cpufreq.c448 static int pmac_cpufreq_init_MacRISC3(struct device_node *cpunode) in pmac_cpufreq_init_MacRISC3() argument
484 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); in pmac_cpufreq_init_MacRISC3()
490 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2", in pmac_cpufreq_init_MacRISC3()
526 value = of_get_property(cpunode, "min-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
535 value = of_get_property(cpunode, "max-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
545 static int pmac_cpufreq_init_7447A(struct device_node *cpunode) in pmac_cpufreq_init_7447A() argument
549 if (!of_property_read_bool(cpunode, "dynamic-power-step")) in pmac_cpufreq_init_7447A()
573 static int pmac_cpufreq_init_750FX(struct device_node *cpunode) in pmac_cpufreq_init_750FX() argument
579 if (!of_property_read_bool(cpunode, "dynamic-power-step")) in pmac_cpufreq_init_750FX()
583 value = of_get_property(cpunode, "reduced-clock-frequency", NULL); in pmac_cpufreq_init_750FX()
[all …]
Dpmac64-cpufreq.c341 static int __init g5_neo2_cpufreq_init(struct device_node *cpunode) in g5_neo2_cpufreq_init() argument
364 valp = of_get_property(cpunode, "cpu-version", NULL); in g5_neo2_cpufreq_init()
376 g5_pmode_data = of_get_property(cpunode, "power-mode-data",&psize); in g5_neo2_cpufreq_init()
433 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_neo2_cpufreq_init()
471 of_node_put(cpunode); in g5_neo2_cpufreq_init()
479 static int __init g5_pm72_cpufreq_init(struct device_node *cpunode) in g5_pm72_cpufreq_init() argument
567 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_pm72_cpufreq_init()
642 of_node_put(cpunode); in g5_pm72_cpufreq_init()
649 struct device_node *cpunode; in g5_cpufreq_init() local
653 cpunode = of_cpu_device_node_get(0); in g5_cpufreq_init()
[all …]
Dmaple-cpufreq.c159 struct device_node *cpunode; in maple_cpufreq_init() local
175 cpunode = of_cpu_device_node_get(0); in maple_cpufreq_init()
176 if (cpunode == NULL) { in maple_cpufreq_init()
195 maple_pmode_data = of_get_property(cpunode, "power-mode-data", &psize); in maple_cpufreq_init()
209 valp = of_get_property(cpunode, "clock-frequency", NULL); in maple_cpufreq_init()
233 of_node_put(cpunode); in maple_cpufreq_init()
/linux-6.6.21/arch/m68k/include/asm/
Doplib.h181 extern int prom_startcpu(int cpunode, struct linux_prom_registers *context_table,
185 extern int prom_stopcpu(int cpunode);
188 extern int prom_idlecpu(int cpunode);
191 extern int prom_restartcpu(int cpunode);
/linux-6.6.21/arch/powerpc/platforms/44x/
Diss4xx.c87 struct device_node *cpunode = of_get_cpu_node(cpu, NULL); in smp_iss4xx_kick_cpu() local
92 BUG_ON(cpunode == NULL); in smp_iss4xx_kick_cpu()
98 spin_table_addr_prop = of_get_property(cpunode, "cpu-release-addr", in smp_iss4xx_kick_cpu()
Dppc476.c156 struct device_node *cpunode = of_get_cpu_node(cpu, NULL); in smp_ppc47x_kick_cpu() local
161 BUG_ON(cpunode == NULL); in smp_ppc47x_kick_cpu()
168 of_get_property(cpunode, "cpu-release-addr", NULL); in smp_ppc47x_kick_cpu()
/linux-6.6.21/arch/sparc/prom/
Dmp.c24 prom_startcpu(int cpunode, struct linux_prom_registers *ctable_reg, int ctx, char *pc) in prom_startcpu() argument
37 ret = (*(romvec->v3_cpustart))(cpunode, (int) ctable_reg, ctx, pc); in prom_startcpu()
Dmisc_64.c380 void prom_startcpu(int cpunode, unsigned long pc, unsigned long arg) in prom_startcpu() argument
387 args[3] = (unsigned int) cpunode; in prom_startcpu()
437 void prom_resumecpu(int cpunode) in prom_resumecpu() argument
444 args[3] = (unsigned int) cpunode; in prom_resumecpu()
/linux-6.6.21/arch/sparc/mm/
Dsrmmu.c898 phandle cpunode; in srmmu_paging_init() local
914 cpunode = prom_getchild(prom_root_node); in srmmu_paging_init()
916 while (cpunode != 0) { in srmmu_paging_init()
917 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); in srmmu_paging_init()
919 num_contexts = prom_getintdefault(cpunode, "mmu-nctx", 0x8); in srmmu_paging_init()
922 cpunode = prom_getsibling(cpunode); in srmmu_paging_init()
1597 phandle cpunode; in get_srmmu_type() local
1601 cpunode = prom_getchild(prom_root_node); in get_srmmu_type()
1602 while ((cpunode = prom_getsibling(cpunode)) != 0) { in get_srmmu_type()
1603 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); in get_srmmu_type()
[all …]
/linux-6.6.21/arch/sparc/include/asm/
Doplib_64.h111 void prom_startcpu(int cpunode, unsigned long pc, unsigned long arg);
128 void prom_resumecpu(int cpunode);
Doplib_32.h106 int prom_startcpu(int cpunode, struct linux_prom_registers *context_table,
/linux-6.6.21/drivers/edac/
Dcpc925_edac.c584 struct device_node *cpunode; in cpc925_cpu_mask_disabled() local
593 for_each_of_cpu_node(cpunode) { in cpc925_cpu_mask_disabled()
594 const u32 *reg = of_get_property(cpunode, "reg", NULL); in cpc925_cpu_mask_disabled()
596 cpc925_printk(KERN_ERR, "Bad reg value at %pOF\n", cpunode); in cpc925_cpu_mask_disabled()