Home
last modified time | relevance | path

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

/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 …]