Lines Matching defs:node
37 struct device_node *node;
77 for (node = of_find_node_by_type(NULL, "pci"); node != NULL;
78 node = of_find_node_by_type(node, "pci")) {
79 basep = of_get_property(node, "linux,tce-base", NULL);
80 sizep = of_get_property(node, "linux,tce-size", NULL);
359 struct device_node *node;
366 node = of_find_node_by_path("/chosen");
367 if (!node)
371 prop = of_find_property(node, htab_base_prop.name, NULL);
373 prom_remove_property(node, prop);
374 prop = of_find_property(node, htab_size_prop.name, NULL);
376 prom_remove_property(node, prop);
379 prom_add_property(node, &htab_base_prop);
380 prom_add_property(node, &htab_size_prop);
382 of_node_put(node);