Lines Matching defs:node
60 static int __init fixup_one_level_bus_range(struct device_node *node, int higher)
62 for (; node; node = node->sibling) {
68 class_code = of_get_property(node, "class-code", NULL);
72 bus_range = of_get_property(node, "bus-range", &len);
77 higher = fixup_one_level_bus_range(node->child, higher);
436 * it by setting the node of the bridge to point to the PHB node,
725 * /ht node doesn't expose a "ranges" property, we read the register
957 struct device_node* node;
961 node = pci_device_to_OF_node(dev);
968 && !node) {
974 if (!node)
977 uninorth_child = node->parent &&
978 of_device_is_compatible(node->parent, "uni-north");
983 if (uninorth_child && of_node_name_eq(node, "firewire") &&
984 (of_device_is_compatible(node, "pci106b,18") ||
985 of_device_is_compatible(node, "pci106b,30") ||
986 of_device_is_compatible(node, "pci11c1,5811"))) {
987 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, node, 0, 1);
988 pmac_call_feature(PMAC_FTR_1394_ENABLE, node, 0, 1);
991 if (uninorth_child && of_node_name_eq(node, "ethernet") &&
992 of_device_is_compatible(node, "gmac")) {
993 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, node, 0, 1);
1021 struct device_node *node = pci_device_to_OF_node(dev);
1026 if (dev->class == PCI_CLASS_SERIAL_USB_OHCI && !node)
1240 struct device_node *node = pci_bus_to_OF_node(bus);
1246 if (bus->self == NULL && (of_device_is_compatible(node, "u3-agp") ||
1247 of_device_is_compatible(node, "u4-pcie") ||
1248 of_device_is_compatible(node, "u3-ht")))