/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/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/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/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() 92 list_splice_init(&resources, &bridge->windows); in pcibios_scanbus() 93 bridge->dev.parent = NULL; in pcibios_scanbus() 94 bridge->sysdata = hose; in pcibios_scanbus() 95 bridge->busnr = next_busno; in pcibios_scanbus() 96 bridge->ops = hose->pci_ops; in pcibios_scanbus() 97 bridge->swizzle_irq = pci_common_swizzle; in pcibios_scanbus() 98 bridge->map_irq = pcibios_map_irq; in pcibios_scanbus() [all …]
|
D | pci-xtalk-bridge.c | 123 struct bridge_regs *bridge = bc->base; in pci_conf0_read_config() local 130 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_read_config() 139 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; in pci_conf0_read_config() 144 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; in pci_conf0_read_config() 160 struct bridge_regs *bridge = bc->base; in pci_conf1_read_config() local 169 addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID]; in pci_conf1_read_config() 178 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where & ~3)]; in pci_conf1_read_config() 183 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; in pci_conf1_read_config() 208 struct bridge_regs *bridge = bc->base; in pci_conf0_write_config() local 215 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_write_config() [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/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 | 153 dove_pcie_scan_bus(int nr, struct pci_host_bridge *bridge) in dove_pcie_scan_bus() argument 155 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); in dove_pcie_scan_bus() 162 list_splice_init(&sys->resources, &bridge->windows); in dove_pcie_scan_bus() 163 bridge->dev.parent = NULL; in dove_pcie_scan_bus() 164 bridge->sysdata = sys; in dove_pcie_scan_bus() 165 bridge->busnr = sys->busnr; in dove_pcie_scan_bus() 166 bridge->ops = &pcie_ops; in dove_pcie_scan_bus() 168 return pci_scan_root_bus_bridge(bridge); in dove_pcie_scan_bus()
|
/arch/arm/mach-mv78xx0/ |
D | pcie.c | 194 static int __init mv78xx0_pcie_scan_bus(int nr, struct pci_host_bridge *bridge) in mv78xx0_pcie_scan_bus() argument 196 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); in mv78xx0_pcie_scan_bus() 203 list_splice_init(&sys->resources, &bridge->windows); in mv78xx0_pcie_scan_bus() 204 bridge->dev.parent = NULL; in mv78xx0_pcie_scan_bus() 205 bridge->sysdata = sys; in mv78xx0_pcie_scan_bus() 206 bridge->busnr = sys->busnr; in mv78xx0_pcie_scan_bus() 207 bridge->ops = &pcie_ops; in mv78xx0_pcie_scan_bus() 209 return pci_scan_root_bus_bridge(bridge); in mv78xx0_pcie_scan_bus()
|
/arch/powerpc/platforms/embedded6xx/ |
D | holly.c | 201 struct device_node *bridge = NULL; in holly_restart() local 208 bridge = of_find_node_by_type(NULL, "tsi-bridge"); in holly_restart() 209 if (bridge) { in holly_restart() 210 prop = of_get_property(bridge, "reg", &size); in holly_restart() 211 addr = of_translate_address(bridge, prop); in holly_restart()
|
/arch/um/drivers/ |
D | virt-pci.c | 49 static struct pci_host_bridge *bridge; variable 462 pci_rescan_bus(bridge->bus); in um_pci_rescan() 638 pci_dev = pci_get_slot(bridge->bus, i); in um_pci_virtio_remove() 760 pci_walk_bus(bridge->bus, um_pci_map_iomem_walk, &data); in um_pci_map_iomem() 886 bridge = pci_alloc_host_bridge(0); in um_pci_init() 887 if (!bridge) { in um_pci_init() 914 pci_add_resource(&bridge->windows, &virt_iomem_resource); in um_pci_init() 915 pci_add_resource(&bridge->windows, &busn_resource); in um_pci_init() 916 bridge->ops = &um_pci_ops; in um_pci_init() 917 bridge->map_irq = um_pci_map_irq; in um_pci_init() [all …]
|
/arch/arm/mach-orion5x/ |
D | pci.c | 555 int __init orion5x_pci_sys_scan_bus(int nr, struct pci_host_bridge *bridge) in orion5x_pci_sys_scan_bus() argument 557 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); in orion5x_pci_sys_scan_bus() 559 list_splice_init(&sys->resources, &bridge->windows); in orion5x_pci_sys_scan_bus() 560 bridge->dev.parent = NULL; in orion5x_pci_sys_scan_bus() 561 bridge->sysdata = sys; in orion5x_pci_sys_scan_bus() 562 bridge->busnr = sys->busnr; in orion5x_pci_sys_scan_bus() 565 bridge->ops = &pcie_ops; in orion5x_pci_sys_scan_bus() 566 return pci_scan_root_bus_bridge(bridge); in orion5x_pci_sys_scan_bus() 570 bridge->ops = &pci_ops; in orion5x_pci_sys_scan_bus() 571 return pci_scan_root_bus_bridge(bridge); in orion5x_pci_sys_scan_bus()
|
/arch/x86/hyperv/ |
D | irqdomain.c | 96 struct pci_dev *bridge; member 106 rd->bridge = pdev; in get_rid_cb() 117 .bridge = NULL, in hv_build_pci_dev_id() 132 if (data.bridge) { in hv_build_pci_dev_id() 148 pos = pci_find_capability(data.bridge, PCI_CAP_ID_PCIX); in hv_build_pci_dev_id() 152 pci_read_config_word(data.bridge, pos + in hv_build_pci_dev_id() 161 pci_read_config_byte(data.bridge, PCI_SECONDARY_BUS, &sec_bus); in hv_build_pci_dev_id() 163 pci_read_config_byte(data.bridge, PCI_SUBORDINATE_BUS, &sub_bus); in hv_build_pci_dev_id()
|
/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 92 cfg = bridge->bus->sysdata; in pcibios_root_bridge_prepare() 104 bus_dev = &bridge->bus->dev; in pcibios_root_bridge_prepare() 106 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 {
|
/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/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
|
/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() 571 static int maple_pci_root_bridge_prepare(struct pci_host_bridge *bridge) in maple_pci_root_bridge_prepare() argument 573 struct pci_controller *hose = pci_bus_to_host(bridge->bus); in maple_pci_root_bridge_prepare()
|
/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 | 288 int pseries_root_bridge_prepare(struct pci_host_bridge *bridge) in pseries_root_bridge_prepare() argument 295 bus = bridge->bus; in pseries_root_bridge_prepare() 298 pci_set_host_bridge_release(bridge, pcibios_free_controller_deferred, in pseries_root_bridge_prepare()
|