Home
last modified time | relevance | path

Searched refs:pbus (Results 1 – 20 of 20) sorted by relevance

/arch/sparc/kernel/
Dpci_common.c477 struct pci_bus *pbus) in pci_scan_for_target_abort() argument
482 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_target_abort()
496 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_target_abort()
501 struct pci_bus *pbus) in pci_scan_for_master_abort() argument
506 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_master_abort()
519 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_master_abort()
524 struct pci_bus *pbus) in pci_scan_for_parity_error() argument
529 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_parity_error()
543 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_parity_error()
Dof_device_32.c320 struct of_bus *pbus, in build_one_resource() argument
408 struct of_bus *pbus, *dbus; in build_device_resources() local
437 pbus = of_match_bus(pp); in build_device_resources()
438 pbus->count_cells(dp, &pna, &pns); in build_device_resources()
440 if (build_one_resource(dp, dbus, pbus, addr, in build_device_resources()
444 flags = pbus->get_flags(addr, flags); in build_device_resources()
448 dbus = pbus; in build_device_resources()
Dof_device_64.c399 struct of_bus *pbus, in build_one_resource() argument
511 struct of_bus *pbus, *dbus; in build_device_resources() local
539 pbus = of_match_bus(pp); in build_device_resources()
540 pbus->count_cells(dp, &pna, &pns); in build_device_resources()
542 if (build_one_resource(dp, dbus, pbus, addr, in build_device_resources()
546 flags = pbus->get_flags(addr, flags); in build_device_resources()
550 dbus = pbus; in build_device_resources()
Dpci.c703 void __devinit pcibios_fixup_bus(struct pci_bus *pbus) in pcibios_fixup_bus() argument
705 struct pci_pbm_info *pbm = pbus->sysdata; in pcibios_fixup_bus()
710 pbus->resource[0] = &pbm->io_space; in pcibios_fixup_bus()
711 pbus->resource[1] = &pbm->mem_space; in pcibios_fixup_bus()
979 int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() argument
981 struct pci_pbm_info *pbm = pbus->sysdata; in pcibus_to_node()
990 int pci_domain_nr(struct pci_bus *pbus) in pci_domain_nr() argument
992 struct pci_pbm_info *pbm = pbus->sysdata; in pci_domain_nr()
/arch/x86/pci/
Dfixup.c255 struct pci_bus *pbus; in pcie_rootport_aspm_quirk() local
258 if ((pbus = pdev->subordinate) == NULL) in pcie_rootport_aspm_quirk()
270 if (list_empty(&pbus->devices)) { in pcie_rootport_aspm_quirk()
280 pbus->ops = pbus->parent->ops; in pcie_rootport_aspm_quirk()
288 list_for_each_entry(dev, &pbus->devices, bus_list) { in pcie_rootport_aspm_quirk()
293 pbus->ops = &quirk_pcie_aspm_ops; in pcie_rootport_aspm_quirk()
/arch/sparc/include/asm/
Dtopology_64.h38 extern int pcibus_to_node(struct pci_bus *pbus);
40 static inline int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() argument
/arch/alpha/kernel/
Dcore_polaris.c66 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
69 u8 bus = pbus->number; in mk_conf_addr()
Dcore_tsunami.c90 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
93 struct pci_controller *hose = pbus->sysdata; in mk_conf_addr()
95 u8 bus = pbus->number; in mk_conf_addr()
101 if (!pbus->parent) /* No parent means peer PCI bus. */ in mk_conf_addr()
Dcore_apecs.c91 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
95 u8 bus = pbus->number; in mk_conf_addr()
Dcore_irongate.c82 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
86 u8 bus = pbus->number; in mk_conf_addr()
Dcore_wildfire.c355 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
358 struct pci_controller *hose = pbus->sysdata; in mk_conf_addr()
360 u8 bus = pbus->number; in mk_conf_addr()
366 if (!pbus->parent) /* No parent means peer PCI bus. */ in mk_conf_addr()
Dcore_mcpcia.c169 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where, in mk_conf_addr() argument
173 u8 bus = pbus->number; in mk_conf_addr()
183 if (!pbus->parent) /* No parent means peer PCI bus. */ in mk_conf_addr()
Dcore_lca.c101 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
105 u8 bus = pbus->number; in mk_conf_addr()
Dcore_titan.c115 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
118 struct pci_controller *hose = pbus->sysdata; in mk_conf_addr()
120 u8 bus = pbus->number; in mk_conf_addr()
126 if (!pbus->parent) /* No parent means peer PCI bus. */ in mk_conf_addr()
Dcore_t2.c141 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
145 u8 bus = pbus->number; in mk_conf_addr()
Dcore_marvel.c505 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where) in mk_conf_addr() argument
507 struct pci_controller *hose = pbus->sysdata; in mk_conf_addr()
510 u8 bus = pbus->number; in mk_conf_addr()
520 if (!pbus->parent) { /* No parent means peer PCI bus. */ in mk_conf_addr()
/arch/powerpc/kernel/
Dprom_parse.c423 struct of_bus *pbus, u32 *addr, in of_translate_one() argument
472 return pbus->translate(addr, offset, pna); in of_translate_one()
490 struct of_bus *bus, *pbus; in __of_translate_address() local
534 pbus = of_match_bus(parent); in __of_translate_address()
535 pbus->count_cells(dev, &pna, &pns); in __of_translate_address()
543 pbus->name, pna, pns, parent->full_name); in __of_translate_address()
546 if (of_translate_one(dev, bus, pbus, addr, na, ns, pna, rprop)) in __of_translate_address()
552 bus = pbus; in __of_translate_address()
/arch/ia64/pci/
Dpci.c330 struct pci_bus *pbus; in pci_acpi_scan_root() local
373 pbus = pci_scan_bus_parented(NULL, bus, &pci_root_ops, controller); in pci_acpi_scan_root()
374 if (pbus) in pci_acpi_scan_root()
375 pcibios_setup_root_windows(pbus, controller); in pci_acpi_scan_root()
377 return pbus; in pci_acpi_scan_root()
/arch/x86/kernel/
Dpci-calgary_64.c365 struct pci_bus *pbus; in find_iommu_table() local
370 pbus = pdev->bus; in find_iommu_table()
373 while (pbus->parent) in find_iommu_table()
374 pbus = pbus->parent; in find_iommu_table()
376 tbl = pci_iommu(pbus); in find_iommu_table()
378 BUG_ON(tbl && (tbl->it_busno != pbus->number)); in find_iommu_table()
/arch/powerpc/platforms/powermac/
Dfeature.c812 u8 pbus, pid; in core99_ata100_enable() local
828 if (pci_device_from_OF_node(node, &pbus, &pid) == 0) in core99_ata100_enable()
829 pdev = pci_get_bus_and_slot(pbus, pid); in core99_ata100_enable()