Searched refs:cpunode (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/drivers/cpufreq/ |
D | pmac32-cpufreq.c | 452 static int pmac_cpufreq_init_MacRISC3(struct device_node *cpunode) in pmac_cpufreq_init_MacRISC3() argument 488 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); in pmac_cpufreq_init_MacRISC3() 494 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2", in pmac_cpufreq_init_MacRISC3() 530 value = of_get_property(cpunode, "min-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3() 539 value = of_get_property(cpunode, "max-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3() 549 static int pmac_cpufreq_init_7447A(struct device_node *cpunode) in pmac_cpufreq_init_7447A() argument 553 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_7447A() 577 static int pmac_cpufreq_init_750FX(struct device_node *cpunode) in pmac_cpufreq_init_750FX() argument 583 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_750FX() 587 value = of_get_property(cpunode, "reduced-clock-frequency", NULL); in pmac_cpufreq_init_750FX() [all …]
|
D | maple-cpufreq.c | 161 struct device_node *cpunode; in maple_cpufreq_init() local 177 cpunode = of_cpu_device_node_get(0); in maple_cpufreq_init() 178 if (cpunode == NULL) { in maple_cpufreq_init() 197 maple_pmode_data = of_get_property(cpunode, "power-mode-data", &psize); in maple_cpufreq_init() 211 valp = of_get_property(cpunode, "clock-frequency", NULL); in maple_cpufreq_init() 234 of_node_put(cpunode); in maple_cpufreq_init() 239 of_node_put(cpunode); in maple_cpufreq_init()
|
D | pmac64-cpufreq.c | 343 static int __init g5_neo2_cpufreq_init(struct device_node *cpunode) in g5_neo2_cpufreq_init() argument 366 valp = of_get_property(cpunode, "cpu-version", NULL); in g5_neo2_cpufreq_init() 378 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() 643 of_node_put(cpunode); in g5_pm72_cpufreq_init() 650 struct device_node *cpunode; in g5_cpufreq_init() local 654 cpunode = of_cpu_device_node_get(0); in g5_cpufreq_init() [all …]
|
/linux-4.19.296/drivers/edac/ |
D | cpc925_edac.c | 597 struct device_node *cpunode = NULL; in cpc925_cpu_mask_disabled() local 612 while ((cpunode = of_get_next_child(cpus, cpunode)) != NULL) { in cpc925_cpu_mask_disabled() 613 const u32 *reg = of_get_property(cpunode, "reg", NULL); in cpc925_cpu_mask_disabled() 615 if (strcmp(cpunode->type, "cpu")) { in cpc925_cpu_mask_disabled() 616 cpc925_printk(KERN_ERR, "Not a cpu node in /cpus: %s\n", cpunode->name); in cpc925_cpu_mask_disabled() 621 cpc925_printk(KERN_ERR, "Bad reg value at %pOF\n", cpunode); in cpc925_cpu_mask_disabled() 636 of_node_put(cpunode); in cpc925_cpu_mask_disabled()
|