• Home
  • Raw
  • Download

Lines Matching refs:parent

45 		pbus = pbus->parent;  in pci_bus_to_pdn()
62 struct pci_dn *parent, *pdn; in pci_get_pdn_by_devfn() local
82 parent = pci_bus_to_pdn(bus); in pci_get_pdn_by_devfn()
83 if (!parent) in pci_get_pdn_by_devfn()
86 list_for_each_entry(pdn, &parent->child_list, list) { in pci_get_pdn_by_devfn()
98 struct pci_dn *parent, *pdn; in pci_get_pdn() local
114 parent = pci_bus_to_pdn(pdev->bus); in pci_get_pdn()
115 if (!parent) in pci_get_pdn()
118 list_for_each_entry(pdn, &parent->child_list, list) { in pci_get_pdn()
128 static struct pci_dn *add_one_dev_pci_data(struct pci_dn *parent, in add_one_dev_pci_data() argument
135 if (!parent) in add_one_dev_pci_data()
142 pdn->phb = parent->phb; in add_one_dev_pci_data()
143 pdn->parent = parent; in add_one_dev_pci_data()
150 list_add_tail(&pdn->list, &parent->child_list); in add_one_dev_pci_data()
159 struct pci_dn *parent, *pdn; in add_dev_pci_data() local
172 parent = pci_bus_to_pdn(pdev->bus); in add_dev_pci_data()
173 if (!parent) in add_dev_pci_data()
179 pdn = add_one_dev_pci_data(parent, i, in add_dev_pci_data()
203 struct pci_dn *parent; in remove_dev_pci_data() local
228 parent = pci_bus_to_pdn(pdev->bus); in remove_dev_pci_data()
229 if (!parent) in remove_dev_pci_data()
241 &parent->child_list, list) { in remove_dev_pci_data()
282 struct device_node *parent; in pci_add_device_node_info() local
326 parent = of_get_parent(dn); in pci_add_device_node_info()
327 pdn->parent = parent ? PCI_DN(parent) : NULL; in pci_add_device_node_info()
328 of_node_put(parent); in pci_add_device_node_info()
329 if (pdn->parent) in pci_add_device_node_info()
330 list_add_tail(&pdn->list, &pdn->parent->child_list); in pci_add_device_node_info()
339 struct device_node *parent; in pci_remove_device_node_info() local
355 parent = of_get_parent(dn); in pci_remove_device_node_info()
356 if (parent) in pci_remove_device_node_info()
357 of_node_put(parent); in pci_remove_device_node_info()
431 dn = dn->parent; in pci_traverse_device_nodes()
455 if (next != &pdn->parent->child_list) in pci_dn_next_one()
458 pdn = pdn->parent; in pci_dn_next_one()