Lines Matching refs:node
37 struct device_node *node = np; in pnv_pci_get_slot_id() local
47 for (node = np; node; node = of_get_parent(node)) { in pnv_pci_get_slot_id()
48 if (!PCI_DN(node)) { in pnv_pci_get_slot_id()
49 of_node_put(node); in pnv_pci_get_slot_id()
53 if (!of_device_is_compatible(node, "ibm,ioda2-phb") && in pnv_pci_get_slot_id()
54 !of_device_is_compatible(node, "ibm,ioda3-phb") && in pnv_pci_get_slot_id()
55 !of_device_is_compatible(node, "ibm,ioda2-npu2-opencapi-phb")) { in pnv_pci_get_slot_id()
56 of_node_put(node); in pnv_pci_get_slot_id()
60 ret = of_property_read_u64(node, "ibm,opal-phbid", &phbid); in pnv_pci_get_slot_id()
62 of_node_put(node); in pnv_pci_get_slot_id()
66 if (of_device_is_compatible(node, "ibm,ioda2-npu2-opencapi-phb")) in pnv_pci_get_slot_id()