Home
last modified time | relevance | path

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

/drivers/macintosh/
Dvia-cuda.c171 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()
Dvia-pmu.c157 static struct device_node *vias; variable
294 vias = of_find_node_by_name(NULL, "via-pmu"); in find_via_pmu()
295 if (vias == NULL) in find_via_pmu()
298 reg = of_get_property(vias, "reg", NULL); in find_via_pmu()
303 taddr = of_translate_address(vias, reg); in find_via_pmu()
318 if (of_node_name_eq(vias->parent, "ohare") || in find_via_pmu()
319 of_device_is_compatible(vias->parent, "ohare")) in find_via_pmu()
321 else if (of_device_is_compatible(vias->parent, "paddington")) in find_via_pmu()
323 else if (of_device_is_compatible(vias->parent, "heathrow")) in find_via_pmu()
325 else if (of_device_is_compatible(vias->parent, "Keylargo") in find_via_pmu()
[all …]