Home
last modified time | relevance | path

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

/arch/sparc/include/asm/
Dtopology_64.h20 int pcibus_to_node(struct pci_bus *pbus);
22 static inline int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() argument
/arch/sparc/kernel/
Dpci.c910 int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() argument
912 struct pci_pbm_info *pbm = pbus->sysdata; in pcibus_to_node()
921 int pci_domain_nr(struct pci_bus *pbus) in pci_domain_nr() argument
923 struct pci_pbm_info *pbm = pbus->sysdata; in pci_domain_nr()
1045 static void pcie_bus_slot_names(struct pci_bus *pbus) in pcie_bus_slot_names() argument
1050 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pcie_bus_slot_names()
1063 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); in pcie_bus_slot_names()
1070 list_for_each_entry(bus, &pbus->children, node) in pcie_bus_slot_names()
1121 struct pci_bus *pbus = NULL; in of_pci_slot_init() local
1123 while ((pbus = pci_find_next_bus(pbus)) != NULL) { in of_pci_slot_init()
[all …]
Dof_device_32.c190 struct of_bus *pbus, in build_one_resource() argument
280 struct of_bus *pbus, *dbus; in build_device_resources() local
309 pbus = of_match_bus(pp); in build_device_resources()
310 pbus->count_cells(dp, &pna, &pns); in build_device_resources()
312 if (build_one_resource(dp, dbus, pbus, addr, in build_device_resources()
316 flags = pbus->get_flags(addr, flags); in build_device_resources()
320 dbus = pbus; in build_device_resources()
Dpci_common.c478 struct pci_bus *pbus) in pci_scan_for_target_abort() argument
483 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_target_abort()
497 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_target_abort()
502 struct pci_bus *pbus) in pci_scan_for_master_abort() argument
507 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_master_abort()
520 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_master_abort()
525 struct pci_bus *pbus) in pci_scan_for_parity_error() argument
530 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_parity_error()
544 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_parity_error()
Dof_device_64.c244 struct of_bus *pbus, in build_one_resource() argument
358 struct of_bus *pbus, *dbus; in build_device_resources() local
386 pbus = of_match_bus(pp); in build_device_resources()
387 pbus->count_cells(dp, &pna, &pns); in build_device_resources()
389 if (build_one_resource(dp, dbus, pbus, addr, in build_device_resources()
393 flags = pbus->get_flags(addr, flags); in build_device_resources()
397 dbus = pbus; in build_device_resources()
/arch/powerpc/kernel/
Dpci_dn.c32 struct pci_bus *pbus; in pci_bus_to_pdn() local
40 pbus = bus; in pci_bus_to_pdn()
41 while (pbus) { in pci_bus_to_pdn()
42 if (pci_is_root_bus(pbus) || pbus->self) in pci_bus_to_pdn()
45 pbus = pbus->parent; in pci_bus_to_pdn()
52 dn = pci_bus_to_OF_node(pbus); in pci_bus_to_pdn()
/arch/x86/pci/
Dfixup.c245 struct pci_bus *pbus; in pcie_rootport_aspm_quirk() local
248 if ((pbus = pdev->subordinate) == NULL) in pcie_rootport_aspm_quirk()
260 if (list_empty(&pbus->devices)) { in pcie_rootport_aspm_quirk()
270 pci_bus_set_ops(pbus, pbus->parent->ops); in pcie_rootport_aspm_quirk()
278 list_for_each_entry(dev, &pbus->devices, bus_list) in pcie_rootport_aspm_quirk()
283 pci_bus_set_ops(pbus, &quirk_pcie_aspm_ops); in pcie_rootport_aspm_quirk()
284 dev_info(&pbus->dev, "writes to ASPM control bits will be ignored\n"); in pcie_rootport_aspm_quirk()
/arch/alpha/kernel/
Dcore_polaris.c67 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
70 u8 bus = pbus->number; in mk_conf_addr()
Dcore_tsunami.c92 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
95 struct pci_controller *hose = pbus->sysdata; in mk_conf_addr()
97 u8 bus = pbus->number; in mk_conf_addr()
103 if (!pbus->parent) /* No parent means peer PCI bus. */ in mk_conf_addr()
Dcore_apecs.c93 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
97 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.c358 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
361 struct pci_controller *hose = pbus->sysdata; in mk_conf_addr()
363 u8 bus = pbus->number; in mk_conf_addr()
369 if (!pbus->parent) /* No parent means peer PCI bus. */ in mk_conf_addr()
Dcore_mcpcia.c170 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where, in mk_conf_addr() argument
174 u8 bus = pbus->number; in mk_conf_addr()
184 if (!pbus->parent) /* No parent means peer PCI bus. */ in mk_conf_addr()
Dcore_lca.c102 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument
106 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_marvel.c512 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where) in mk_conf_addr() argument
514 struct pci_controller *hose = pbus->sysdata; in mk_conf_addr()
517 u8 bus = pbus->number; in mk_conf_addr()
527 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()
/arch/powerpc/platforms/powernv/
Dpci-ioda.c72 pci_domain_nr(pe->pbus), pe->pbus->number); in pe_level_printk()
772 pdev = pe->pbus->self; in pnv_ioda_set_peltv()
832 if (pe->pbus) { in pnv_ioda_deconfigure_pe()
837 parent = pe->pbus->self; in pnv_ioda_deconfigure_pe()
839 count = resource_size(&pe->pbus->busn_res); in pnv_ioda_deconfigure_pe()
851 dev_err(&pe->pbus->dev, "Number of subordinate buses %d unsupported\n", in pnv_ioda_deconfigure_pe()
886 pe->pbus = NULL; in pnv_ioda_deconfigure_pe()
901 if (pe->pbus) { in pnv_ioda_configure_pe()
907 count = resource_size(&pe->pbus->busn_res); in pnv_ioda_configure_pe()
919 dev_err(&pe->pbus->dev, "Number of subordinate buses %d unsupported\n", in pnv_ioda_configure_pe()
[all …]
Dpci.h72 struct pci_bus *pbus; member
Dnpu-dma.c440 list_for_each_entry(gpdev, &pe->pbus->devices, bus_list) { in pnv_try_setup_npu_table_group()
665 list_for_each_entry(gpdev, &gpe->pbus->devices, bus_list) in pnv_npu2_map_lpar()
Dpci-sriov.c645 pe->pbus = NULL; in pnv_ioda_setup_vf_PE()
/arch/mips/include/asm/octeon/
Dcvmx-pescx-defs.h200 uint64_t pbus:8; member
228 uint64_t pbus:8;
237 uint64_t pbus:8; member
265 uint64_t pbus:8;
Dcvmx-pemx-defs.h211 uint64_t pbus:8; member
241 uint64_t pbus:8;
/arch/powerpc/platforms/powermac/
Dfeature.c810 u8 pbus, pid; in core99_ata100_enable() local
826 if (pci_device_from_OF_node(node, &pbus, &pid) == 0) in core99_ata100_enable()
827 pdev = pci_get_domain_bus_and_slot(0, pbus, pid); in core99_ata100_enable()