pbus 93 arch/alpha/kernel/core_apecs.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, pbus 97 arch/alpha/kernel/core_apecs.c u8 bus = pbus->number; pbus 82 arch/alpha/kernel/core_irongate.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, pbus 86 arch/alpha/kernel/core_irongate.c u8 bus = pbus->number; pbus 102 arch/alpha/kernel/core_lca.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, pbus 106 arch/alpha/kernel/core_lca.c u8 bus = pbus->number; pbus 513 arch/alpha/kernel/core_marvel.c mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where) pbus 515 arch/alpha/kernel/core_marvel.c struct pci_controller *hose = pbus->sysdata; pbus 518 arch/alpha/kernel/core_marvel.c u8 bus = pbus->number; pbus 528 arch/alpha/kernel/core_marvel.c if (!pbus->parent) { /* No parent means peer PCI bus. */ pbus 170 arch/alpha/kernel/core_mcpcia.c mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where, pbus 174 arch/alpha/kernel/core_mcpcia.c u8 bus = pbus->number; pbus 184 arch/alpha/kernel/core_mcpcia.c if (!pbus->parent) /* No parent means peer PCI bus. */ pbus 67 arch/alpha/kernel/core_polaris.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, pbus 70 arch/alpha/kernel/core_polaris.c u8 bus = pbus->number; pbus 141 arch/alpha/kernel/core_t2.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, pbus 145 arch/alpha/kernel/core_t2.c u8 bus = pbus->number; pbus 116 arch/alpha/kernel/core_titan.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, pbus 119 arch/alpha/kernel/core_titan.c struct pci_controller *hose = pbus->sysdata; pbus 121 arch/alpha/kernel/core_titan.c u8 bus = pbus->number; pbus 127 arch/alpha/kernel/core_titan.c if (!pbus->parent) /* No parent means peer PCI bus. */ pbus 92 arch/alpha/kernel/core_tsunami.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, pbus 95 arch/alpha/kernel/core_tsunami.c struct pci_controller *hose = pbus->sysdata; pbus 97 arch/alpha/kernel/core_tsunami.c u8 bus = pbus->number; pbus 103 arch/alpha/kernel/core_tsunami.c if (!pbus->parent) /* No parent means peer PCI bus. */ pbus 358 arch/alpha/kernel/core_wildfire.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, pbus 361 arch/alpha/kernel/core_wildfire.c struct pci_controller *hose = pbus->sysdata; pbus 363 arch/alpha/kernel/core_wildfire.c u8 bus = pbus->number; pbus 369 arch/alpha/kernel/core_wildfire.c if (!pbus->parent) /* No parent means peer PCI bus. */ pbus 211 arch/mips/include/asm/octeon/cvmx-pemx-defs.h uint64_t pbus:8; pbus 241 arch/mips/include/asm/octeon/cvmx-pemx-defs.h uint64_t pbus:8; pbus 200 arch/mips/include/asm/octeon/cvmx-pescx-defs.h uint64_t pbus:8; pbus 228 arch/mips/include/asm/octeon/cvmx-pescx-defs.h uint64_t pbus:8; pbus 237 arch/mips/include/asm/octeon/cvmx-pescx-defs.h uint64_t pbus:8; pbus 265 arch/mips/include/asm/octeon/cvmx-pescx-defs.h uint64_t pbus:8; pbus 32 arch/powerpc/kernel/pci_dn.c struct pci_bus *pbus; pbus 40 arch/powerpc/kernel/pci_dn.c pbus = bus; pbus 41 arch/powerpc/kernel/pci_dn.c while (pbus) { pbus 42 arch/powerpc/kernel/pci_dn.c if (pci_is_root_bus(pbus) || pbus->self) pbus 45 arch/powerpc/kernel/pci_dn.c pbus = pbus->parent; pbus 52 arch/powerpc/kernel/pci_dn.c dn = pci_bus_to_OF_node(pbus); pbus 810 arch/powerpc/platforms/powermac/feature.c u8 pbus, pid; pbus 826 arch/powerpc/platforms/powermac/feature.c if (pci_device_from_OF_node(node, &pbus, &pid) == 0) pbus 827 arch/powerpc/platforms/powermac/feature.c pdev = pci_get_domain_bus_and_slot(0, pbus, pid); pbus 436 arch/powerpc/platforms/powernv/npu-dma.c list_for_each_entry(gpdev, &pe->pbus->devices, bus_list) { pbus 595 arch/powerpc/platforms/powernv/npu-dma.c list_for_each_entry(gpdev, &gpe->pbus->devices, bus_list) pbus 71 arch/powerpc/platforms/powernv/pci-ioda.c pci_domain_nr(pe->pbus), pe->pbus->number); pbus 756 arch/powerpc/platforms/powernv/pci-ioda.c pdev = pe->pbus->self; pbus 788 arch/powerpc/platforms/powernv/pci-ioda.c if (pe->pbus) { pbus 793 arch/powerpc/platforms/powernv/pci-ioda.c parent = pe->pbus->self; pbus 795 arch/powerpc/platforms/powernv/pci-ioda.c count = pe->pbus->busn_res.end - pe->pbus->busn_res.start + 1; pbus 807 arch/powerpc/platforms/powernv/pci-ioda.c dev_err(&pe->pbus->dev, "Number of subordinate buses %d unsupported\n", pbus 854 arch/powerpc/platforms/powernv/pci-ioda.c pe->pbus = NULL; pbus 870 arch/powerpc/platforms/powernv/pci-ioda.c if (pe->pbus) { pbus 875 arch/powerpc/platforms/powernv/pci-ioda.c parent = pe->pbus->self; pbus 877 arch/powerpc/platforms/powernv/pci-ioda.c count = pe->pbus->busn_res.end - pe->pbus->busn_res.start + 1; pbus 889 arch/powerpc/platforms/powernv/pci-ioda.c dev_err(&pe->pbus->dev, "Number of subordinate buses %d unsupported\n", pbus 1076 arch/powerpc/platforms/powernv/pci-ioda.c pe->pbus = NULL; pbus 1169 arch/powerpc/platforms/powernv/pci-ioda.c pe->pbus = bus; pbus 1185 arch/powerpc/platforms/powernv/pci-ioda.c pe->pbus = NULL; pbus 1574 arch/powerpc/platforms/powernv/pci-ioda.c pe->pbus = NULL; pbus 1867 arch/powerpc/platforms/powernv/pci-ioda.c (pe->device_count == 1 || !pe->pbus) && pbus 2159 arch/powerpc/platforms/powernv/pci-ioda.c } else if ((pe->flags & PNV_IODA_PE_BUS) && pe->pbus) { pbus 2162 arch/powerpc/platforms/powernv/pci-ioda.c list_for_each_entry(pdev, &pe->pbus->devices, bus_list) pbus 2164 arch/powerpc/platforms/powernv/pci-ioda.c } else if ((pe->flags & PNV_IODA_PE_BUS_ALL) && pe->pbus) { pbus 2165 arch/powerpc/platforms/powernv/pci-ioda.c pci_walk_bus(pe->pbus, pnv_pci_ioda_dev_dma_weight, &weight); pbus 2282 arch/powerpc/platforms/powernv/pci-ioda.c pnv_ioda_setup_bus_dma(pe, pe->pbus); pbus 2555 arch/powerpc/platforms/powernv/pci-ioda.c if (pe->pbus) pbus 2556 arch/powerpc/platforms/powernv/pci-ioda.c pnv_ioda_setup_bus_dma(pe, pe->pbus); pbus 2568 arch/powerpc/platforms/powernv/pci-ioda.c if (pe->pbus) pbus 2569 arch/powerpc/platforms/powernv/pci-ioda.c pnv_ioda_setup_bus_dma(pe, pe->pbus); pbus 2651 arch/powerpc/platforms/powernv/pci-ioda.c pe->pbus); pbus 2742 arch/powerpc/platforms/powernv/pci-ioda.c pnv_ioda_setup_bus_dma(pe, pe->pbus); pbus 3077 arch/powerpc/platforms/powernv/pci-ioda.c list_for_each_entry(pdev, &pe->pbus->devices, bus_list) { pbus 832 arch/powerpc/platforms/powernv/pci.c if (!pe->pbus) pbus 836 arch/powerpc/platforms/powernv/pci.c pe->pbus = bus; pbus 54 arch/powerpc/platforms/powernv/pci.h struct pci_bus *pbus; pbus 20 arch/sparc/include/asm/topology_64.h int pcibus_to_node(struct pci_bus *pbus); pbus 22 arch/sparc/include/asm/topology_64.h static inline int pcibus_to_node(struct pci_bus *pbus) pbus 190 arch/sparc/kernel/of_device_32.c struct of_bus *pbus, pbus 280 arch/sparc/kernel/of_device_32.c struct of_bus *pbus, *dbus; pbus 309 arch/sparc/kernel/of_device_32.c pbus = of_match_bus(pp); pbus 310 arch/sparc/kernel/of_device_32.c pbus->count_cells(dp, &pna, &pns); pbus 312 arch/sparc/kernel/of_device_32.c if (build_one_resource(dp, dbus, pbus, addr, pbus 316 arch/sparc/kernel/of_device_32.c flags = pbus->get_flags(addr, flags); pbus 320 arch/sparc/kernel/of_device_32.c dbus = pbus; pbus 244 arch/sparc/kernel/of_device_64.c struct of_bus *pbus, pbus 358 arch/sparc/kernel/of_device_64.c struct of_bus *pbus, *dbus; pbus 386 arch/sparc/kernel/of_device_64.c pbus = of_match_bus(pp); pbus 387 arch/sparc/kernel/of_device_64.c pbus->count_cells(dp, &pna, &pns); pbus 389 arch/sparc/kernel/of_device_64.c if (build_one_resource(dp, dbus, pbus, addr, pbus 393 arch/sparc/kernel/of_device_64.c flags = pbus->get_flags(addr, flags); pbus 397 arch/sparc/kernel/of_device_64.c dbus = pbus; pbus 910 arch/sparc/kernel/pci.c int pcibus_to_node(struct pci_bus *pbus) pbus 912 arch/sparc/kernel/pci.c struct pci_pbm_info *pbm = pbus->sysdata; pbus 921 arch/sparc/kernel/pci.c int pci_domain_nr(struct pci_bus *pbus) pbus 923 arch/sparc/kernel/pci.c struct pci_pbm_info *pbm = pbus->sysdata; pbus 1045 arch/sparc/kernel/pci.c static void pcie_bus_slot_names(struct pci_bus *pbus) pbus 1050 arch/sparc/kernel/pci.c list_for_each_entry(pdev, &pbus->devices, bus_list) { pbus 1063 arch/sparc/kernel/pci.c pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); pbus 1070 arch/sparc/kernel/pci.c list_for_each_entry(bus, &pbus->children, node) pbus 1121 arch/sparc/kernel/pci.c struct pci_bus *pbus = NULL; pbus 1123 arch/sparc/kernel/pci.c while ((pbus = pci_find_next_bus(pbus)) != NULL) { pbus 1127 arch/sparc/kernel/pci.c pdev = list_first_entry(&pbus->devices, struct pci_dev, pbus 1131 arch/sparc/kernel/pci.c pcie_bus_slot_names(pbus); pbus 1134 arch/sparc/kernel/pci.c if (pbus->self) { pbus 1137 arch/sparc/kernel/pci.c node = pbus->self->dev.of_node; pbus 1140 arch/sparc/kernel/pci.c struct pci_pbm_info *pbm = pbus->sysdata; pbus 1146 arch/sparc/kernel/pci.c pci_bus_slot_names(node, pbus); pbus 478 arch/sparc/kernel/pci_common.c struct pci_bus *pbus) pbus 483 arch/sparc/kernel/pci_common.c list_for_each_entry(pdev, &pbus->devices, bus_list) { pbus 497 arch/sparc/kernel/pci_common.c list_for_each_entry(bus, &pbus->children, node) pbus 502 arch/sparc/kernel/pci_common.c struct pci_bus *pbus) pbus 507 arch/sparc/kernel/pci_common.c list_for_each_entry(pdev, &pbus->devices, bus_list) { pbus 520 arch/sparc/kernel/pci_common.c list_for_each_entry(bus, &pbus->children, node) pbus 525 arch/sparc/kernel/pci_common.c struct pci_bus *pbus) pbus 530 arch/sparc/kernel/pci_common.c list_for_each_entry(pdev, &pbus->devices, bus_list) { pbus 544 arch/sparc/kernel/pci_common.c list_for_each_entry(bus, &pbus->children, node) pbus 305 arch/x86/kernel/pci-calgary_64.c struct pci_bus *pbus; pbus 311 arch/x86/kernel/pci-calgary_64.c pbus = pdev->bus; pbus 313 arch/x86/kernel/pci-calgary_64.c tbl = pci_iommu(pbus); pbus 314 arch/x86/kernel/pci-calgary_64.c if (tbl && tbl->it_busno == pbus->number) pbus 317 arch/x86/kernel/pci-calgary_64.c pbus = pbus->parent; pbus 318 arch/x86/kernel/pci-calgary_64.c } while (pbus); pbus 320 arch/x86/kernel/pci-calgary_64.c BUG_ON(tbl && (tbl->it_busno != pbus->number)); pbus 244 arch/x86/pci/fixup.c struct pci_bus *pbus; pbus 247 arch/x86/pci/fixup.c if ((pbus = pdev->subordinate) == NULL) pbus 259 arch/x86/pci/fixup.c if (list_empty(&pbus->devices)) { pbus 269 arch/x86/pci/fixup.c pci_bus_set_ops(pbus, pbus->parent->ops); pbus 277 arch/x86/pci/fixup.c list_for_each_entry(dev, &pbus->devices, bus_list) pbus 282 arch/x86/pci/fixup.c pci_bus_set_ops(pbus, &quirk_pcie_aspm_ops); pbus 283 arch/x86/pci/fixup.c dev_info(&pbus->dev, "writes to ASPM control bits will be ignored\n"); pbus 488 drivers/acpi/arm64/iort.c struct pci_bus *pbus; pbus 511 drivers/acpi/arm64/iort.c pbus = to_pci_dev(dev)->bus; pbus 512 drivers/acpi/arm64/iort.c while (!pci_is_root_bus(pbus)) pbus 513 drivers/acpi/arm64/iort.c pbus = pbus->parent; pbus 516 drivers/acpi/arm64/iort.c iort_match_node_callback, &pbus->dev); pbus 1036 drivers/acpi/arm64/iort.c struct pci_bus *pbus = to_pci_dev(dev)->bus; pbus 1039 drivers/acpi/arm64/iort.c iort_match_node_callback, &pbus->dev); pbus 272 drivers/acpi/pci_root.c struct pci_bus *pbus; pbus 300 drivers/acpi/pci_root.c pbus = root->bus; pbus 315 drivers/acpi/pci_root.c pdev = pci_get_slot(pbus, PCI_DEVFN(dev, fn)); pbus 319 drivers/acpi/pci_root.c pbus = pdev->subordinate; pbus 327 drivers/acpi/pci_root.c if (!pbus) { pbus 56 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c int index, struct nvkm_bus **pbus) pbus 59 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c if (!(bus = *pbus = kzalloc(sizeof(*bus), GFP_KERNEL))) pbus 61 drivers/gpu/drm/nouveau/nvkm/subdev/bus/g94.c g94_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) pbus 63 drivers/gpu/drm/nouveau/nvkm/subdev/bus/g94.c return nvkm_bus_new_(&g94_bus, device, index, pbus); pbus 72 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c gf100_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) pbus 74 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c return nvkm_bus_new_(&gf100_bus, device, index, pbus); pbus 71 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c nv04_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) pbus 73 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c return nvkm_bus_new_(&nv04_bus, device, index, pbus); pbus 85 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c nv31_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) pbus 87 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c return nvkm_bus_new_(&nv31_bus, device, index, pbus); pbus 102 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c nv50_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) pbus 104 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c return nvkm_bus_new_(&nv50_bus, device, index, pbus); pbus 104 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c struct nvkm_i2c_bus **pbus) pbus 112 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c *pbus = &bus->base; pbus 233 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c struct nvkm_i2c_aux **pbus) pbus 241 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c *pbus = &aux->base; pbus 194 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c nvkm_i2c_bus_del(struct nvkm_i2c_bus **pbus) pbus 196 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c struct nvkm_i2c_bus *bus = *pbus; pbus 202 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c kfree(*pbus); pbus 203 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c *pbus = NULL; pbus 259 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c struct nvkm_i2c_bus **pbus) pbus 261 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c if (!(*pbus = kzalloc(sizeof(**pbus), GFP_KERNEL))) pbus 263 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c return nvkm_i2c_bus_ctor(func, pad, id, *pbus); pbus 84 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busgf119.c struct nvkm_i2c_bus **pbus) pbus 90 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busgf119.c *pbus = &bus->base; pbus 84 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv04.c struct nvkm_i2c_bus **pbus) pbus 90 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv04.c *pbus = &bus->base; pbus 75 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv4e.c struct nvkm_i2c_bus **pbus) pbus 81 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv4e.c *pbus = &bus->base; pbus 91 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv50.c struct nvkm_i2c_bus **pbus) pbus 107 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv50.c *pbus = &bus->base; pbus 119 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c struct pci_bus *pbus; pbus 124 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c pbus = pci->pdev->bus; pbus 137 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c max_speed = min(nvkm_pcie_speed(pbus->max_bus_speed), pbus 1107 drivers/media/platform/via-camera.c struct pci_bus *pbus = pci_find_bus(0, 0); pbus 1110 drivers/media/platform/via-camera.c if (!pbus) pbus 1112 drivers/media/platform/via-camera.c pci_bus_read_config_byte(pbus, VIACAM_SERIAL_DEVFN, pbus 1124 drivers/media/platform/via-camera.c pci_bus_write_config_byte(pbus, VIACAM_SERIAL_DEVFN, pbus 604 drivers/mmc/host/au1xmmc.c unsigned int pbus = clk_get_rate(host->clk); pbus 605 drivers/mmc/host/au1xmmc.c unsigned int divisor = ((pbus / rate) / 2) - 1; pbus 2197 drivers/net/ethernet/dec/tulip/de4x5.c u_char pb, pbus = 0, dev_num, dnum = 0, timer; pbus 2209 drivers/net/ethernet/dec/tulip/de4x5.c pbus = (u_short)(io >> 8); pbus 2211 drivers/net/ethernet/dec/tulip/de4x5.c if ((pbus != pb) || (dnum != dev_num)) pbus 470 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c struct bcma_bus *pbus) pbus 475 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c sii->icbus = pbus; pbus 476 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c sii->pcibus = pbus->host_pci; pbus 479 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c cc = pbus->drv_cc.core; pbus 481 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c sih->chip = pbus->chipinfo.id; pbus 482 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c sih->chiprev = pbus->chipinfo.rev; pbus 483 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c sih->chippkg = pbus->chipinfo.pkg; pbus 484 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c sih->boardvendor = pbus->boardinfo.vendor; pbus 485 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c sih->boardtype = pbus->boardinfo.type; pbus 510 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c ai_attach(struct bcma_bus *pbus) pbus 519 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c if (ai_doattach(sii, pbus) == NULL) { pbus 178 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.h struct si_pub *ai_attach(struct bcma_bus *pbus); pbus 497 drivers/of/address.c struct of_bus *pbus, __be32 *addr, pbus 554 drivers/of/address.c return pbus->translate(addr, offset, pna); pbus 577 drivers/of/address.c struct of_bus *bus, *pbus; pbus 636 drivers/of/address.c pbus = of_match_bus(parent); pbus 637 drivers/of/address.c pbus->count_cells(dev, &pna, &pns); pbus 644 drivers/of/address.c pbus->name, pna, pns, parent); pbus 647 drivers/of/address.c if (of_translate_one(dev, bus, pbus, addr, na, ns, pna, rprop)) pbus 653 drivers/of/address.c bus = pbus; pbus 111 drivers/of/fdt_address.c const struct of_bus *pbus, __be32 *addr, pbus 150 drivers/of/fdt_address.c return pbus->translate(addr, offset, pna); pbus 166 drivers/of/fdt_address.c const struct of_bus *bus, *pbus; pbus 215 drivers/of/fdt_address.c pbus = &of_busses[0]; pbus 216 drivers/of/fdt_address.c pbus->count_cells(blob, parent, &pna, &pns); pbus 227 drivers/of/fdt_address.c if (fdt_translate_one(blob, node_offset, bus, pbus, pbus 234 drivers/of/fdt_address.c bus = pbus; pbus 1193 drivers/pci/controller/pci-hyperv.c struct pci_bus *pbus; pbus 1202 drivers/pci/controller/pci-hyperv.c pbus = pdev->bus; pbus 1203 drivers/pci/controller/pci-hyperv.c hbus = container_of(pbus->sysdata, struct hv_pcibus_device, sysdata); pbus 1356 drivers/pci/controller/pci-hyperv.c struct pci_bus *pbus; pbus 1375 drivers/pci/controller/pci-hyperv.c pbus = pdev->bus; pbus 1376 drivers/pci/controller/pci-hyperv.c hbus = container_of(pbus->sysdata, struct hv_pcibus_device, sysdata); pbus 111 drivers/pci/hotplug/acpi_pcihp.c struct pci_bus *pbus; pbus 112 drivers/pci/hotplug/acpi_pcihp.c for (pbus = pdev->bus; pbus; pbus = pbus->parent) { pbus 113 drivers/pci/hotplug/acpi_pcihp.c handle = acpi_pci_get_bridge_handle(pbus); pbus 166 drivers/pci/hotplug/acpi_pcihp.c int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle) pbus 170 drivers/pci/hotplug/acpi_pcihp.c bridge_handle = acpi_pci_get_bridge_handle(pbus); pbus 229 drivers/pci/hotplug/acpiphp_glue.c struct pci_bus *pbus = bridge->pci_bus; pbus 294 drivers/pci/hotplug/acpiphp_glue.c if ((acpi_pci_check_ejectable(pbus, handle) || is_dock_device(adev)) pbus 305 drivers/pci/hotplug/acpiphp_glue.c sun, pci_domain_nr(pbus), pbus->number, device); pbus 323 drivers/pci/hotplug/acpiphp_glue.c if (pci_bus_read_dev_vendor_id(pbus, PCI_DEVFN(device, function), pbus 749 drivers/pci/pci-acpi.c struct pci_bus *pbus; pbus 755 drivers/pci/pci-acpi.c for (pbus = dev->bus; pbus; pbus = pbus->parent) { pbus 756 drivers/pci/pci-acpi.c handle = acpi_pci_get_bridge_handle(pbus); pbus 81 drivers/xen/pci.c struct pci_bus *pbus; pbus 82 drivers/xen/pci.c for (pbus = pci_dev->bus; pbus; pbus = pbus->parent) { pbus 83 drivers/xen/pci.c handle = acpi_pci_get_bridge_handle(pbus); pbus 34 include/linux/pci-acpi.h struct pci_bus *pbus = pdev->bus; pbus 37 include/linux/pci-acpi.h while (!pci_is_root_bus(pbus)) pbus 38 include/linux/pci-acpi.h pbus = pbus->parent; pbus 40 include/linux/pci-acpi.h return ACPI_HANDLE(pbus->bridge); pbus 43 include/linux/pci-acpi.h static inline acpi_handle acpi_pci_get_bridge_handle(struct pci_bus *pbus) pbus 47 include/linux/pci-acpi.h if (pci_is_root_bus(pbus)) pbus 48 include/linux/pci-acpi.h dev = pbus->bridge; pbus 51 include/linux/pci-acpi.h if (!pbus->self) pbus 54 include/linux/pci-acpi.h dev = &pbus->self->dev; pbus 621 include/linux/pci.h static inline bool pci_is_root_bus(struct pci_bus *pbus) pbus 623 include/linux/pci.h return !(pbus->parent); pbus 71 include/linux/pci_hotplug.h int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *pbus, int nr, pbus 84 include/linux/pci_hotplug.h #define pci_hp_register(slot, pbus, devnr, name) \ pbus 85 include/linux/pci_hotplug.h __pci_hp_register(slot, pbus, devnr, name, THIS_MODULE, KBUILD_MODNAME) pbus 94 include/linux/pci_hotplug.h int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle); pbus 45 sound/mips/hal2.c struct hpc3_pbus_dmacregs *pbus; pbus 64 sound/mips/hal2.c struct hal2_pbus pbus; pbus 303 sound/mips/hal2.c if (hal2->dac.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { pbus 307 sound/mips/hal2.c if (hal2->adc.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { pbus 358 sound/mips/hal2.c struct hal2_pbus *pbus = &hal2->dac.pbus; pbus 371 sound/mips/hal2.c pbus->ctrl = HPC3_PDMACTRL_RT | HPC3_PDMACTRL_LD | pbus 374 sound/mips/hal2.c pbus->pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; pbus 381 sound/mips/hal2.c hal2_i_setbit16(hal2, H2I_DMA_DRV, (1 << pbus->pbusnr)); pbus 383 sound/mips/hal2.c hal2_i_write16(hal2, H2I_DAC_C1, (pbus->pbusnr << H2I_C1_DMA_SHIFT) pbus 391 sound/mips/hal2.c struct hal2_pbus *pbus = &hal2->adc.pbus; pbus 397 sound/mips/hal2.c pbus->ctrl = HPC3_PDMACTRL_RT | HPC3_PDMACTRL_RCV | HPC3_PDMACTRL_LD | pbus 399 sound/mips/hal2.c pbus->pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; pbus 406 sound/mips/hal2.c hal2_i_setbit16(hal2, H2I_DMA_DRV, (1 << pbus->pbusnr)); pbus 408 sound/mips/hal2.c hal2_i_write16(hal2, H2I_ADC_C1, (pbus->pbusnr << H2I_C1_DMA_SHIFT) pbus 415 sound/mips/hal2.c struct hal2_pbus *pbus = &hal2->dac.pbus; pbus 417 sound/mips/hal2.c pbus->pbus->pbdma_dptr = hal2->dac.desc_dma; pbus 418 sound/mips/hal2.c pbus->pbus->pbdma_ctrl = pbus->ctrl | HPC3_PDMACTRL_ACT; pbus 425 sound/mips/hal2.c struct hal2_pbus *pbus = &hal2->adc.pbus; pbus 427 sound/mips/hal2.c pbus->pbus->pbdma_dptr = hal2->adc.desc_dma; pbus 428 sound/mips/hal2.c pbus->pbus->pbdma_ctrl = pbus->ctrl | HPC3_PDMACTRL_ACT; pbus 435 sound/mips/hal2.c hal2->dac.pbus.pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; pbus 441 sound/mips/hal2.c hal2->adc.pbus.pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; pbus 589 sound/mips/hal2.c dac->pbus.pbus->pbdma_bptr); pbus 678 sound/mips/hal2.c adc->pbus.pbus->pbdma_bptr); pbus 766 sound/mips/hal2.c codec->pbus.pbusnr = index; pbus 767 sound/mips/hal2.c codec->pbus.pbus = &hpc3->pbdma[index]; pbus 853 sound/mips/hal2.c hpc3->pbus_dmacfg[hal2->dac.pbus.pbusnr][0] = 0x8208844; pbus 854 sound/mips/hal2.c hpc3->pbus_dmacfg[hal2->adc.pbus.pbusnr][0] = 0x8208844; pbus 1247 sound/pci/atiixp.c struct snd_ac97_bus *pbus = chip->ac97_bus; pbus 1261 sound/pci/atiixp.c err = snd_ac97_pcm_assign(pbus, num_pcms, atiixp_pcm_defs); pbus 1265 sound/pci/atiixp.c chip->pcms[i] = &pbus->pcms[i]; pbus 1268 sound/pci/atiixp.c if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_PCM_SLEFT)) { pbus 1269 sound/pci/atiixp.c if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_LFE)) pbus 1411 sound/pci/atiixp.c struct snd_ac97_bus *pbus; pbus 1428 sound/pci/atiixp.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) pbus 1430 sound/pci/atiixp.c pbus->clock = clock; pbus 1431 sound/pci/atiixp.c chip->ac97_bus = pbus; pbus 1444 sound/pci/atiixp.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) { pbus 1052 sound/pci/atiixp_modem.c struct snd_ac97_bus *pbus; pbus 1069 sound/pci/atiixp_modem.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) pbus 1071 sound/pci/atiixp_modem.c pbus->clock = clock; pbus 1072 sound/pci/atiixp_modem.c chip->ac97_bus = pbus; pbus 1083 sound/pci/atiixp_modem.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) { pbus 25 sound/pci/au88x0/au88x0_mixer.c struct snd_ac97_bus *pbus; pbus 33 sound/pci/au88x0/au88x0_mixer.c if ((err = snd_ac97_bus(vortex->card, 0, &ops, NULL, &pbus)) < 0) pbus 39 sound/pci/au88x0/au88x0_mixer.c err = snd_ac97_mixer(pbus, &ac97, &vortex->codec); pbus 1213 sound/pci/ca0106/ca0106_main.c struct snd_ac97_bus *pbus; pbus 1221 sound/pci/ca0106/ca0106_main.c if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) pbus 1223 sound/pci/ca0106/ca0106_main.c pbus->no_vra = 1; /* we don't need VRA */ pbus 1228 sound/pci/ca0106/ca0106_main.c return snd_ac97_mixer(pbus, &ac97, &chip->ac97); pbus 138 sound/pci/cs5535audio/cs5535audio.c struct snd_ac97_bus *pbus; pbus 146 sound/pci/cs5535audio/cs5535audio.c if ((err = snd_ac97_bus(card, 0, &ops, NULL, &pbus)) < 0) pbus 158 sound/pci/cs5535audio/cs5535audio.c if ((err = snd_ac97_mixer(pbus, &ac97, &cs5535au->ac97)) < 0) { pbus 722 sound/pci/emu10k1/emu10k1x.c struct snd_ac97_bus *pbus; pbus 730 sound/pci/emu10k1/emu10k1x.c if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) pbus 732 sound/pci/emu10k1/emu10k1x.c pbus->no_vra = 1; /* we don't need VRA */ pbus 737 sound/pci/emu10k1/emu10k1x.c return snd_ac97_mixer(pbus, &ac97, &chip->ac97); pbus 1899 sound/pci/emu10k1/emumixer.c struct snd_ac97_bus *pbus; pbus 1906 sound/pci/emu10k1/emumixer.c if ((err = snd_ac97_bus(emu->card, 0, &ops, NULL, &pbus)) < 0) pbus 1908 sound/pci/emu10k1/emumixer.c pbus->no_vra = 1; /* we don't need VRA */ pbus 1914 sound/pci/emu10k1/emumixer.c if ((err = snd_ac97_mixer(pbus, &ac97, &emu->ac97)) < 0) { pbus 1921 sound/pci/emu10k1/emumixer.c snd_device_free(emu->card, pbus); pbus 1616 sound/pci/ens1370.c struct snd_ac97_bus *pbus; pbus 1625 sound/pci/ens1370.c if ((err = snd_ac97_bus(card, 0, &ops, NULL, &pbus)) < 0) pbus 1633 sound/pci/ens1370.c if ((err = snd_ac97_mixer(pbus, &ac97, &ensoniq->u.es1371.ac97)) < 0) pbus 2008 sound/pci/es1968.c struct snd_ac97_bus *pbus; pbus 2019 sound/pci/es1968.c if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) pbus 2021 sound/pci/es1968.c pbus->no_vra = 1; /* ES1968 doesn't need VRA */ pbus 2025 sound/pci/es1968.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97)) < 0) pbus 1494 sound/pci/ice1712/ice1712.c struct snd_ac97_bus *pbus; pbus 1505 sound/pci/ice1712/ice1712.c err = snd_ac97_bus(ice->card, bus_num++, &con_ops, NULL, &pbus); pbus 1511 sound/pci/ice1712/ice1712.c err = snd_ac97_mixer(pbus, &ac97, &ice->ac97); pbus 1523 sound/pci/ice1712/ice1712.c err = snd_ac97_bus(ice->card, bus_num, &pro_ops, NULL, &pbus); pbus 1529 sound/pci/ice1712/ice1712.c err = snd_ac97_mixer(pbus, &ac97, &ice->ac97); pbus 1479 sound/pci/ice1712/ice1724.c struct snd_ac97_bus *pbus; pbus 1491 sound/pci/ice1712/ice1724.c err = snd_ac97_bus(ice->card, 0, &ops, NULL, &pbus); pbus 1496 sound/pci/ice1712/ice1724.c err = snd_ac97_mixer(pbus, &ac97, &ice->ac97); pbus 2151 sound/pci/intel8x0.c struct snd_ac97_bus *pbus; pbus 2224 sound/pci/intel8x0.c if ((err = snd_ac97_bus(chip->card, 0, ops, chip, &pbus)) < 0) pbus 2226 sound/pci/intel8x0.c pbus->private_free = snd_intel8x0_mixer_free_ac97_bus; pbus 2228 sound/pci/intel8x0.c pbus->clock = ac97_clock; pbus 2231 sound/pci/intel8x0.c pbus->no_vra = 1; pbus 2233 sound/pci/intel8x0.c pbus->dra = 1; pbus 2234 sound/pci/intel8x0.c chip->ac97_bus = pbus; pbus 2240 sound/pci/intel8x0.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) { pbus 2252 sound/pci/intel8x0.c pbus->isdin = 1; pbus 2259 sound/pci/intel8x0.c err = snd_ac97_pcm_assign(pbus, i, ac97_pcm_defs); pbus 2262 sound/pci/intel8x0.c chip->ichd[ICHD_PCMOUT].pcm = &pbus->pcms[0]; pbus 2263 sound/pci/intel8x0.c chip->ichd[ICHD_PCMIN].pcm = &pbus->pcms[1]; pbus 2264 sound/pci/intel8x0.c chip->ichd[ICHD_MIC].pcm = &pbus->pcms[2]; pbus 2266 sound/pci/intel8x0.c chip->ichd[chip->spdif_idx].pcm = &pbus->pcms[3]; pbus 2268 sound/pci/intel8x0.c chip->ichd[ICHD_PCM2IN].pcm = &pbus->pcms[4]; pbus 2269 sound/pci/intel8x0.c chip->ichd[ICHD_MIC2].pcm = &pbus->pcms[5]; pbus 2290 sound/pci/intel8x0.c if (pbus->pcms[0].r[0].slots & (1 << AC97_SLOT_PCM_SLEFT)) { pbus 2292 sound/pci/intel8x0.c if (pbus->pcms[0].r[0].slots & (1 << AC97_SLOT_LFE)) { pbus 2298 sound/pci/intel8x0.c if (pbus->pcms[0].r[1].rslots[0]) { pbus 816 sound/pci/intel8x0m.c struct snd_ac97_bus *pbus; pbus 835 sound/pci/intel8x0m.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) pbus 837 sound/pci/intel8x0m.c pbus->private_free = snd_intel8x0m_mixer_free_ac97_bus; pbus 839 sound/pci/intel8x0m.c pbus->clock = ac97_clock; pbus 840 sound/pci/intel8x0m.c chip->ac97_bus = pbus; pbus 844 sound/pci/intel8x0m.c if ((err = snd_ac97_mixer(pbus, &ac97, &x97)) < 0) { pbus 2039 sound/pci/maestro3.c struct snd_ac97_bus *pbus; pbus 2050 sound/pci/maestro3.c if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) pbus 2055 sound/pci/maestro3.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97)) < 0) pbus 1309 sound/pci/nm256/nm256.c struct snd_ac97_bus *pbus; pbus 1323 sound/pci/nm256/nm256.c if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) pbus 1330 sound/pci/nm256/nm256.c pbus->no_vra = 1; pbus 1331 sound/pci/nm256/nm256.c err = snd_ac97_mixer(pbus, &ac97, &chip->ac97); pbus 1968 sound/pci/riptide/riptide.c struct snd_ac97_bus *pbus; pbus 1980 sound/pci/riptide/riptide.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) pbus 1983 sound/pci/riptide/riptide.c chip->ac97_bus = pbus; pbus 1985 sound/pci/riptide/riptide.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97)) < 0)