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

/linux-4.4.14/arch/sparc/prom/
H A Dmp.c17 /* Start cpu with prom-tree node 'cpunode' using context described
23 prom_startcpu(int cpunode, struct linux_prom_registers *ctable_reg, int ctx, char *pc) prom_startcpu() argument
36 ret = (*(romvec->v3_cpustart))(cpunode, (int) ctable_reg, ctx, pc); prom_startcpu()
H A Dmisc_64.c379 void prom_startcpu(int cpunode, unsigned long pc, unsigned long arg) prom_startcpu() argument
386 args[3] = (unsigned int) cpunode; prom_startcpu()
436 void prom_resumecpu(int cpunode) prom_resumecpu() argument
443 args[3] = (unsigned int) cpunode; prom_resumecpu()
/linux-4.4.14/drivers/cpufreq/
H A Dpmac32-cpufreq.c449 static int pmac_cpufreq_init_MacRISC3(struct device_node *cpunode) pmac_cpufreq_init_MacRISC3() argument
481 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); pmac_cpufreq_init_MacRISC3()
487 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2", pmac_cpufreq_init_MacRISC3()
523 value = of_get_property(cpunode, "min-clock-frequency", NULL); pmac_cpufreq_init_MacRISC3()
532 value = of_get_property(cpunode, "max-clock-frequency", NULL); pmac_cpufreq_init_MacRISC3()
542 static int pmac_cpufreq_init_7447A(struct device_node *cpunode) pmac_cpufreq_init_7447A() argument
546 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) pmac_cpufreq_init_7447A()
569 static int pmac_cpufreq_init_750FX(struct device_node *cpunode) pmac_cpufreq_init_750FX() argument
575 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) pmac_cpufreq_init_750FX()
579 value = of_get_property(cpunode, "reduced-clock-frequency", NULL); pmac_cpufreq_init_750FX()
611 struct device_node *cpunode; pmac_cpufreq_setup() local
618 cpunode = of_cpu_device_node_get(0); pmac_cpufreq_setup()
619 if (!cpunode) pmac_cpufreq_setup()
623 value = of_get_property(cpunode, "clock-frequency", NULL); pmac_cpufreq_setup()
631 of_get_property(cpunode, "dynamic-power-step", NULL) && pmac_cpufreq_setup()
633 pmac_cpufreq_init_7447A(cpunode); pmac_cpufreq_setup()
639 pmac_cpufreq_init_MacRISC3(cpunode); pmac_cpufreq_setup()
668 pmac_cpufreq_init_750FX(cpunode); pmac_cpufreq_setup()
670 of_node_put(cpunode); pmac_cpufreq_setup()
H A Dpmac64-cpufreq.c341 static int __init g5_neo2_cpufreq_init(struct device_node *cpunode) g5_neo2_cpufreq_init() argument
364 valp = of_get_property(cpunode, "cpu-version", NULL); g5_neo2_cpufreq_init()
376 g5_pmode_data = of_get_property(cpunode, "power-mode-data",&psize); g5_neo2_cpufreq_init()
434 valp = of_get_property(cpunode, "clock-frequency", NULL); g5_neo2_cpufreq_init()
472 of_node_put(cpunode); g5_neo2_cpufreq_init()
480 static int __init g5_pm72_cpufreq_init(struct device_node *cpunode) g5_pm72_cpufreq_init() argument
568 valp = of_get_property(cpunode, "clock-frequency", NULL); g5_pm72_cpufreq_init()
644 of_node_put(cpunode); g5_pm72_cpufreq_init()
651 struct device_node *cpunode; g5_cpufreq_init() local
655 cpunode = of_cpu_device_node_get(0); g5_cpufreq_init()
656 if (cpunode == NULL) { g5_cpufreq_init()
664 rc = g5_pm72_cpufreq_init(cpunode); g5_cpufreq_init()
667 rc = g5_neo2_cpufreq_init(cpunode); g5_cpufreq_init()
H A Dmaple-cpufreq.c159 struct device_node *cpunode; maple_cpufreq_init() local
175 cpunode = of_cpu_device_node_get(0); maple_cpufreq_init()
176 if (cpunode == NULL) { maple_cpufreq_init()
196 maple_pmode_data = of_get_property(cpunode, "power-mode-data", &psize); maple_cpufreq_init()
210 valp = of_get_property(cpunode, "clock-frequency", NULL); maple_cpufreq_init()
233 of_node_put(cpunode); maple_cpufreq_init()
238 of_node_put(cpunode); maple_cpufreq_init()
/linux-4.4.14/arch/powerpc/platforms/44x/
H A Diss4xx.c91 struct device_node *cpunode = of_get_cpu_node(cpu, NULL); smp_iss4xx_kick_cpu() local
96 BUG_ON(cpunode == NULL); smp_iss4xx_kick_cpu()
102 spin_table_addr_prop = of_get_property(cpunode, "cpu-release-addr", smp_iss4xx_kick_cpu()
H A Dppc476.c157 struct device_node *cpunode = of_get_cpu_node(cpu, NULL); smp_ppc47x_kick_cpu() local
162 BUG_ON(cpunode == NULL); smp_ppc47x_kick_cpu()
169 of_get_property(cpunode, "cpu-release-addr", NULL); smp_ppc47x_kick_cpu()
/linux-4.4.14/arch/m68k/include/asm/
H A Doplib.h180 extern int prom_startcpu(int cpunode, struct linux_prom_registers *context_table,
184 extern int prom_stopcpu(int cpunode);
187 extern int prom_idlecpu(int cpunode);
190 extern int prom_restartcpu(int cpunode);
/linux-4.4.14/arch/sparc/mm/
H A Dsrmmu.c873 phandle cpunode; srmmu_paging_init() local
887 cpunode = prom_getchild(prom_root_node); srmmu_paging_init()
889 while (cpunode != 0) { srmmu_paging_init()
890 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); srmmu_paging_init()
892 num_contexts = prom_getintdefault(cpunode, "mmu-nctx", 0x8); srmmu_paging_init()
895 cpunode = prom_getsibling(cpunode); srmmu_paging_init()
1581 phandle cpunode; get_srmmu_type() local
1585 cpunode = prom_getchild(prom_root_node); get_srmmu_type()
1586 while ((cpunode = prom_getsibling(cpunode)) != 0) { get_srmmu_type()
1587 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); get_srmmu_type()
1589 if (!prom_getintdefault(cpunode, "psr-implementation", 1) && get_srmmu_type()
1590 prom_getintdefault(cpunode, "psr-version", 1) == 5) { get_srmmu_type()
/linux-4.4.14/drivers/edac/
H A Dcpc925_edac.c598 struct device_node *cpunode = NULL; cpc925_cpu_mask_disabled() local
613 while ((cpunode = of_get_next_child(cpus, cpunode)) != NULL) { cpc925_cpu_mask_disabled()
614 const u32 *reg = of_get_property(cpunode, "reg", NULL); cpc925_cpu_mask_disabled()
616 if (strcmp(cpunode->type, "cpu")) { cpc925_cpu_mask_disabled()
617 cpc925_printk(KERN_ERR, "Not a cpu node in /cpus: %s\n", cpunode->name); cpc925_cpu_mask_disabled()
622 cpc925_printk(KERN_ERR, "Bad reg value at %s\n", cpunode->full_name); cpc925_cpu_mask_disabled()
637 of_node_put(cpunode); cpc925_cpu_mask_disabled()
/linux-4.4.14/arch/sparc/include/asm/
H A Doplib_64.h110 void prom_startcpu(int cpunode, unsigned long pc, unsigned long arg);
127 void prom_resumecpu(int cpunode);
H A Doplib_32.h105 int prom_startcpu(int cpunode, struct linux_prom_registers *context_table,

Completed in 318 milliseconds