• Home
  • Raw
  • Download

Lines Matching refs:node

74 static void of_pci_parse_addrs(struct device_node *node, struct pci_dev *dev)  in of_pci_parse_addrs()  argument
84 addrs = of_get_property(node, "assigned-addresses", &proplen); in of_pci_parse_addrs()
124 struct pci_dev *of_create_pci_dev(struct device_node *node, in of_create_pci_dev() argument
134 type = of_get_property(node, "device_type", NULL); in of_create_pci_dev()
140 dev->dev.of_node = of_node_get(node); in of_create_pci_dev()
152 dev->vendor = get_int_prop(node, "vendor-id", 0xffff); in of_create_pci_dev()
153 dev->device = get_int_prop(node, "device-id", 0xffff); in of_create_pci_dev()
154 dev->subsystem_vendor = get_int_prop(node, "subsystem-vendor-id", 0); in of_create_pci_dev()
155 dev->subsystem_device = get_int_prop(node, "subsystem-id", 0); in of_create_pci_dev()
161 dev->class = get_int_prop(node, "class-code", 0); in of_create_pci_dev()
162 dev->revision = get_int_prop(node, "revision-id", 0); in of_create_pci_dev()
188 of_pci_parse_addrs(node, dev); in of_create_pci_dev()
208 struct device_node *node = dev->dev.of_node; in of_scan_pci_bridge() local
217 pr_debug("of_scan_pci_bridge(%s)\n", node->full_name); in of_scan_pci_bridge()
220 busrange = of_get_property(node, "bus-range", &len); in of_scan_pci_bridge()
223 node->full_name); in of_scan_pci_bridge()
226 ranges = of_get_property(node, "ranges", &len); in of_scan_pci_bridge()
229 node->full_name); in of_scan_pci_bridge()
240 node->full_name); in of_scan_pci_bridge()
268 " for bridge %s\n", node->full_name); in of_scan_pci_bridge()
274 " for bridge %s\n", node->full_name); in of_scan_pci_bridge()
295 of_scan_bus(node, bus); in of_scan_pci_bridge()
348 static void __of_scan_bus(struct device_node *node, struct pci_bus *bus, in __of_scan_bus() argument
355 node->full_name, bus->number); in __of_scan_bus()
358 for_each_child_of_node(node, child) { in __of_scan_bus()
385 void of_scan_bus(struct device_node *node, struct pci_bus *bus) in of_scan_bus() argument
387 __of_scan_bus(node, bus, 0); in of_scan_bus()
399 void of_rescan_bus(struct device_node *node, struct pci_bus *bus) in of_rescan_bus() argument
401 __of_scan_bus(node, bus, 1); in of_rescan_bus()