/arch/sparc/kernel/ |
D | leon_pci.c | 29 struct pci_host_bridge *bridge; in leon_pci_init() local 32 bridge = pci_alloc_host_bridge(0); in leon_pci_init() 33 if (!bridge) in leon_pci_init() 42 list_splice_init(&resources, &bridge->windows); in leon_pci_init() 43 bridge->dev.parent = &ofdev->dev; in leon_pci_init() 44 bridge->sysdata = info; in leon_pci_init() 45 bridge->busnr = 0; in leon_pci_init() 46 bridge->ops = info->ops; in leon_pci_init() 47 bridge->swizzle_irq = pci_common_swizzle; in leon_pci_init() 48 bridge->map_irq = info->map_irq; in leon_pci_init() [all …]
|
/arch/alpha/kernel/ |
D | sys_nautilus.c | 204 struct pci_host_bridge *bridge; in nautilus_init_pci() local 209 bridge = pci_alloc_host_bridge(0); in nautilus_init_pci() 210 if (!bridge) in nautilus_init_pci() 214 pci_add_resource(&bridge->windows, &ioport_resource); in nautilus_init_pci() 217 pci_add_resource(&bridge->windows, &irongate_mem); in nautilus_init_pci() 219 pci_add_resource(&bridge->windows, &busn_resource); in nautilus_init_pci() 220 bridge->dev.parent = NULL; in nautilus_init_pci() 221 bridge->sysdata = hose; in nautilus_init_pci() 222 bridge->busnr = 0; in nautilus_init_pci() 223 bridge->ops = alpha_mv.pci_ops; in nautilus_init_pci() [all …]
|
D | pci.c | 326 struct pci_host_bridge *bridge; in common_init_pci() local 351 bridge = pci_alloc_host_bridge(0); in common_init_pci() 352 if (!bridge) in common_init_pci() 355 list_splice_init(&resources, &bridge->windows); in common_init_pci() 356 bridge->dev.parent = NULL; in common_init_pci() 357 bridge->sysdata = hose; in common_init_pci() 358 bridge->busnr = next_busno; in common_init_pci() 359 bridge->ops = alpha_mv.pci_ops; in common_init_pci() 360 bridge->swizzle_irq = alpha_mv.pci_swizzle; in common_init_pci() 361 bridge->map_irq = alpha_mv.pci_map_irq; in common_init_pci() [all …]
|
/arch/m68k/coldfire/ |
D | pci.c | 168 struct pci_host_bridge *bridge; in mcf_pci_init() local 171 bridge = pci_alloc_host_bridge(0); in mcf_pci_init() 172 if (!bridge) in mcf_pci_init() 220 pci_free_host_bridge(bridge); in mcf_pci_init() 232 pci_add_resource(&bridge->windows, &ioport_resource); in mcf_pci_init() 233 pci_add_resource(&bridge->windows, &iomem_resource); in mcf_pci_init() 234 pci_add_resource(&bridge->windows, &busn_resource); in mcf_pci_init() 235 bridge->dev.parent = NULL; in mcf_pci_init() 236 bridge->sysdata = NULL; in mcf_pci_init() 237 bridge->busnr = 0; in mcf_pci_init() [all …]
|
/arch/ia64/pci/ |
D | fixup.c | 32 struct pci_dev *bridge; in pci_fixup_video() local 44 bridge = bus->self; in pci_fixup_video() 53 if (bridge && (pci_is_bridge(bridge))) { in pci_fixup_video() 54 pci_read_config_word(bridge, PCI_BRIDGE_CONTROL, in pci_fixup_video()
|
D | pci.c | 236 struct device *dev = &ci->bridge->dev; in pci_acpi_root_prepare_resources() 311 int pcibios_root_bridge_prepare(struct pci_host_bridge *bridge) in pcibios_root_bridge_prepare() argument 319 if (!bridge->dev.parent) { in pcibios_root_bridge_prepare() 320 struct pci_controller *controller = bridge->bus->sysdata; in pcibios_root_bridge_prepare() 321 ACPI_COMPANION_SET(&bridge->dev, controller->companion); in pcibios_root_bridge_prepare()
|
/arch/sh/drivers/pci/ |
D | pci.c | 39 struct pci_host_bridge *bridge; in pcibios_scanbus() local 41 bridge = pci_alloc_host_bridge(0); in pcibios_scanbus() 42 if (!bridge) in pcibios_scanbus() 57 list_splice_init(&resources, &bridge->windows); in pcibios_scanbus() 58 bridge->dev.parent = NULL; in pcibios_scanbus() 59 bridge->sysdata = hose; in pcibios_scanbus() 60 bridge->busnr = next_busno; in pcibios_scanbus() 61 bridge->ops = hose->pci_ops; in pcibios_scanbus() 62 bridge->swizzle_irq = pci_common_swizzle; in pcibios_scanbus() 63 bridge->map_irq = pcibios_map_platform_irq; in pcibios_scanbus() [all …]
|
/arch/mips/pci/ |
D | pci-legacy.c | 78 struct pci_host_bridge *bridge; in pcibios_scanbus() local 81 bridge = pci_alloc_host_bridge(0); in pcibios_scanbus() 82 if (!bridge) in pcibios_scanbus() 93 list_splice_init(&resources, &bridge->windows); in pcibios_scanbus() 94 bridge->dev.parent = NULL; in pcibios_scanbus() 95 bridge->sysdata = hose; in pcibios_scanbus() 96 bridge->busnr = next_busno; in pcibios_scanbus() 97 bridge->ops = hose->pci_ops; in pcibios_scanbus() 98 bridge->swizzle_irq = pci_common_swizzle; in pcibios_scanbus() 99 bridge->map_irq = pcibios_map_irq; in pcibios_scanbus() [all …]
|
D | pci-xtalk-bridge.c | 122 struct bridge_regs *bridge = bc->base; in pci_conf0_read_config() local 129 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_read_config() 138 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; in pci_conf0_read_config() 143 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; in pci_conf0_read_config() 159 struct bridge_regs *bridge = bc->base; in pci_conf1_read_config() local 168 addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID]; in pci_conf1_read_config() 177 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where & ~3)]; in pci_conf1_read_config() 182 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; in pci_conf1_read_config() 207 struct bridge_regs *bridge = bc->base; in pci_conf0_write_config() local 214 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_write_config() [all …]
|
/arch/arm/kernel/ |
D | bios32.c | 436 struct pci_host_bridge *bridge; in pcibios_init_hw() local 438 bridge = pci_alloc_host_bridge(sizeof(struct pci_sys_data)); in pcibios_init_hw() 439 if (WARN(!bridge, "PCI: unable to allocate bridge!")) in pcibios_init_hw() 442 sys = pci_host_bridge_priv(bridge); in pcibios_init_hw() 458 pci_free_host_bridge(bridge); in pcibios_init_hw() 462 bridge->map_irq = pcibios_map_irq; in pcibios_init_hw() 463 bridge->swizzle_irq = pcibios_swizzle; in pcibios_init_hw() 466 ret = hw->scan(nr, bridge); in pcibios_init_hw() 469 &bridge->windows); in pcibios_init_hw() 470 bridge->dev.parent = parent; in pcibios_init_hw() [all …]
|
/arch/arm/mach-dove/ |
D | pcie.c | 156 dove_pcie_scan_bus(int nr, struct pci_host_bridge *bridge) in dove_pcie_scan_bus() argument 158 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); in dove_pcie_scan_bus() 165 list_splice_init(&sys->resources, &bridge->windows); in dove_pcie_scan_bus() 166 bridge->dev.parent = NULL; in dove_pcie_scan_bus() 167 bridge->sysdata = sys; in dove_pcie_scan_bus() 168 bridge->busnr = sys->busnr; in dove_pcie_scan_bus() 169 bridge->ops = &pcie_ops; in dove_pcie_scan_bus() 171 return pci_scan_root_bus_bridge(bridge); in dove_pcie_scan_bus()
|
/arch/arm/mach-mv78xx0/ |
D | pcie.c | 197 static int __init mv78xx0_pcie_scan_bus(int nr, struct pci_host_bridge *bridge) in mv78xx0_pcie_scan_bus() argument 199 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); in mv78xx0_pcie_scan_bus() 206 list_splice_init(&sys->resources, &bridge->windows); in mv78xx0_pcie_scan_bus() 207 bridge->dev.parent = NULL; in mv78xx0_pcie_scan_bus() 208 bridge->sysdata = sys; in mv78xx0_pcie_scan_bus() 209 bridge->busnr = sys->busnr; in mv78xx0_pcie_scan_bus() 210 bridge->ops = &pcie_ops; in mv78xx0_pcie_scan_bus() 212 return pci_scan_root_bus_bridge(bridge); in mv78xx0_pcie_scan_bus()
|
/arch/powerpc/platforms/embedded6xx/ |
D | holly.c | 198 struct device_node *bridge = NULL; in holly_restart() local 205 bridge = of_find_node_by_type(NULL, "tsi-bridge"); in holly_restart() 206 if (bridge) { in holly_restart() 207 prop = of_get_property(bridge, "reg", &size); in holly_restart() 208 addr = of_translate_address(bridge, prop); in holly_restart()
|
/arch/arm/mach-orion5x/ |
D | pci.c | 558 int __init orion5x_pci_sys_scan_bus(int nr, struct pci_host_bridge *bridge) in orion5x_pci_sys_scan_bus() argument 560 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); in orion5x_pci_sys_scan_bus() 562 list_splice_init(&sys->resources, &bridge->windows); in orion5x_pci_sys_scan_bus() 563 bridge->dev.parent = NULL; in orion5x_pci_sys_scan_bus() 564 bridge->sysdata = sys; in orion5x_pci_sys_scan_bus() 565 bridge->busnr = sys->busnr; in orion5x_pci_sys_scan_bus() 568 bridge->ops = &pcie_ops; in orion5x_pci_sys_scan_bus() 569 return pci_scan_root_bus_bridge(bridge); in orion5x_pci_sys_scan_bus() 573 bridge->ops = &pci_ops; in orion5x_pci_sys_scan_bus() 574 return pci_scan_root_bus_bridge(bridge); in orion5x_pci_sys_scan_bus()
|
/arch/x86/pci/ |
D | acpi.c | 194 struct device *dev = &ci->bridge->dev; in setup_mcfg_map() 296 struct acpi_device *device = ci->bridge; in pci_acpi_root_prepare_resources() 385 int pcibios_root_bridge_prepare(struct pci_host_bridge *bridge) in pcibios_root_bridge_prepare() argument 393 if (!bridge->dev.parent) { in pcibios_root_bridge_prepare() 394 struct pci_sysdata *sd = bridge->bus->sysdata; in pcibios_root_bridge_prepare() 395 ACPI_COMPANION_SET(&bridge->dev, sd->companion); in pcibios_root_bridge_prepare()
|
/arch/arm64/kernel/ |
D | pci.c | 83 int pcibios_root_bridge_prepare(struct pci_host_bridge *bridge) in pcibios_root_bridge_prepare() argument 86 struct pci_config_window *cfg = bridge->bus->sysdata; in pcibios_root_bridge_prepare() 88 struct device *bus_dev = &bridge->bus->dev; in pcibios_root_bridge_prepare() 90 ACPI_COMPANION_SET(&bridge->dev, adev); in pcibios_root_bridge_prepare()
|
/arch/arm/boot/dts/ |
D | bcm4709-netgear-r8000.dts | 135 bridge@0,0,0 { 152 bridge@1,0,0 { 158 bridge@1,1,0 { 164 bridge@1,2,2 {
|
D | pxa300-raumfeld-speaker-one.dts | 117 /* 2 (half-bridge) and 1 (full-bridge) on-board power */
|
/arch/powerpc/include/asm/ |
D | pmac_feature.h | 311 extern void pmac_register_agp_pm(struct pci_dev *bridge, 312 int (*suspend)(struct pci_dev *bridge), 313 int (*resume)(struct pci_dev *bridge));
|
/arch/powerpc/platforms/maple/ |
D | pci.c | 63 static void __init fixup_bus_range(struct device_node *bridge) in fixup_bus_range() argument 70 prop = of_find_property(bridge, "bus-range", &len); in fixup_bus_range() 73 bridge); in fixup_bus_range() 77 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); in fixup_bus_range() 568 static int maple_pci_root_bridge_prepare(struct pci_host_bridge *bridge) in maple_pci_root_bridge_prepare() argument 570 struct pci_controller *hose = pci_bus_to_host(bridge->bus); in maple_pci_root_bridge_prepare()
|
/arch/powerpc/boot/dts/ |
D | currituck.dts | 147 /* Legacy interrupts (note the weird polarity, the bridge seems 150 * port of the root complex virtual P2P bridge. But I want 184 /* Legacy interrupts (note the weird polarity, the bridge seems 187 * port of the root complex virtual P2P bridge. But I want 221 /* Legacy interrupts (note the weird polarity, the bridge seems 224 * port of the root complex virtual P2P bridge. But I want
|
D | akebono.dts | 275 /* Legacy interrupts (note the weird polarity, the bridge seems 278 * port of the root complex virtual P2P bridge. But I want 315 /* Legacy interrupts (note the weird polarity, the bridge seems 318 * port of the root complex virtual P2P bridge. But I want 355 /* Legacy interrupts (note the weird polarity, the bridge seems 358 * port of the root complex virtual P2P bridge. But I want 395 /* Legacy interrupts (note the weird polarity, the bridge seems 398 * port of the root complex virtual P2P bridge. But I want
|
D | holly.dts | 45 device_type = "tsi-bridge"; 46 compatible = "tsi109-bridge", "tsi108-bridge";
|
/arch/mips/loongson2ef/ |
D | Kconfig | 34 Lemote Fuloong(2e) mini PC have a VIA686B south bridge. 62 Loongson processor and the AMD CS5536 south bridge.
|
/arch/powerpc/platforms/pseries/ |
D | pci.c | 293 int pseries_root_bridge_prepare(struct pci_host_bridge *bridge) in pseries_root_bridge_prepare() argument 300 bus = bridge->bus; in pseries_root_bridge_prepare() 303 pci_set_host_bridge_release(bridge, pcibios_free_controller_deferred, in pseries_root_bridge_prepare()
|