Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Dpci.c767 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()
[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.c479 struct pci_bus *pbus) in pci_scan_for_target_abort() argument
484 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_target_abort()
498 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_target_abort()
503 struct pci_bus *pbus) in pci_scan_for_master_abort() argument
508 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_master_abort()
521 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_master_abort()
526 struct pci_bus *pbus) in pci_scan_for_parity_error() argument
531 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_parity_error()
545 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/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/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.c510 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where) in mk_conf_addr() argument
512 struct pci_controller *hose = pbus->sysdata; in mk_conf_addr()
515 u8 bus = pbus->number; in mk_conf_addr()
525 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/x86/pci/
Dfixup.c247 struct pci_bus *pbus; in pcie_rootport_aspm_quirk() local
250 if ((pbus = pdev->subordinate) == NULL) in pcie_rootport_aspm_quirk()
262 if (list_empty(&pbus->devices)) { in pcie_rootport_aspm_quirk()
272 pci_bus_set_ops(pbus, pbus->parent->ops); in pcie_rootport_aspm_quirk()
280 list_for_each_entry(dev, &pbus->devices, bus_list) in pcie_rootport_aspm_quirk()
285 pci_bus_set_ops(pbus, &quirk_pcie_aspm_ops); in pcie_rootport_aspm_quirk()
286 dev_info(&pbus->dev, "writes to ASPM control bits will be ignored\n"); in pcie_rootport_aspm_quirk()
/arch/powerpc/platforms/powernv/
Dpci-ioda.c70 pci_domain_nr(pe->pbus), pe->pbus->number); in pe_level_printk()
685 pdev = pe->pbus->self; in pnv_ioda_set_peltv()
745 if (pe->pbus) { in pnv_ioda_deconfigure_pe()
750 parent = pe->pbus->self; in pnv_ioda_deconfigure_pe()
752 count = resource_size(&pe->pbus->busn_res); in pnv_ioda_deconfigure_pe()
764 dev_err(&pe->pbus->dev, "Number of subordinate buses %d unsupported\n", in pnv_ioda_deconfigure_pe()
799 pe->pbus = NULL; in pnv_ioda_deconfigure_pe()
814 if (pe->pbus) { in pnv_ioda_configure_pe()
820 count = resource_size(&pe->pbus->busn_res); in pnv_ioda_configure_pe()
832 dev_err(&pe->pbus->dev, "Number of subordinate buses %d unsupported\n", in pnv_ioda_configure_pe()
[all …]
Dpci.h68 struct pci_bus *pbus; member
Dpci-sriov.c639 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.c811 u8 pbus, pid; in core99_ata100_enable() local
827 if (pci_device_from_OF_node(node, &pbus, &pid) == 0) in core99_ata100_enable()
828 pdev = pci_get_domain_bus_and_slot(0, pbus, pid); in core99_ata100_enable()
/arch/arm/boot/dts/qcom/
Dqcom-ipq8064.dtsi977 reset-names = "clk", "pbus", "c0", "c1", "c2";