Searched refs:vias (Results 1 – 3 of 3) sorted by relevance
/linux/arch/powerpc/platforms/powermac/ |
A D | time.c | 169 struct device_node *vias; in via_calibrate_decr() local 175 vias = of_find_node_by_name(NULL, "via-cuda"); in via_calibrate_decr() 176 if (vias == NULL) in via_calibrate_decr() 177 vias = of_find_node_by_name(NULL, "via-pmu"); in via_calibrate_decr() 178 if (vias == NULL) in via_calibrate_decr() 179 vias = of_find_node_by_name(NULL, "via"); in via_calibrate_decr() 180 if (vias == NULL || of_address_to_resource(vias, 0, &rsrc)) { in via_calibrate_decr() 181 of_node_put(vias); in via_calibrate_decr() 184 of_node_put(vias); in via_calibrate_decr()
|
/linux/drivers/macintosh/ |
A D | via-cuda.c | 171 static struct device_node *vias; variable 239 if (vias != 0) in find_via_cuda() 241 vias = of_find_node_by_name(NULL, "via-cuda"); in find_via_cuda() 242 if (vias == 0) in find_via_cuda() 245 reg = of_get_property(vias, "reg", NULL); in find_via_cuda() 250 taddr = of_translate_address(vias, reg); in find_via_cuda() 285 of_node_put(vias); in find_via_cuda() 286 vias = NULL; in find_via_cuda() 299 cuda_irq = irq_of_parse_and_map(vias, 0); in via_cuda_start() 302 vias); in via_cuda_start()
|
A D | via-pmu.c | 157 static struct device_node *vias; variable 293 vias = of_find_node_by_name(NULL, "via-pmu"); in find_via_pmu() 294 if (vias == NULL) in find_via_pmu() 297 reg = of_get_property(vias, "reg", NULL); in find_via_pmu() 302 taddr = of_translate_address(vias, reg); in find_via_pmu() 317 if (of_node_name_eq(vias->parent, "ohare") || in find_via_pmu() 318 of_device_is_compatible(vias->parent, "ohare")) in find_via_pmu() 324 else if (of_device_is_compatible(vias->parent, "Keylargo") in find_via_pmu() 381 of_node_put(vias); in find_via_pmu() 382 vias = NULL; in find_via_pmu() [all …]
|
Completed in 9 milliseconds