/linux-master/include/linux/ |
H A D | pci-acpi.h | 34 struct pci_bus *pbus = pdev->bus; local 37 while (!pci_is_root_bus(pbus)) 38 pbus = pbus->parent; 40 return ACPI_HANDLE(pbus->bridge); 43 static inline acpi_handle acpi_pci_get_bridge_handle(struct pci_bus *pbus) argument 47 if (pci_is_root_bus(pbus)) 48 dev = pbus->bridge; 50 /* If pbus is a virtual bus, there is no bridge to it */ 51 if (!pbus [all...] |
H A D | pci_hotplug.h | 73 int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *pbus, int nr, 86 #define pci_hp_register(slot, pbus, devnr, name) \ 87 __pci_hp_register(slot, pbus, devnr, name, THIS_MODULE, KBUILD_MODNAME) 96 int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle);
|
/linux-master/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) argument
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | g94.c | 62 struct nvkm_bus **pbus) 64 return nvkm_bus_new_(&g94_bus, device, type, inst, pbus); 61 g94_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) argument
|
H A D | base.c | 56 enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) 59 if (!(bus = *pbus = kzalloc(sizeof(*bus), GFP_KERNEL))) 55 nvkm_bus_new_(const struct nvkm_bus_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) argument
|
H A D | nv04.c | 72 struct nvkm_bus **pbus) 74 return nvkm_bus_new_(&nv04_bus, device, type, inst, pbus); 71 nv04_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) argument
|
H A D | nv31.c | 86 struct nvkm_bus **pbus) 88 return nvkm_bus_new_(&nv31_bus, device, type, inst, pbus); 85 nv31_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) argument
|
H A D | gf100.c | 75 struct nvkm_bus **pbus) 80 return nvkm_bus_new_(&gf100_bus, device, type, inst, pbus); 74 gf100_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) argument
|
H A D | nv50.c | 103 struct nvkm_bus **pbus) 105 return nvkm_bus_new_(&nv50_bus, device, type, inst, pbus); 102 nv50_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) argument
|
/linux-master/drivers/pci/hotplug/ |
H A D | acpi_pcihp.c | 111 struct pci_bus *pbus; local 112 for (pbus = pdev->bus; pbus; pbus = pbus->parent) { 113 handle = acpi_pci_get_bridge_handle(pbus); 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) argument 170 bridge_handle = acpi_pci_get_bridge_handle(pbus);
|
/linux-master/drivers/acpi/apei/ |
H A D | einj-cxl.c | 52 struct pci_bus *pbus; local 56 pbus = dport_dev->bus; 57 bridge = pci_find_host_bridge(pbus); 65 bus = pbus->number;
|
/linux-master/sound/pci/au88x0/ |
H A D | au88x0_mixer.c | 25 struct snd_ac97_bus *pbus; local 33 err = snd_ac97_bus(vortex->card, 0, &ops, NULL, &pbus); 40 err = snd_ac97_mixer(pbus, &ac97, &vortex->codec);
|
/linux-master/sound/mips/ |
H A D | hal2.c | 45 struct hpc3_pbus_dmacregs *pbus; member in struct:hal2_pbus 47 unsigned int ctrl; /* Current state of pbus->pbdma_ctrl */ 64 struct hal2_pbus pbus; member in struct:hal2_codec 303 if (hal2->dac.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { 307 if (hal2->adc.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { 358 struct hal2_pbus *pbus = &hal2->dac.pbus; local 371 pbus 391 struct hal2_pbus *pbus = &hal2->adc.pbus; local 415 struct hal2_pbus *pbus = &hal2->dac.pbus; local 425 struct hal2_pbus *pbus = &hal2->adc.pbus; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | bus.c | 194 nvkm_i2c_bus_del(struct nvkm_i2c_bus **pbus) argument 196 struct nvkm_i2c_bus *bus = *pbus; 202 kfree(*pbus); 203 *pbus = NULL; 259 struct nvkm_i2c_bus **pbus) 261 if (!(*pbus = kzalloc(sizeof(**pbus), GFP_KERNEL))) 263 return nvkm_i2c_bus_ctor(func, pad, id, *pbus); 257 nvkm_i2c_bus_new_(const struct nvkm_i2c_bus_func *func, struct nvkm_i2c_pad *pad, int id, struct nvkm_i2c_bus **pbus) argument
|
H A D | busgf119.c | 84 struct nvkm_i2c_bus **pbus) 90 *pbus = &bus->base; 83 gf119_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, struct nvkm_i2c_bus **pbus) argument
|
H A D | busnv04.c | 84 struct nvkm_i2c_bus **pbus) 90 *pbus = &bus->base; 83 nv04_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, u8 sense, struct nvkm_i2c_bus **pbus) argument
|
H A D | busnv4e.c | 75 struct nvkm_i2c_bus **pbus) 81 *pbus = &bus->base; 74 nv4e_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, struct nvkm_i2c_bus **pbus) argument
|
H A D | busnv50.c | 91 struct nvkm_i2c_bus **pbus) 107 *pbus = &bus->base; 90 nv50_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, struct nvkm_i2c_bus **pbus) argument
|
/linux-master/drivers/of/ |
H A D | fdt_address.c | 111 const struct of_bus *pbus, __be32 *addr, 150 return pbus->translate(addr, offset, pna); 166 const struct of_bus *bus, *pbus; local 215 pbus = &of_busses[0]; 216 pbus->count_cells(blob, parent, &pna, &pns); 227 if (fdt_translate_one(blob, node_offset, bus, pbus, 234 bus = pbus; 109 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) argument
|
/linux-master/drivers/xen/ |
H A D | pci.c | 82 struct pci_bus *pbus; local 83 for (pbus = pci_dev->bus; pbus; pbus = pbus->parent) { 84 handle = acpi_pci_get_bridge_handle(pbus);
|
/linux-master/arch/sparc/kernel/ |
H A D | of_device_32.c | 190 struct of_bus *pbus, 280 struct of_bus *pbus, *dbus; local 309 pbus = of_match_bus(pp); 310 pbus->count_cells(dp, &pna, &pns); 312 if (build_one_resource(dp, dbus, pbus, addr, 316 flags = pbus->get_flags(addr, flags); 320 dbus = pbus; 188 build_one_resource(struct device_node *parent, struct of_bus *bus, struct of_bus *pbus, u32 *addr, int na, int ns, int pna) argument
|
H A D | pci.c | 767 int pcibus_to_node(struct pci_bus *pbus) argument 769 struct pci_pbm_info *pbm = pbus->sysdata; 778 int pci_domain_nr(struct pci_bus *pbus) argument 780 struct pci_pbm_info *pbm = pbus->sysdata; 902 static void pcie_bus_slot_names(struct pci_bus *pbus) argument 907 list_for_each_entry(pdev, &pbus->devices, bus_list) { 920 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); 927 list_for_each_entry(bus, &pbus->children, node) 978 struct pci_bus *pbus = NULL; local 980 while ((pbus [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | core_polaris.c | 67 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, argument 70 u8 bus = pbus->number;
|
/linux-master/arch/powerpc/kernel/ |
H A D | pci_dn.c | 32 struct pci_bus *pbus; local 40 pbus = bus; 41 while (pbus) { 42 if (pci_is_root_bus(pbus) || pbus->self) 45 pbus = pbus->parent; 52 dn = pci_bus_to_OF_node(pbus);
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | aiutils.c | 470 struct bcma_bus *pbus) 475 sii->icbus = pbus; 476 sii->pcibus = pbus->host_pci; 479 cc = pbus->drv_cc.core; 481 sih->chip = pbus->chipinfo.id; 482 sih->chiprev = pbus->chipinfo.rev; 483 sih->chippkg = pbus->chipinfo.pkg; 484 sih->boardvendor = pbus->boardinfo.vendor; 485 sih->boardtype = pbus->boardinfo.type; 510 ai_attach(struct bcma_bus *pbus) argument 469 ai_doattach(struct si_info *sii, struct bcma_bus *pbus) argument [all...] |