Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/cpufreq/
Dpmac32-cpufreq.c449 static int pmac_cpufreq_init_MacRISC3(struct device_node *cpunode) in pmac_cpufreq_init_MacRISC3() argument
481 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); in pmac_cpufreq_init_MacRISC3()
487 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2", in pmac_cpufreq_init_MacRISC3()
523 value = of_get_property(cpunode, "min-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
532 value = of_get_property(cpunode, "max-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
542 static int pmac_cpufreq_init_7447A(struct device_node *cpunode) in pmac_cpufreq_init_7447A() argument
546 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_7447A()
570 static int pmac_cpufreq_init_750FX(struct device_node *cpunode) in pmac_cpufreq_init_750FX() argument
576 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_750FX()
580 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()
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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.c153 struct device_node *cpunode = of_get_cpu_node(cpu, NULL); in smp_ppc47x_kick_cpu() local
158 BUG_ON(cpunode == NULL); in smp_ppc47x_kick_cpu()
165 of_get_property(cpunode, "cpu-release-addr", NULL); in smp_ppc47x_kick_cpu()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dsrmmu.c897 phandle cpunode; in srmmu_paging_init() local
913 cpunode = prom_getchild(prom_root_node); in srmmu_paging_init()
915 while (cpunode != 0) { in srmmu_paging_init()
916 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); in srmmu_paging_init()
918 num_contexts = prom_getintdefault(cpunode, "mmu-nctx", 0x8); in srmmu_paging_init()
921 cpunode = prom_getsibling(cpunode); in srmmu_paging_init()
1598 phandle cpunode; in get_srmmu_type() local
1602 cpunode = prom_getchild(prom_root_node); in get_srmmu_type()
1603 while ((cpunode = prom_getsibling(cpunode)) != 0) { in get_srmmu_type()
1604 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); in get_srmmu_type()
[all …]
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/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()