Home
last modified time | relevance | path

Searched refs:vias (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/arch/powerpc/platforms/powermac/
Dtime.c169 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-v6.1/drivers/macintosh/
Dvia-cuda.c174 static struct device_node *vias; variable
242 if (vias) in find_via_cuda()
244 vias = of_find_node_by_name(NULL, "via-cuda"); in find_via_cuda()
245 if (!vias) in find_via_cuda()
248 reg = of_get_property(vias, "reg", NULL); in find_via_cuda()
253 taddr = of_translate_address(vias, reg); in find_via_cuda()
288 of_node_put(vias); in find_via_cuda()
289 vias = NULL; in find_via_cuda()
302 cuda_irq = irq_of_parse_and_map(vias, 0); in via_cuda_start()
305 vias); in via_cuda_start()
Dvia-pmu.c156 static struct device_node *vias; variable
292 vias = of_find_node_by_name(NULL, "via-pmu"); in find_via_pmu()
293 if (vias == NULL) in find_via_pmu()
296 reg = of_get_property(vias, "reg", NULL); in find_via_pmu()
301 taddr = of_translate_address(vias, reg); in find_via_pmu()
314 if (of_node_name_eq(vias->parent, "ohare") || in find_via_pmu()
315 of_device_is_compatible(vias->parent, "ohare")) in find_via_pmu()
317 else if (of_device_is_compatible(vias->parent, "paddington")) in find_via_pmu()
319 else if (of_device_is_compatible(vias->parent, "heathrow")) in find_via_pmu()
321 else if (of_device_is_compatible(vias->parent, "Keylargo") in find_via_pmu()
[all …]