Home
last modified time | relevance | path

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

12

/drivers/pci/hotplug/
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()
Dacpiphp_glue.c237 struct pci_bus *pbus = bridge->pci_bus; in acpiphp_add_context() local
303 if ((acpi_pci_check_ejectable(pbus, handle) || is_dock_device(adev)) in acpiphp_add_context()
314 sun, pci_domain_nr(pbus), pbus->number, device); in acpiphp_add_context()
332 if (pci_bus_read_dev_vendor_id(pbus, PCI_DEVFN(device, function), in acpiphp_add_context()
/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
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(sizeof(**pbus), GFP_KERNEL))) in nvkm_i2c_bus_new_()
263 return nvkm_i2c_bus_ctor(func, pad, id, *pbus); in nvkm_i2c_bus_new_()
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()
Dbusnv4e.c75 struct nvkm_i2c_bus **pbus) in nv4e_i2c_bus_new() argument
81 *pbus = &bus->base; in nv4e_i2c_bus_new()
Dbusgf119.c84 struct nvkm_i2c_bus **pbus) in gf119_i2c_bus_new() argument
90 *pbus = &bus->base; in gf119_i2c_bus_new()
Dbusnv04.c84 struct nvkm_i2c_bus **pbus) in nv04_i2c_bus_new() argument
90 *pbus = &bus->base; in nv04_i2c_bus_new()
Dbusnv50.c91 struct nvkm_i2c_bus **pbus) in nv50_i2c_bus_new() argument
107 *pbus = &bus->base; in nv50_i2c_bus_new()
/drivers/of/
Dfdt_address.c111 const struct of_bus *pbus, __be32 *addr, in fdt_translate_one() argument
150 return pbus->translate(addr, offset, pna); in fdt_translate_one()
166 const struct of_bus *bus, *pbus; in fdt_translate_address() local
215 pbus = &of_busses[0]; in fdt_translate_address()
216 pbus->count_cells(blob, parent, &pna, &pns); in fdt_translate_address()
227 if (fdt_translate_one(blob, node_offset, bus, pbus, in fdt_translate_address()
234 bus = pbus; in fdt_translate_address()
Daddress.c452 struct of_bus *pbus, __be32 *addr, in of_translate_one() argument
513 return pbus->translate(addr, offset, pna); in of_translate_one()
536 struct of_bus *bus, *pbus; in __of_translate_address() local
595 pbus = of_match_bus(parent); in __of_translate_address()
596 pbus->count_cells(dev, &pna, &pns); in __of_translate_address()
603 pbus->name, pna, pns, parent); in __of_translate_address()
606 if (of_translate_one(dev, bus, pbus, addr, na, ns, pna, rprop)) in __of_translate_address()
612 bus = pbus; in __of_translate_address()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
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 …]
Daiutils.h170 struct si_pub *ai_attach(struct bcma_bus *pbus);
/drivers/xen/
Dpci.c82 struct pci_bus *pbus; in xen_add_device() local
83 for (pbus = pci_dev->bus; pbus; pbus = pbus->parent) { in xen_add_device()
84 handle = acpi_pci_get_bridge_handle(pbus); in xen_add_device()
/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
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()
Dbase.c56 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_()
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()
Dgf100.c73 struct nvkm_bus **pbus) in gf100_bus_new() argument
75 return nvkm_bus_new_(&gf100_bus, device, type, inst, pbus); in gf100_bus_new()
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()
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()
/drivers/net/mdio/
Dmdio-mscc-miim.c215 int mscc_miim_setup(struct device *dev, struct mii_bus **pbus, const char *name, in mscc_miim_setup() argument
235 *pbus = bus; in mscc_miim_setup()
241 *pbus = bus; in mscc_miim_setup()
/drivers/pci/
Dpci-acpi.c751 struct pci_bus *pbus; in pci_acpi_program_hp_params() local
757 for (pbus = dev->bus; pbus; pbus = pbus->parent) { in pci_acpi_program_hp_params()
758 handle = acpi_pci_get_bridge_handle(pbus); in pci_acpi_program_hp_params()
Dpci-sysfs.c1520 struct pci_bus *pbus = NULL; in pci_sysfs_init() local
1532 while ((pbus = pci_find_next_bus(pbus))) in pci_sysfs_init()
1533 pci_create_legacy_files(pbus); in pci_sysfs_init()
/drivers/media/platform/via/
Dvia-camera.c1099 struct pci_bus *pbus = pci_find_bus(0, 0); in viacam_serial_is_enabled() local
1102 if (!pbus) in viacam_serial_is_enabled()
1104 pci_bus_read_config_byte(pbus, VIACAM_SERIAL_DEVFN, in viacam_serial_is_enabled()
1116 pci_bus_write_config_byte(pbus, VIACAM_SERIAL_DEVFN, in viacam_serial_is_enabled()
/drivers/acpi/arm64/
Diort.c550 struct pci_bus *pbus; in iort_find_dev_node() local
571 pbus = to_pci_dev(dev)->bus; in iort_find_dev_node()
574 iort_match_node_callback, &pbus->dev); in iort_find_dev_node()
1397 struct pci_bus *pbus = to_pci_dev(dev)->bus; in rc_dma_get_range() local
1400 iort_match_node_callback, &pbus->dev); in rc_dma_get_range()
/drivers/pci/controller/
Dpci-hyperv.c621 struct pci_bus *pbus; in hv_arch_irq_unmask() local
630 pbus = pdev->bus; in hv_arch_irq_unmask()
631 hbus = container_of(pbus->sysdata, struct hv_pcibus_device, sysdata); in hv_arch_irq_unmask()
1825 struct pci_bus *pbus; in hv_compose_msi_msg() local
1866 pbus = pdev->bus; in hv_compose_msi_msg()
1867 hbus = container_of(pbus->sysdata, struct hv_pcibus_device, sysdata); in hv_compose_msi_msg()

12