Lines Matching full:pbus
767 int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() argument
769 struct pci_pbm_info *pbm = pbus->sysdata; in pcibus_to_node()
778 int pci_domain_nr(struct pci_bus *pbus) in pci_domain_nr() argument
780 struct pci_pbm_info *pbm = pbus->sysdata; in pci_domain_nr()
902 static void pcie_bus_slot_names(struct pci_bus *pbus) in pcie_bus_slot_names() argument
907 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pcie_bus_slot_names()
920 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); in pcie_bus_slot_names()
927 list_for_each_entry(bus, &pbus->children, node) in pcie_bus_slot_names()
978 struct pci_bus *pbus = NULL; in of_pci_slot_init() local
980 while ((pbus = pci_find_next_bus(pbus)) != NULL) { in of_pci_slot_init()
984 pdev = list_first_entry(&pbus->devices, struct pci_dev, in of_pci_slot_init()
988 pcie_bus_slot_names(pbus); in of_pci_slot_init()
991 if (pbus->self) { in of_pci_slot_init()
994 node = pbus->self->dev.of_node; in of_pci_slot_init()
997 struct pci_pbm_info *pbm = pbus->sysdata; in of_pci_slot_init()
1003 pci_bus_slot_names(node, pbus); in of_pci_slot_init()