Home
last modified time | relevance | path

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

/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 …]
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()
196 maple_pmode_data = of_get_property(cpunode, "power-mode-data", &psize); in maple_cpufreq_init()
210 valp = of_get_property(cpunode, "clock-frequency", NULL); in maple_cpufreq_init()
233 of_node_put(cpunode); in maple_cpufreq_init()
238 of_node_put(cpunode); in maple_cpufreq_init()
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()
434 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_neo2_cpufreq_init()
472 of_node_put(cpunode); in g5_neo2_cpufreq_init()
480 static int __init g5_pm72_cpufreq_init(struct device_node *cpunode) in g5_pm72_cpufreq_init() argument
568 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_pm72_cpufreq_init()
644 of_node_put(cpunode); in g5_pm72_cpufreq_init()
651 struct device_node *cpunode; in g5_cpufreq_init() local
655 cpunode = of_cpu_device_node_get(0); in g5_cpufreq_init()
[all …]
/drivers/edac/
Dcpc925_edac.c598 struct device_node *cpunode = NULL; in cpc925_cpu_mask_disabled() local
613 while ((cpunode = of_get_next_child(cpus, cpunode)) != NULL) { in cpc925_cpu_mask_disabled()
614 const u32 *reg = of_get_property(cpunode, "reg", NULL); in cpc925_cpu_mask_disabled()
616 if (strcmp(cpunode->type, "cpu")) { in cpc925_cpu_mask_disabled()
617 cpc925_printk(KERN_ERR, "Not a cpu node in /cpus: %s\n", cpunode->name); in cpc925_cpu_mask_disabled()
622 cpc925_printk(KERN_ERR, "Bad reg value at %s\n", cpunode->full_name); in cpc925_cpu_mask_disabled()
637 of_node_put(cpunode); in cpc925_cpu_mask_disabled()