Searched refs:pbus (Results 1 - 71 of 71) sorted by relevance

/linux-4.4.14/include/linux/
H A Dpci-acpi.h29 struct pci_bus *pbus = pdev->bus; acpi_find_root_bridge_handle() local
32 while (!pci_is_root_bus(pbus)) acpi_find_root_bridge_handle()
33 pbus = pbus->parent; acpi_find_root_bridge_handle()
35 return ACPI_HANDLE(pbus->bridge); acpi_find_root_bridge_handle()
38 static inline acpi_handle acpi_pci_get_bridge_handle(struct pci_bus *pbus) acpi_pci_get_bridge_handle() argument
42 if (pci_is_root_bus(pbus)) acpi_pci_get_bridge_handle()
43 dev = pbus->bridge; acpi_pci_get_bridge_handle()
45 /* If pbus is a virtual bus, there is no bridge to it */ acpi_pci_get_bridge_handle()
46 if (!pbus->self) acpi_pci_get_bridge_handle()
49 dev = &pbus->self->dev; acpi_pci_get_bridge_handle()
H A Dpci_hotplug.h118 int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *pbus, int nr,
126 #define pci_hp_register(slot, pbus, devnr, name) \
127 __pci_hp_register(slot, pbus, devnr, name, THIS_MODULE, KBUILD_MODNAME)
180 int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle);
H A Dpci.h503 static inline bool pci_is_root_bus(struct pci_bus *pbus) pci_is_root_bus() argument
505 return !(pbus->parent); pci_is_root_bus()
/linux-4.4.14/sound/mips/
H A Dhal2.c58 struct hpc3_pbus_dmacregs *pbus; member in struct:hal2_pbus
60 unsigned int ctrl; /* Current state of pbus->pbdma_ctrl */
77 struct hal2_pbus pbus; member in struct:hal2_codec
312 if (hal2->dac.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { hal2_interrupt()
316 if (hal2->adc.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { hal2_interrupt()
367 struct hal2_pbus *pbus = &hal2->dac.pbus; hal2_setup_dac() local
380 pbus->ctrl = HPC3_PDMACTRL_RT | HPC3_PDMACTRL_LD | hal2_setup_dac()
383 pbus->pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; hal2_setup_dac()
390 hal2_i_setbit16(hal2, H2I_DMA_DRV, (1 << pbus->pbusnr)); hal2_setup_dac()
392 hal2_i_write16(hal2, H2I_DAC_C1, (pbus->pbusnr << H2I_C1_DMA_SHIFT) hal2_setup_dac()
400 struct hal2_pbus *pbus = &hal2->adc.pbus; hal2_setup_adc() local
406 pbus->ctrl = HPC3_PDMACTRL_RT | HPC3_PDMACTRL_RCV | HPC3_PDMACTRL_LD | hal2_setup_adc()
408 pbus->pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; hal2_setup_adc()
415 hal2_i_setbit16(hal2, H2I_DMA_DRV, (1 << pbus->pbusnr)); hal2_setup_adc()
417 hal2_i_write16(hal2, H2I_ADC_C1, (pbus->pbusnr << H2I_C1_DMA_SHIFT) hal2_setup_adc()
424 struct hal2_pbus *pbus = &hal2->dac.pbus; hal2_start_dac() local
426 pbus->pbus->pbdma_dptr = hal2->dac.desc_dma; hal2_start_dac()
427 pbus->pbus->pbdma_ctrl = pbus->ctrl | HPC3_PDMACTRL_ACT; hal2_start_dac()
434 struct hal2_pbus *pbus = &hal2->adc.pbus; hal2_start_adc() local
436 pbus->pbus->pbdma_dptr = hal2->adc.desc_dma; hal2_start_adc()
437 pbus->pbus->pbdma_ctrl = pbus->ctrl | HPC3_PDMACTRL_ACT; hal2_start_adc()
444 hal2->dac.pbus.pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; hal2_stop_dac()
450 hal2->adc.pbus.pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; hal2_stop_adc()
595 dac->pbus.pbus->pbdma_bptr); hal2_playback_pointer()
688 adc->pbus.pbus->pbdma_bptr); hal2_capture_pointer()
777 codec->pbus.pbusnr = index; hal2_init_codec()
778 codec->pbus.pbus = &hpc3->pbdma[index]; hal2_init_codec()
864 hpc3->pbus_dmacfg[hal2->dac.pbus.pbusnr][0] = 0x8208844; hal2_create()
865 hpc3->pbus_dmacfg[hal2->adc.pbus.pbusnr][0] = 0x8208844; hal2_create()
H A Dau1x00.c601 struct snd_ac97_bus *pbus; au1000_ac97_probe() local
687 err = snd_ac97_bus(au1000->card, 0, &ops, au1000, &pbus); au1000_ac97_probe()
693 err = snd_ac97_mixer(pbus, &ac97, &au1000->ac97); au1000_ac97_probe()
/linux-4.4.14/sound/pci/au88x0/
H A Dau88x0_mixer.c24 struct snd_ac97_bus *pbus; snd_vortex_mixer() local
32 if ((err = snd_ac97_bus(vortex->card, 0, &ops, NULL, &pbus)) < 0) snd_vortex_mixer()
38 err = snd_ac97_mixer(pbus, &ac97, &vortex->codec); snd_vortex_mixer()
/linux-4.4.14/arch/sparc/kernel/
H A Dleon_pci.c50 void pcibios_fixup_bus(struct pci_bus *pbus) pcibios_fixup_bus() argument
56 list_for_each_entry(dev, &pbus->devices, bus_list) { pcibios_fixup_bus()
76 pci_bus_read_config_word(pbus, dev->devfn, PCI_COMMAND, &cmd); pcibios_fixup_bus()
83 pci_bus_write_config_word(pbus, dev->devfn, PCI_COMMAND, pcibios_fixup_bus()
92 pci_bus_write_config_word(pbus, dev->devfn, PCI_COMMAND, pcibios_fixup_bus()
H A Dof_device_32.c188 struct of_bus *pbus, build_one_resource()
278 struct of_bus *pbus, *dbus; build_device_resources() local
307 pbus = of_match_bus(pp); build_device_resources()
308 pbus->count_cells(dp, &pna, &pns); build_device_resources()
310 if (build_one_resource(dp, dbus, pbus, addr, build_device_resources()
314 flags = pbus->get_flags(addr, flags); build_device_resources()
318 dbus = pbus; build_device_resources()
186 build_one_resource(struct device_node *parent, struct of_bus *bus, struct of_bus *pbus, u32 *addr, int na, int ns, int pna) build_one_resource() argument
H A Dpci_common.c498 struct pci_bus *pbus) pci_scan_for_target_abort()
503 list_for_each_entry(pdev, &pbus->devices, bus_list) { pci_scan_for_target_abort()
517 list_for_each_entry(bus, &pbus->children, node) pci_scan_for_target_abort()
522 struct pci_bus *pbus) pci_scan_for_master_abort()
527 list_for_each_entry(pdev, &pbus->devices, bus_list) { pci_scan_for_master_abort()
540 list_for_each_entry(bus, &pbus->children, node) pci_scan_for_master_abort()
545 struct pci_bus *pbus) pci_scan_for_parity_error()
550 list_for_each_entry(pdev, &pbus->devices, bus_list) { pci_scan_for_parity_error()
564 list_for_each_entry(bus, &pbus->children, node) pci_scan_for_parity_error()
497 pci_scan_for_target_abort(struct pci_pbm_info *pbm, struct pci_bus *pbus) pci_scan_for_target_abort() argument
521 pci_scan_for_master_abort(struct pci_pbm_info *pbm, struct pci_bus *pbus) pci_scan_for_master_abort() argument
544 pci_scan_for_parity_error(struct pci_pbm_info *pbm, struct pci_bus *pbus) pci_scan_for_parity_error() argument
H A Dpci.c684 void pcibios_fixup_bus(struct pci_bus *pbus) pcibios_fixup_bus() argument
880 int pcibus_to_node(struct pci_bus *pbus) pcibus_to_node() argument
882 struct pci_pbm_info *pbm = pbus->sysdata; pcibus_to_node()
891 int pci_domain_nr(struct pci_bus *pbus) pci_domain_nr() argument
893 struct pci_pbm_info *pbm = pbus->sysdata; pci_domain_nr()
1025 static void pcie_bus_slot_names(struct pci_bus *pbus) pcie_bus_slot_names() argument
1030 list_for_each_entry(pdev, &pbus->devices, bus_list) { pcie_bus_slot_names()
1043 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); pcie_bus_slot_names()
1050 list_for_each_entry(bus, &pbus->children, node) pcie_bus_slot_names()
1101 struct pci_bus *pbus = NULL; of_pci_slot_init() local
1103 while ((pbus = pci_find_next_bus(pbus)) != NULL) { of_pci_slot_init()
1107 pdev = list_first_entry(&pbus->devices, struct pci_dev, of_pci_slot_init()
1111 pcie_bus_slot_names(pbus); of_pci_slot_init()
1114 if (pbus->self) { of_pci_slot_init()
1117 node = pbus->self->dev.of_node; of_pci_slot_init()
1120 struct pci_pbm_info *pbm = pbus->sysdata; of_pci_slot_init()
1126 pci_bus_slot_names(node, pbus); of_pci_slot_init()
H A Dof_device_64.c242 struct of_bus *pbus, build_one_resource()
356 struct of_bus *pbus, *dbus; build_device_resources() local
384 pbus = of_match_bus(pp); build_device_resources()
385 pbus->count_cells(dp, &pna, &pns); build_device_resources()
387 if (build_one_resource(dp, dbus, pbus, addr, build_device_resources()
391 flags = pbus->get_flags(addr, flags); build_device_resources()
395 dbus = pbus; build_device_resources()
240 build_one_resource(struct device_node *parent, struct of_bus *bus, struct of_bus *pbus, u32 *addr, int na, int ns, int pna) build_one_resource() argument
/linux-4.4.14/arch/sparc/include/asm/
H A Dtopology_64.h21 int pcibus_to_node(struct pci_bus *pbus);
23 static inline int pcibus_to_node(struct pci_bus *pbus) pcibus_to_node() argument
/linux-4.4.14/drivers/xen/
H A Dpci.c80 struct pci_bus *pbus; xen_add_device() local
81 for (pbus = pci_dev->bus; pbus; pbus = pbus->parent) { xen_add_device()
82 handle = acpi_pci_get_bridge_handle(pbus); xen_add_device()
/linux-4.4.14/drivers/pci/hotplug/
H A Dacpi_pcihp.c125 struct pci_bus *pbus; acpi_get_hp_hw_control_from_firmware() local
126 for (pbus = pdev->bus; pbus; pbus = pbus->parent) { acpi_get_hp_hw_control_from_firmware()
127 handle = acpi_pci_get_bridge_handle(pbus); acpi_get_hp_hw_control_from_firmware()
176 * @pbus: the PCI bus of the PCI slot corresponding to 'handle'
181 int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle) acpi_pci_check_ejectable() argument
185 bridge_handle = acpi_pci_get_bridge_handle(pbus); acpi_pci_check_ejectable()
H A Dacpiphp_glue.c272 struct pci_bus *pbus = bridge->pci_bus; acpiphp_add_context() local
336 if ((acpi_pci_check_ejectable(pbus, handle) || is_dock_device(adev)) acpiphp_add_context()
347 sun, pci_domain_nr(pbus), pbus->number, device); acpiphp_add_context()
365 if (pci_bus_read_dev_vendor_id(pbus, PCI_DEVFN(device, function), acpiphp_add_context()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dbus.c175 nvkm_i2c_bus_del(struct nvkm_i2c_bus **pbus) nvkm_i2c_bus_del() argument
177 struct nvkm_i2c_bus *bus = *pbus; nvkm_i2c_bus_del()
183 kfree(*pbus); nvkm_i2c_bus_del()
184 *pbus = NULL; nvkm_i2c_bus_del()
240 struct nvkm_i2c_bus **pbus) nvkm_i2c_bus_new_()
242 if (!(*pbus = kzalloc(sizeof(**pbus), GFP_KERNEL))) nvkm_i2c_bus_new_()
244 return nvkm_i2c_bus_ctor(func, pad, id, *pbus); nvkm_i2c_bus_new_()
238 nvkm_i2c_bus_new_(const struct nvkm_i2c_bus_func *func, struct nvkm_i2c_pad *pad, int id, struct nvkm_i2c_bus **pbus) nvkm_i2c_bus_new_() argument
H A Dbusgf119.c84 struct nvkm_i2c_bus **pbus) gf119_i2c_bus_new()
90 *pbus = &bus->base; gf119_i2c_bus_new()
83 gf119_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, struct nvkm_i2c_bus **pbus) gf119_i2c_bus_new() argument
H A Dbusnv04.c84 struct nvkm_i2c_bus **pbus) nv04_i2c_bus_new()
90 *pbus = &bus->base; nv04_i2c_bus_new()
83 nv04_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, u8 sense, struct nvkm_i2c_bus **pbus) nv04_i2c_bus_new() argument
H A Dbusnv4e.c75 struct nvkm_i2c_bus **pbus) nv4e_i2c_bus_new()
81 *pbus = &bus->base; nv4e_i2c_bus_new()
74 nv4e_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, struct nvkm_i2c_bus **pbus) nv4e_i2c_bus_new() argument
H A Dbusnv50.c91 struct nvkm_i2c_bus **pbus) nv50_i2c_bus_new()
107 *pbus = &bus->base; nv50_i2c_bus_new()
90 nv50_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, struct nvkm_i2c_bus **pbus) nv50_i2c_bus_new() argument
H A Danx9805.c104 struct nvkm_i2c_bus **pbus) anx9805_bus_new()
112 *pbus = &bus->base; anx9805_bus_new()
233 struct nvkm_i2c_aux **pbus) anx9805_aux_new()
241 *pbus = &aux->base; anx9805_aux_new()
103 anx9805_bus_new(struct nvkm_i2c_pad *base, int id, u8 drive, struct nvkm_i2c_bus **pbus) anx9805_bus_new() argument
232 anx9805_aux_new(struct nvkm_i2c_pad *base, int id, u8 drive, struct nvkm_i2c_aux **pbus) anx9805_aux_new() argument
/linux-4.4.14/drivers/of/
H A Dfdt_address.c112 const struct of_bus *pbus, __be32 *addr, fdt_translate_one()
151 return pbus->translate(addr, offset, pna); fdt_translate_one()
167 const struct of_bus *bus, *pbus; fdt_translate_address() local
216 pbus = &of_busses[0]; fdt_translate_address()
217 pbus->count_cells(blob, parent, &pna, &pns); fdt_translate_address()
228 if (fdt_translate_one(blob, node_offset, bus, pbus, fdt_translate_address()
235 bus = pbus; fdt_translate_address()
110 fdt_translate_one(const void *blob, int parent, const struct of_bus *bus, const struct of_bus *pbus, __be32 *addr, int na, int ns, int pna, const char *rprop) fdt_translate_one() argument
H A Daddress.c480 struct of_bus *pbus, __be32 *addr, of_translate_one()
537 return pbus->translate(addr, offset, pna); of_translate_one()
554 struct of_bus *bus, *pbus; __of_translate_address() local
597 pbus = of_match_bus(parent); __of_translate_address()
598 pbus->count_cells(dev, &pna, &pns); __of_translate_address()
606 pbus->name, pna, pns, of_node_full_name(parent)); __of_translate_address()
609 if (of_translate_one(dev, bus, pbus, addr, na, ns, pna, rprop)) __of_translate_address()
615 bus = pbus; __of_translate_address()
479 of_translate_one(struct device_node *parent, struct of_bus *bus, struct of_bus *pbus, __be32 *addr, int na, int ns, int pna, const char *rprop) of_translate_one() argument
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dbase.c56 int index, struct nvkm_bus **pbus) nvkm_bus_new_()
59 if (!(bus = *pbus = kzalloc(sizeof(*bus), GFP_KERNEL))) nvkm_bus_new_()
55 nvkm_bus_new_(const struct nvkm_bus_func *func, struct nvkm_device *device, int index, struct nvkm_bus **pbus) nvkm_bus_new_() argument
H A Dg94.c61 g94_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) g94_bus_new() argument
63 return nvkm_bus_new_(&g94_bus, device, index, pbus); g94_bus_new()
H A Dgf100.c72 gf100_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) gf100_bus_new() argument
74 return nvkm_bus_new_(&gf100_bus, device, index, pbus); gf100_bus_new()
H A Dnv04.c73 nv04_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) nv04_bus_new() argument
75 return nvkm_bus_new_(&nv04_bus, device, index, pbus); nv04_bus_new()
H A Dnv31.c85 nv31_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) nv31_bus_new() argument
87 return nvkm_bus_new_(&nv31_bus, device, index, pbus); nv31_bus_new()
H A Dnv50.c102 nv50_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) nv50_bus_new() argument
104 return nvkm_bus_new_(&nv50_bus, device, index, pbus); nv50_bus_new()
/linux-4.4.14/arch/alpha/kernel/
H A Dcore_polaris.c66 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, mk_conf_addr() argument
69 u8 bus = pbus->number; mk_conf_addr()
H A Dcore_tsunami.c91 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, mk_conf_addr() argument
94 struct pci_controller *hose = pbus->sysdata; mk_conf_addr()
96 u8 bus = pbus->number; mk_conf_addr()
102 if (!pbus->parent) /* No parent means peer PCI bus. */ mk_conf_addr()
H A Dcore_wildfire.c355 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, mk_conf_addr() argument
358 struct pci_controller *hose = pbus->sysdata; mk_conf_addr()
360 u8 bus = pbus->number; mk_conf_addr()
366 if (!pbus->parent) /* No parent means peer PCI bus. */ mk_conf_addr()
H A Dcore_mcpcia.c169 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where, mk_conf_addr() argument
173 u8 bus = pbus->number; mk_conf_addr()
183 if (!pbus->parent) /* No parent means peer PCI bus. */ mk_conf_addr()
H A Dcore_titan.c117 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, mk_conf_addr()
120 struct pci_controller *hose = pbus->sysdata; mk_conf_addr()
122 u8 bus = pbus->number; mk_conf_addr()
128 if (!pbus->parent) /* No parent means peer PCI bus. */ mk_conf_addr()
115 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, unsigned long *pci_addr, unsigned char *type1) mk_conf_addr() argument
H A Dcore_apecs.c92 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, mk_conf_addr() argument
96 u8 bus = pbus->number; mk_conf_addr()
H A Dcore_irongate.c81 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, mk_conf_addr() argument
85 u8 bus = pbus->number; mk_conf_addr()
H A Dcore_lca.c101 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, mk_conf_addr() argument
105 u8 bus = pbus->number; mk_conf_addr()
H A Dcore_t2.c140 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, mk_conf_addr() argument
144 u8 bus = pbus->number; mk_conf_addr()
H A Dcore_marvel.c510 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where) mk_conf_addr()
512 struct pci_controller *hose = pbus->sysdata; mk_conf_addr()
515 u8 bus = pbus->number; mk_conf_addr()
525 if (!pbus->parent) { /* No parent means peer PCI bus. */ mk_conf_addr()
505 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where) mk_conf_addr() argument
/linux-4.4.14/arch/powerpc/kernel/
H A Dpci_dn.c44 struct pci_bus *pbus; pci_bus_to_pdn() local
52 pbus = bus; pci_bus_to_pdn()
53 while (pbus) { pci_bus_to_pdn()
54 if (pci_is_root_bus(pbus) || pbus->self) pci_bus_to_pdn()
57 pbus = pbus->parent; pci_bus_to_pdn()
64 dn = pci_bus_to_OF_node(pbus); pci_bus_to_pdn()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
H A Daiutils.c470 struct bcma_bus *pbus) ai_doattach()
475 sii->icbus = pbus; ai_doattach()
476 sii->pcibus = pbus->host_pci; ai_doattach()
479 cc = pbus->drv_cc.core; ai_doattach()
481 sih->chip = pbus->chipinfo.id; ai_doattach()
482 sih->chiprev = pbus->chipinfo.rev; ai_doattach()
483 sih->chippkg = pbus->chipinfo.pkg; ai_doattach()
484 sih->boardvendor = pbus->boardinfo.vendor; ai_doattach()
485 sih->boardtype = pbus->boardinfo.type; ai_doattach()
510 ai_attach(struct bcma_bus *pbus) ai_attach() argument
519 if (ai_doattach(sii, pbus) == NULL) { ai_attach()
469 ai_doattach(struct si_info *sii, struct bcma_bus *pbus) ai_doattach() argument
H A Daiutils.h178 struct si_pub *ai_attach(struct bcma_bus *pbus);
/linux-4.4.14/arch/x86/pci/
H A Dfixup.c243 struct pci_bus *pbus; pcie_rootport_aspm_quirk() local
246 if ((pbus = pdev->subordinate) == NULL) pcie_rootport_aspm_quirk()
258 if (list_empty(&pbus->devices)) { pcie_rootport_aspm_quirk()
261 * after hot-remove, the pbus->devices is empty and this code pcie_rootport_aspm_quirk()
268 pci_bus_set_ops(pbus, pbus->parent->ops); pcie_rootport_aspm_quirk()
276 list_for_each_entry(dev, &pbus->devices, bus_list) pcie_rootport_aspm_quirk()
281 pci_bus_set_ops(pbus, &quirk_pcie_aspm_ops); pcie_rootport_aspm_quirk()
282 dev_info(&pbus->dev, "writes to ASPM control bits will be ignored\n"); pcie_rootport_aspm_quirk()
/linux-4.4.14/drivers/pci/
H A Dpci-acpi.c258 struct pci_bus *pbus; pci_get_hp_params() local
264 for (pbus = dev->bus; pbus; pbus = pbus->parent) { pci_get_hp_params()
265 handle = acpi_pci_get_bridge_handle(pbus); pci_get_hp_params()
/linux-4.4.14/sound/pci/cs5535audio/
H A Dcs5535audio.c152 struct snd_ac97_bus *pbus; snd_cs5535audio_mixer() local
160 if ((err = snd_ac97_bus(card, 0, &ops, NULL, &pbus)) < 0) snd_cs5535audio_mixer()
172 if ((err = snd_ac97_mixer(pbus, &ac97, &cs5535au->ac97)) < 0) { snd_cs5535audio_mixer()
/linux-4.4.14/arch/mips/include/asm/octeon/
H A Dcvmx-pescx-defs.h219 uint64_t pbus:8; member in struct:cvmx_pescx_ctl_status::cvmx_pescx_ctl_status_s
247 uint64_t pbus:8;
258 uint64_t pbus:8; member in struct:cvmx_pescx_ctl_status::cvmx_pescx_ctl_status_cn56xx
286 uint64_t pbus:8;
H A Dcvmx-pemx-defs.h265 uint64_t pbus:8; member in struct:cvmx_pemx_ctl_status::cvmx_pemx_ctl_status_s
295 uint64_t pbus:8;
/linux-4.4.14/arch/mips/include/asm/sgi/
H A Dhpc3.h38 volatile u32 pbdma_bptr; /* pbus dma channel buffer ptr */
39 volatile u32 pbdma_dptr; /* pbus dma channel desc ptr */
41 volatile u32 pbdma_ctrl; /* pbus dma channel control register has
201 #define HPC3_ISTAT_PBIMASK 0x0ff /* irq bits for pbus devs 0 --> 7 */
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c75 pci_domain_nr(pe->pbus), pe->pbus->number); pe_level_printk()
620 pdev = pe->pbus->self; pnv_ioda_set_peltv()
653 if (pe->pbus) { pnv_ioda_deconfigure_pe()
658 parent = pe->pbus->self; pnv_ioda_deconfigure_pe()
660 count = pe->pbus->busn_res.end - pe->pbus->busn_res.start + 1; pnv_ioda_deconfigure_pe()
672 dev_err(&pe->pbus->dev, "Number of subordinate buses %d unsupported\n", pnv_ioda_deconfigure_pe()
717 pe->pbus = NULL; pnv_ioda_deconfigure_pe()
732 if (pe->pbus) { pnv_ioda_configure_pe()
737 parent = pe->pbus->self; pnv_ioda_configure_pe()
739 count = pe->pbus->busn_res.end - pe->pbus->busn_res.start + 1; pnv_ioda_configure_pe()
751 dev_err(&pe->pbus->dev, "Number of subordinate buses %d unsupported\n", pnv_ioda_configure_pe()
967 pe->pbus = NULL;
1046 pe->pbus = bus; pnv_ioda_setup_bus_PE()
1064 pe->pbus = NULL; pnv_ioda_setup_bus_PE()
1409 pe->pbus = NULL; pnv_ioda_setup_vf_PE()
1929 pnv_ioda_setup_bus_dma(pe, pe->pbus); pnv_pci_ioda_setup_dma_pe()
2382 pnv_ioda_setup_bus_dma(pe, pe->pbus); pnv_pci_ioda2_setup_dma_pe()
2822 pci_bus_for_each_resource(pe->pbus, res, i) { pnv_ioda_setup_pe_seg()
H A Dpci.h36 * is populated, in the later case, pbus is.
42 struct pci_bus *pbus; member in struct:pnv_ioda_pe
H A Dpci.c781 if (!pe->pbus) pnv_pci_dma_bus_setup()
785 pe->pbus = bus; pnv_pci_dma_bus_setup()
/linux-4.4.14/drivers/acpi/
H A Dpci_root.c283 struct pci_bus *pbus; acpi_get_pci_dev() local
311 pbus = root->bus; acpi_get_pci_dev()
326 pdev = pci_get_slot(pbus, PCI_DEVFN(dev, fn)); acpi_get_pci_dev()
330 pbus = pdev->subordinate; acpi_get_pci_dev()
338 if (!pbus) { acpi_get_pci_dev()
/linux-4.4.14/sound/pci/
H A Datiixp.c1254 struct snd_ac97_bus *pbus = chip->ac97_bus; snd_atiixp_pcm_new() local
1268 err = snd_ac97_pcm_assign(pbus, num_pcms, atiixp_pcm_defs); snd_atiixp_pcm_new()
1272 chip->pcms[i] = &pbus->pcms[i]; snd_atiixp_pcm_new()
1275 if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_PCM_SLEFT)) { snd_atiixp_pcm_new()
1276 if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_LFE)) snd_atiixp_pcm_new()
1418 struct snd_ac97_bus *pbus; snd_atiixp_mixer_new() local
1435 if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) snd_atiixp_mixer_new()
1437 pbus->clock = clock; snd_atiixp_mixer_new()
1438 chip->ac97_bus = pbus; snd_atiixp_mixer_new()
1451 if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) { snd_atiixp_mixer_new()
H A Dintel8x0.c2208 struct snd_ac97_bus *pbus; snd_intel8x0_mixer() local
2281 if ((err = snd_ac97_bus(chip->card, 0, ops, chip, &pbus)) < 0) snd_intel8x0_mixer()
2283 pbus->private_free = snd_intel8x0_mixer_free_ac97_bus; snd_intel8x0_mixer()
2285 pbus->clock = ac97_clock; snd_intel8x0_mixer()
2288 pbus->no_vra = 1; snd_intel8x0_mixer()
2290 pbus->dra = 1; snd_intel8x0_mixer()
2291 chip->ac97_bus = pbus; snd_intel8x0_mixer()
2297 if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) { snd_intel8x0_mixer()
2309 pbus->isdin = 1; snd_intel8x0_mixer()
2316 err = snd_ac97_pcm_assign(pbus, i, ac97_pcm_defs); snd_intel8x0_mixer()
2319 chip->ichd[ICHD_PCMOUT].pcm = &pbus->pcms[0]; snd_intel8x0_mixer()
2320 chip->ichd[ICHD_PCMIN].pcm = &pbus->pcms[1]; snd_intel8x0_mixer()
2321 chip->ichd[ICHD_MIC].pcm = &pbus->pcms[2]; snd_intel8x0_mixer()
2323 chip->ichd[chip->spdif_idx].pcm = &pbus->pcms[3]; snd_intel8x0_mixer()
2325 chip->ichd[ICHD_PCM2IN].pcm = &pbus->pcms[4]; snd_intel8x0_mixer()
2326 chip->ichd[ICHD_MIC2].pcm = &pbus->pcms[5]; snd_intel8x0_mixer()
2347 if (pbus->pcms[0].r[0].slots & (1 << AC97_SLOT_PCM_SLEFT)) { snd_intel8x0_mixer()
2349 if (pbus->pcms[0].r[0].slots & (1 << AC97_SLOT_LFE)) { snd_intel8x0_mixer()
2355 if (pbus->pcms[0].r[1].rslots[0]) { snd_intel8x0_mixer()
H A Dintel8x0m.c831 struct snd_ac97_bus *pbus; snd_intel8x0m_mixer() local
850 if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) snd_intel8x0m_mixer()
852 pbus->private_free = snd_intel8x0m_mixer_free_ac97_bus; snd_intel8x0m_mixer()
854 pbus->clock = ac97_clock; snd_intel8x0m_mixer()
855 chip->ac97_bus = pbus; snd_intel8x0m_mixer()
859 if ((err = snd_ac97_mixer(pbus, &ac97, &x97)) < 0) { snd_intel8x0m_mixer()
H A Datiixp_modem.c1066 struct snd_ac97_bus *pbus; snd_atiixp_mixer_new() local
1083 if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) snd_atiixp_mixer_new()
1085 pbus->clock = clock; snd_atiixp_mixer_new()
1086 chip->ac97_bus = pbus; snd_atiixp_mixer_new()
1097 if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) { snd_atiixp_mixer_new()
H A Dens1370.c1631 struct snd_ac97_bus *pbus; snd_ensoniq_1371_mixer() local
1640 if ((err = snd_ac97_bus(card, 0, &ops, NULL, &pbus)) < 0) snd_ensoniq_1371_mixer()
1648 if ((err = snd_ac97_mixer(pbus, &ac97, &ensoniq->u.es1371.ac97)) < 0) snd_ensoniq_1371_mixer()
H A Dmaestro3.c2054 struct snd_ac97_bus *pbus; snd_m3_mixer() local
2065 if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) snd_m3_mixer()
2070 if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97)) < 0) snd_m3_mixer()
H A Des1968.c2022 struct snd_ac97_bus *pbus; snd_es1968_mixer() local
2033 if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) snd_es1968_mixer()
2035 pbus->no_vra = 1; /* ES1968 doesn't need VRA */ snd_es1968_mixer()
2039 if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97)) < 0) snd_es1968_mixer()
/linux-4.4.14/arch/x86/kernel/
H A Dpci-calgary_64.c321 struct pci_bus *pbus; find_iommu_table() local
327 pbus = pdev->bus; find_iommu_table()
329 tbl = pci_iommu(pbus); find_iommu_table()
330 if (tbl && tbl->it_busno == pbus->number) find_iommu_table()
333 pbus = pbus->parent; find_iommu_table()
334 } while (pbus); find_iommu_table()
336 BUG_ON(tbl && (tbl->it_busno != pbus->number)); find_iommu_table()
/linux-4.4.14/drivers/media/platform/
H A Dvia-camera.c1286 struct pci_bus *pbus = pci_find_bus(0, 0); viacam_serial_is_enabled() local
1289 if (!pbus) viacam_serial_is_enabled()
1291 pci_bus_read_config_byte(pbus, VIACAM_SERIAL_DEVFN, viacam_serial_is_enabled()
1303 pci_bus_write_config_byte(pbus, VIACAM_SERIAL_DEVFN, viacam_serial_is_enabled()
/linux-4.4.14/sound/pci/emu10k1/
H A Demu10k1x.c736 struct snd_ac97_bus *pbus; snd_emu10k1x_ac97() local
744 if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) snd_emu10k1x_ac97()
746 pbus->no_vra = 1; /* we don't need VRA */ snd_emu10k1x_ac97()
751 return snd_ac97_mixer(pbus, &ac97, &chip->ac97); snd_emu10k1x_ac97()
H A Demumixer.c1913 struct snd_ac97_bus *pbus; snd_emu10k1_mixer() local
1920 if ((err = snd_ac97_bus(emu->card, 0, &ops, NULL, &pbus)) < 0) snd_emu10k1_mixer()
1922 pbus->no_vra = 1; /* we don't need VRA */ snd_emu10k1_mixer()
1928 if ((err = snd_ac97_mixer(pbus, &ac97, &emu->ac97)) < 0) { snd_emu10k1_mixer()
1935 snd_device_free(emu->card, pbus); snd_emu10k1_mixer()
/linux-4.4.14/sound/pci/nm256/
H A Dnm256.c1306 struct snd_ac97_bus *pbus; snd_nm256_mixer() local
1320 if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) snd_nm256_mixer()
1327 pbus->no_vra = 1; snd_nm256_mixer()
1328 err = snd_ac97_mixer(pbus, &ac97, &chip->ac97); snd_nm256_mixer()
/linux-4.4.14/sound/pci/ca0106/
H A Dca0106_main.c1229 struct snd_ac97_bus *pbus; snd_ca0106_ac97() local
1237 if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) snd_ca0106_ac97()
1239 pbus->no_vra = 1; /* we don't need VRA */ snd_ca0106_ac97()
1244 return snd_ac97_mixer(pbus, &ac97, &chip->ac97); snd_ca0106_ac97()
/linux-4.4.14/sound/pci/riptide/
H A Driptide.c1985 struct snd_ac97_bus *pbus; snd_riptide_mixer() local
1997 if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) snd_riptide_mixer()
2000 chip->ac97_bus = pbus; snd_riptide_mixer()
2002 if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97)) < 0) snd_riptide_mixer()
/linux-4.4.14/drivers/mmc/host/
H A Dau1xmmc.c602 unsigned int pbus = clk_get_rate(host->clk); au1xmmc_set_clock() local
603 unsigned int divisor = ((pbus / rate) / 2) - 1; au1xmmc_set_clock()
/linux-4.4.14/sound/pci/ice1712/
H A Dice1712.c1508 struct snd_ac97_bus *pbus; snd_ice1712_ac97_mixer() local
1519 err = snd_ac97_bus(ice->card, bus_num++, &con_ops, NULL, &pbus); snd_ice1712_ac97_mixer()
1525 err = snd_ac97_mixer(pbus, &ac97, &ice->ac97); snd_ice1712_ac97_mixer()
1537 err = snd_ac97_bus(ice->card, bus_num, &pro_ops, NULL, &pbus); snd_ice1712_ac97_mixer()
1543 err = snd_ac97_mixer(pbus, &ac97, &ice->ac97); snd_ice1712_ac97_mixer()
H A Dice1724.c1492 struct snd_ac97_bus *pbus; snd_vt1724_ac97_mixer() local
1504 err = snd_ac97_bus(ice->card, 0, &ops, NULL, &pbus); snd_vt1724_ac97_mixer()
1509 err = snd_ac97_mixer(pbus, &ac97, &ice->ac97); snd_vt1724_ac97_mixer()
/linux-4.4.14/arch/powerpc/platforms/powermac/
H A Dfeature.c815 u8 pbus, pid; core99_ata100_enable() local
831 if (pci_device_from_OF_node(node, &pbus, &pid) == 0) core99_ata100_enable()
832 pdev = pci_get_bus_and_slot(pbus, pid); core99_ata100_enable()
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
H A Dde4x5.c2197 u_char pb, pbus = 0, dev_num, dnum = 0, timer; de4x5_pci_probe() local
2209 pbus = (u_short)(io >> 8); de4x5_pci_probe()
2211 if ((pbus != pb) || (dnum != dev_num)) de4x5_pci_probe()

Completed in 1930 milliseconds