Home
last modified time | relevance | path

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

123

/linux/sound/mips/
H A Dhal2.c45 struct hpc3_pbus_dmacregs *pbus; member
64 struct hal2_pbus pbus; member
303 if (hal2->dac.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { in hal2_interrupt()
307 if (hal2->adc.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { in hal2_interrupt()
358 struct hal2_pbus *pbus = &hal2->dac.pbus; in hal2_setup_dac() local
371 pbus->ctrl = HPC3_PDMACTRL_RT | HPC3_PDMACTRL_LD | in hal2_setup_dac()
374 pbus->pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; in hal2_setup_dac()
381 hal2_i_setbit16(hal2, H2I_DMA_DRV, (1 << pbus->pbusnr)); in hal2_setup_dac()
383 hal2_i_write16(hal2, H2I_DAC_C1, (pbus->pbusnr << H2I_C1_DMA_SHIFT) in hal2_setup_dac()
391 struct hal2_pbus *pbus = &hal2->adc.pbus; in hal2_setup_adc() local
[all …]
/linux/drivers/pci/hotplug/
H A Dacpi_pcihp.c111 struct pci_bus *pbus; in acpi_get_hp_hw_control_from_firmware() local
112 for (pbus = pdev->bus; pbus; pbus = pbus->parent) { in acpi_get_hp_hw_control_from_firmware()
113 handle = acpi_pci_get_bridge_handle(pbus); in acpi_get_hp_hw_control_from_firmware()
166 int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle) in acpi_pci_check_ejectable() argument
170 bridge_handle = acpi_pci_get_bridge_handle(pbus); in acpi_pci_check_ejectable()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dbus.c194 nvkm_i2c_bus_del(struct nvkm_i2c_bus **pbus) in nvkm_i2c_bus_del() argument
196 struct nvkm_i2c_bus *bus = *pbus; in nvkm_i2c_bus_del()
202 kfree(*pbus); in nvkm_i2c_bus_del()
203 *pbus = NULL; in nvkm_i2c_bus_del()
259 struct nvkm_i2c_bus **pbus) in nvkm_i2c_bus_new_() argument
261 if (!(*pbus = kzalloc_obj(**pbus))) in nvkm_i2c_bus_new_()
263 return nvkm_i2c_bus_ctor(func, pad, id, *pbus); in nvkm_i2c_bus_new_()
H A Danx9805.c104 struct nvkm_i2c_bus **pbus) in anx9805_bus_new() argument
112 *pbus = &bus->base; in anx9805_bus_new()
233 struct nvkm_i2c_aux **pbus) in anx9805_aux_new() argument
241 *pbus = &aux->base; in anx9805_aux_new()
H A Dbusnv4e.c75 struct nvkm_i2c_bus **pbus) in nv4e_i2c_bus_new() argument
81 *pbus = &bus->base; in nv4e_i2c_bus_new()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Daiutils.c470 struct bcma_bus *pbus) in ai_doattach() argument
475 sii->icbus = pbus; in ai_doattach()
476 sii->pcibus = pbus->host_pci; in ai_doattach()
479 cc = pbus->drv_cc.core; in ai_doattach()
481 sih->chip = pbus->chipinfo.id; in ai_doattach()
482 sih->chiprev = pbus->chipinfo.rev; in ai_doattach()
483 sih->chippkg = pbus->chipinfo.pkg; in ai_doattach()
484 sih->boardvendor = pbus->boardinfo.vendor; in ai_doattach()
485 sih->boardtype = pbus->boardinfo.type; in ai_doattach()
510 ai_attach(struct bcma_bus *pbus) in ai_attach() argument
[all …]
/linux/arch/sparc/kernel/
H A Dpci.c770 int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() argument
772 struct pci_pbm_info *pbm = pbus->sysdata; in pcibus_to_node()
781 int pci_domain_nr(struct pci_bus *pbus) in pci_domain_nr() argument
783 struct pci_pbm_info *pbm = pbus->sysdata; in pci_domain_nr()
905 static void pcie_bus_slot_names(struct pci_bus *pbus) in pcie_bus_slot_names() argument
910 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pcie_bus_slot_names()
923 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); in pcie_bus_slot_names()
930 list_for_each_entry(bus, &pbus->children, node) in pcie_bus_slot_names()
981 struct pci_bus *pbus = NULL; in of_pci_slot_init() local
983 while ((pbus = pci_find_next_bus(pbus)) != NULL) { in of_pci_slot_init()
[all …]
H A 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()
H A 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()
H A 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()
/linux/drivers/acpi/apei/
H A Deinj-cxl.c52 struct pci_bus *pbus; in cxl_dport_get_sbdf() local
56 pbus = dport_dev->bus; in cxl_dport_get_sbdf()
57 bridge = pci_find_host_bridge(pbus); in cxl_dport_get_sbdf()
65 bus = pbus->number; in cxl_dport_get_sbdf()
/linux/include/linux/
H A Dpci_hotplug.h71 int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *pbus, int nr,
84 #define pci_hp_register(slot, pbus, devnr, name) \ argument
85 __pci_hp_register(slot, pbus, devnr, name, THIS_MODULE, KBUILD_MODNAME)
94 int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle);
/linux/sound/pci/au88x0/
H A Dau88x0_mixer.c25 struct snd_ac97_bus *pbus; in snd_vortex_mixer() local
33 err = snd_ac97_bus(vortex->card, 0, &ops, NULL, &pbus); in snd_vortex_mixer()
40 err = snd_ac97_mixer(pbus, &ac97, &vortex->codec); in snd_vortex_mixer()
/linux/arch/powerpc/kernel/
H A 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()
/linux/drivers/xen/
H A Dpci.c90 struct pci_bus *pbus; in xen_add_device() local
91 for (pbus = pci_dev->bus; pbus; pbus = pbus->parent) { in xen_add_device()
92 handle = acpi_pci_get_bridge_handle(pbus); in xen_add_device()
/linux/drivers/of/
H A Daddress.c417 const struct of_bus *pbus, __be32 *addr, in of_translate_one() argument
453 memset(addr + pbus->flag_cells, 0, (pna - pbus->flag_cells) * 4); in of_translate_one()
479 return pbus->translate(addr, offset, pna); in of_translate_one()
503 const struct of_bus *bus, *pbus; in __of_translate_address() local
558 pbus = of_match_bus(parent); in __of_translate_address()
559 if (!pbus) in __of_translate_address()
561 pbus->count_cells(dev, &pna, &pns); in __of_translate_address()
568 pbus->name, pna, pns, parent); in __of_translate_address()
571 if (of_translate_one(dev, bus, pbus, addr, na, ns, pna, rprop)) in __of_translate_address()
577 bus = pbus; in __of_translate_address()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dg94.c62 struct nvkm_bus **pbus) in g94_bus_new() argument
64 return nvkm_bus_new_(&g94_bus, device, type, inst, pbus); in g94_bus_new()
H A Dbase.c56 enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) in nvkm_bus_new_() argument
59 if (!(bus = *pbus = kzalloc_obj(*bus))) in nvkm_bus_new_()
H A Dnv04.c72 struct nvkm_bus **pbus) in nv04_bus_new() argument
74 return nvkm_bus_new_(&nv04_bus, device, type, inst, pbus); in nv04_bus_new()
H A Dgf100.c75 struct nvkm_bus **pbus) in gf100_bus_new() argument
80 return nvkm_bus_new_(&gf100_bus, device, type, inst, pbus); in gf100_bus_new()
H A Dnv31.c86 struct nvkm_bus **pbus) in nv31_bus_new() argument
88 return nvkm_bus_new_(&nv31_bus, device, type, inst, pbus); in nv31_bus_new()
H A Dnv50.c103 struct nvkm_bus **pbus) in nv50_bus_new() argument
105 return nvkm_bus_new_(&nv50_bus, device, type, inst, pbus); in nv50_bus_new()
/linux/arch/sparc/include/asm/
H A 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
/linux/arch/x86/pci/
H A 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()
/linux/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c68 pci_domain_nr(pe->pbus), pe->pbus->number); in pe_level_printk()
683 pdev = pe->pbus->self; in pnv_ioda_set_peltv()
743 if (pe->pbus) { in pnv_ioda_deconfigure_pe()
748 parent = pe->pbus->self; in pnv_ioda_deconfigure_pe()
750 count = resource_size(&pe->pbus->busn_res); in pnv_ioda_deconfigure_pe()
762 dev_err(&pe->pbus->dev, "Number of subordinate buses %d unsupported\n", in pnv_ioda_deconfigure_pe()
797 pe->pbus = NULL; in pnv_ioda_deconfigure_pe()
812 if (pe->pbus) { in pnv_ioda_configure_pe()
818 count = resource_size(&pe->pbus->busn_res); in pnv_ioda_configure_pe()
830 dev_err(&pe->pbus->dev, "Number of subordinate buses %d unsupported\n", in pnv_ioda_configure_pe()
[all …]

123