| /linux/sound/mips/ |
| H A D | hal2.c | 45 struct hpc3_pbus_dmacregs *pbus; member 47 unsigned int ctrl; /* Current state of pbus->pbdma_ctrl */ 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 360 /* Now we set up some PBUS information. The PBUS needs information about in hal2_setup_dac() 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() [all …]
|
| /linux/include/linux/ |
| H A D | pci-acpi.h | 34 struct pci_bus *pbus = pdev->bus; in acpi_find_root_bridge_handle() local 37 while (!pci_is_root_bus(pbus)) in acpi_find_root_bridge_handle() 38 pbus = pbus->parent; in acpi_find_root_bridge_handle() 40 return ACPI_HANDLE(pbus->bridge); in acpi_find_root_bridge_handle() 43 static inline acpi_handle acpi_pci_get_bridge_handle(struct pci_bus *pbus) in acpi_pci_get_bridge_handle() argument 47 if (pci_is_root_bus(pbus)) in acpi_pci_get_bridge_handle() 48 dev = pbus->bridge; in acpi_pci_get_bridge_handle() 50 /* If pbus is a virtual bus, there is no bridge to it */ in acpi_pci_get_bridge_handle() 51 if (!pbus->self) in acpi_pci_get_bridge_handle() 54 dev = &pbus->self->dev; in acpi_pci_get_bridge_handle()
|
| H A D | pci_hotplug.h | 71 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/drivers/pci/hotplug/ |
| H A D | acpi_pcihp.c | 111 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() 161 * @pbus: the PCI bus of the PCI slot corresponding to 'handle' 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/Documentation/devicetree/bindings/pci/ |
| H A D | mediatek-pcie-gen3.yaml | 117 mediatek,pbus-csr: 121 - description: phandle to pbus-csr syscon 122 - description: offset of pbus-csr base address register 123 - description: offset of pbus-csr base address mask register 187 mediatek,pbus-csr: false 218 mediatek,pbus-csr: false 248 mediatek,pbus-csr: false 277 mediatek,pbus-csr: false
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
| H A D | bus.c | 194 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(sizeof(**pbus), GFP_KERNEL))) in nvkm_i2c_bus_new_() 263 return nvkm_i2c_bus_ctor(func, pad, id, *pbus); in nvkm_i2c_bus_new_()
|
| H A D | busnv4e.c | 75 struct nvkm_i2c_bus **pbus) in nv4e_i2c_bus_new() argument 81 *pbus = &bus->base; in nv4e_i2c_bus_new()
|
| H A D | busgf119.c | 84 struct nvkm_i2c_bus **pbus) in gf119_i2c_bus_new() argument 90 *pbus = &bus->base; in gf119_i2c_bus_new()
|
| H A D | busnv04.c | 84 struct nvkm_i2c_bus **pbus) in nv04_i2c_bus_new() argument 90 *pbus = &bus->base; in nv04_i2c_bus_new()
|
| /linux/arch/sparc/kernel/ |
| H A D | pci.c | 740 int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() argument 742 struct pci_pbm_info *pbm = pbus->sysdata; in pcibus_to_node() 751 int pci_domain_nr(struct pci_bus *pbus) in pci_domain_nr() argument 753 struct pci_pbm_info *pbm = pbus->sysdata; in pci_domain_nr() 875 static void pcie_bus_slot_names(struct pci_bus *pbus) in pcie_bus_slot_names() argument 880 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pcie_bus_slot_names() 893 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); in pcie_bus_slot_names() 900 list_for_each_entry(bus, &pbus->children, node) in pcie_bus_slot_names() 951 struct pci_bus *pbus = NULL; in of_pci_slot_init() local 953 while ((pbus = pci_find_next_bus(pbus)) != NULL) { in of_pci_slot_init() [all …]
|
| /linux/drivers/acpi/apei/ |
| H A D | einj-cxl.c | 52 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/sound/pci/au88x0/ |
| H A D | au88x0_mixer.c | 25 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 D | pci_dn.c | 32 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/Documentation/devicetree/bindings/dma/ |
| H A D | qcom,adm.yaml | 43 - description: phandle to the pbus reset 51 - const: pbus 95 reset-names = "clk", "pbus", "c0", "c1", "c2";
|
| /linux/drivers/video/fbdev/riva/ |
| H A D | nvreg.h | 141 #define PBUS_Write(reg,value) DEVICE_WRITE(PBUS,reg,value) 142 #define PBUS_Read(reg) DEVICE_READ(PBUS,reg) 143 #define PBUS_Print(reg) DEVICE_PRINT(PBUS,reg) 144 #define PBUS_Def(mask,value) DEVICE_DEF(PBUS,mask,value) 145 #define PBUS_Val(mask,value) DEVICE_VALUE(PBUS,mask,value) 146 #define PBUS_Mask(mask) DEVICE_MASK(PBUS,mask)
|
| /linux/arch/mips/include/asm/sgi/ |
| H A D | hpc3.h | 36 /* The set of regs for each HPC3 PBUS DMA channel. */ 38 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 179 /* First regs for the PBUS 8 dma channels. */ 201 #define HPC3_ISTAT_PBIMASK 0x0ff /* irq bits for pbus devs 0 --> 7 */ 289 /* PBUS PROM control regs. */
|
| /linux/arch/sparc/include/asm/ |
| H A D | topology_64.h | 20 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/drivers/of/ |
| H A D | address.c | 421 const struct of_bus *pbus, __be32 *addr, in of_translate_one() argument 457 memset(addr + pbus->flag_cells, 0, (pna - pbus->flag_cells) * 4); in of_translate_one() 483 return pbus->translate(addr, offset, pna); in of_translate_one() 507 const struct of_bus *bus, *pbus; in __of_translate_address() local 562 pbus = of_match_bus(parent); in __of_translate_address() 563 if (!pbus) in __of_translate_address() 565 pbus->count_cells(dev, &pna, &pns); in __of_translate_address() 572 pbus->name, pna, pns, parent); in __of_translate_address() 575 if (of_translate_one(dev, bus, pbus, addr, na, ns, pna, rprop)) in __of_translate_address() 581 bus = pbus; in __of_translate_address()
|
| /linux/arch/mips/sgi-ip22/ |
| H A D | ip22-hpc.c | 39 /* IOC lives in PBUS PIO channel 6 */ in sgihpc_init() 44 /* Full House comes with INT2 which lives in PBUS PIO in sgihpc_init()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
| H A D | base.c | 56 enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) in nvkm_bus_new_() argument 59 if (!(bus = *pbus = kzalloc(sizeof(*bus), GFP_KERNEL))) in nvkm_bus_new_()
|
| H A D | g94.c | 62 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 D | nv04.c | 72 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 D | gf100.c | 75 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 D | nv31.c | 86 struct nvkm_bus **pbus) in nv31_bus_new() argument 88 return nvkm_bus_new_(&nv31_bus, device, type, inst, pbus); in nv31_bus_new()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | pci-ioda.c | 68 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 …]
|