Lines Matching defs:node
59 static int __init fixup_one_level_bus_range(struct device_node *node, int higher)
61 for (; node; node = node->sibling) {
67 class_code = of_get_property(node, "class-code", NULL);
71 bus_range = of_get_property(node, "bus-range", &len);
76 higher = fixup_one_level_bus_range(node->child, higher);
435 * it by setting the node of the bridge to point to the PHB node,
724 * /ht node doesn't expose a "ranges" property, we read the register
952 struct device_node* node;
956 node = pci_device_to_OF_node(dev);
963 && !node) {
969 if (!node)
972 uninorth_child = node->parent &&
973 of_device_is_compatible(node->parent, "uni-north");
978 if (uninorth_child && of_node_name_eq(node, "firewire") &&
979 (of_device_is_compatible(node, "pci106b,18") ||
980 of_device_is_compatible(node, "pci106b,30") ||
981 of_device_is_compatible(node, "pci11c1,5811"))) {
982 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, node, 0, 1);
983 pmac_call_feature(PMAC_FTR_1394_ENABLE, node, 0, 1);
986 if (uninorth_child && of_node_name_eq(node, "ethernet") &&
987 of_device_is_compatible(node, "gmac")) {
988 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, node, 0, 1);
1016 struct device_node *node = pci_device_to_OF_node(dev);
1021 if (dev->class == PCI_CLASS_SERIAL_USB_OHCI && !node)
1235 struct device_node *node = pci_bus_to_OF_node(bus);
1241 if (bus->self == NULL && (of_device_is_compatible(node, "u3-agp") ||
1242 of_device_is_compatible(node, "u4-pcie") ||
1243 of_device_is_compatible(node, "u3-ht")))