Home
last modified time | relevance | path

Searched refs:bridge (Results 1 – 25 of 43) sorted by relevance

12

/arch/mips/pci/
Dpci-ip27.c48 bridge_t *bridge; in bridge_probe() local
88 bridge = (bridge_t *) RAW_NODE_SWIN_BASE(nasid, widget_id); in bridge_probe()
93 bridge->b_int_rst_stat = BRIDGE_IRR_ALL_CLR; in bridge_probe()
98 bridge->b_int_device = 0x0; in bridge_probe()
103 bridge->b_wid_control |= BRIDGE_CTRL_IO_SWAP | in bridge_probe()
106 bridge->b_wid_control &= ~BRIDGE_CTRL_PAGE_SIZE; in bridge_probe()
108 bridge->b_wid_control |= BRIDGE_CTRL_PAGE_SIZE; in bridge_probe()
115 bridge->b_wid_int_upper = 0x8000 | (masterwid << 16); in bridge_probe()
116 bridge->b_wid_int_lower = 0x01800090; /* PI_INT_PEND_MOD off*/ in bridge_probe()
117 bridge->b_dir_map = (masterwid << 20); /* DMA */ in bridge_probe()
[all …]
Dops-bridge.c47 bridge_t *bridge = bc->base; in pci_conf0_read_config() local
54 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_read_config()
65 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; in pci_conf0_read_config()
91 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; in pci_conf0_read_config()
107 bridge_t *bridge = bc->base; in pci_conf1_read_config() local
115 bridge->b_pci_cfg = (busno << 16) | (slot << 11); in pci_conf1_read_config()
116 addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID]; in pci_conf1_read_config()
127 bridge->b_pci_cfg = (busno << 16) | (slot << 11); in pci_conf1_read_config()
128 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; in pci_conf1_read_config()
154 bridge->b_pci_cfg = (busno << 16) | (slot << 11); in pci_conf1_read_config()
[all …]
DMakefile36 obj-$(CONFIG_SGI_IP27) += ops-bridge.o pci-ip27.o
/arch/ia64/pci/
Dfixup.c29 struct pci_dev *bridge; in pci_fixup_video() local
44 bridge = bus->self; in pci_fixup_video()
53 if (bridge in pci_fixup_video()
54 &&((bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE) in pci_fixup_video()
55 ||(bridge->hdr_type == PCI_HEADER_TYPE_CARDBUS))) { in pci_fixup_video()
56 pci_read_config_word(bridge, PCI_BRIDGE_CONTROL, in pci_fixup_video()
/arch/mips/sgi-ip27/
Dip27-irq.c247 bridge_t *bridge; in startup_bridge_irq() local
253 bridge = bc->base; in startup_bridge_irq()
261 bridge->b_int_addr[pin].addr = (0x20000 | swlevel | (bc->nasid << 8)); in startup_bridge_irq()
262 bridge->b_int_enable |= (1 << pin); in startup_bridge_irq()
263 bridge->b_int_enable |= 0x7ffffe00; /* more stuff in int_enable */ in startup_bridge_irq()
272 bridge->b_int_mode |= (1UL << pin); in startup_bridge_irq()
278 device = bridge->b_int_device; in startup_bridge_irq()
281 bridge->b_int_device = device; in startup_bridge_irq()
283 bridge->b_wid_tflush; in startup_bridge_irq()
294 bridge_t *bridge = bc->base; in shutdown_bridge_irq() local
[all …]
/arch/powerpc/platforms/embedded6xx/
Dholly.c219 struct device_node *bridge = NULL; in holly_restart() local
226 bridge = of_find_node_by_type(NULL, "tsi-bridge"); in holly_restart()
227 if (bridge) { in holly_restart()
228 prop = of_get_property(bridge, "reg", &size); in holly_restart()
229 addr = of_translate_address(bridge, prop); in holly_restart()
DKconfig45 bool "PPC750GX/CL with TSI10x bridge (Hickory/Holly)"
52 Board with TSI108/9 bridge (Hickory/Holly)
/arch/x86/pci/
Dfixup.c321 struct pci_dev *bridge; in pci_fixup_video() local
331 bridge = bus->self; in pci_fixup_video()
340 if (bridge in pci_fixup_video()
341 && ((bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE) in pci_fixup_video()
342 || (bridge->hdr_type == PCI_HEADER_TYPE_CARDBUS))) { in pci_fixup_video()
343 pci_read_config_word(bridge, PCI_BRIDGE_CONTROL, in pci_fixup_video()
Dirq.c534 struct pci_dev *bridge; in pirq_bios_set() local
535 int pin = pci_get_interrupt_pin(dev, &bridge); in pirq_bios_set()
536 return pcibios_set_irq_routing(bridge, pin - 1, irq); in pirq_bios_set()
1069 struct pci_dev *bridge = dev->bus->self; in pcibios_fixup_irqs() local
1073 bus = bridge->bus->number; in pcibios_fixup_irqs()
1075 PCI_SLOT(bridge->devfn), pin - 1); in pcibios_fixup_irqs()
1080 pci_name(bridge), in pcibios_fixup_irqs()
1234 struct pci_dev *bridge = dev->bus->self; in pirq_enable_irq() local
1237 irq = IO_APIC_get_PCI_irq_vector(bridge->bus->number, in pirq_enable_irq()
1238 PCI_SLOT(bridge->devfn), pin - 1); in pirq_enable_irq()
[all …]
/arch/powerpc/include/asm/
Dpmac_feature.h311 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/ia64/sn/kernel/
Dirq.c148 int64_t bridge; in sn_retarget_vector() local
154 bridge = (u64) sn_irq_info->irq_bridge; in sn_retarget_vector()
155 if (!bridge) { in sn_retarget_vector()
159 local_nasid = NASID_GET(bridge); in sn_retarget_vector()
162 local_widget = TIO_SWIN_WIDGETNUM(bridge); in sn_retarget_vector()
164 local_widget = SWIN_WIDGETNUM(bridge); in sn_retarget_vector()
Dtiocx.c301 u64 bridge = (u64) sn_irq_info->irq_bridge; in tiocx_irq_free() local
302 nasid_t nasid = NASID_GET(bridge); in tiocx_irq_free()
306 widget = TIO_SWIN_WIDGETNUM(bridge); in tiocx_irq_free()
/arch/powerpc/boot/dts/
Dholly.dts45 device_type = "tsi-bridge";
46 compatible = "tsi109-bridge", "tsi108-bridge";
Dkatmai.dts298 /* Legacy interrupts (note the weird polarity, the bridge seems
301 * port of the root complex virtual P2P bridge. But I want
339 /* Legacy interrupts (note the weird polarity, the bridge seems
342 * port of the root complex virtual P2P bridge. But I want
380 /* Legacy interrupts (note the weird polarity, the bridge seems
383 * port of the root complex virtual P2P bridge. But I want
Dkilauea.dts292 /* Legacy interrupts (note the weird polarity, the bridge seems
295 * port of the root complex virtual P2P bridge. But I want
333 /* Legacy interrupts (note the weird polarity, the bridge seems
336 * port of the root complex virtual P2P bridge. But I want
Dmakalu.dts292 /* Legacy interrupts (note the weird polarity, the bridge seems
295 * port of the root complex virtual P2P bridge. But I want
333 /* Legacy interrupts (note the weird polarity, the bridge seems
336 * port of the root complex virtual P2P bridge. But I want
Dcanyonlands.dts397 /* Legacy interrupts (note the weird polarity, the bridge seems
400 * port of the root complex virtual P2P bridge. But I want
439 /* Legacy interrupts (note the weird polarity, the bridge seems
442 * port of the root complex virtual P2P bridge. But I want
Dglacier.dts449 /* Legacy interrupts (note the weird polarity, the bridge seems
452 * port of the root complex virtual P2P bridge. But I want
490 /* Legacy interrupts (note the weird polarity, the bridge seems
493 * port of the root complex virtual P2P bridge. But I want
Dhaleakala.dts263 /* Legacy interrupts (note the weird polarity, the bridge seems
266 * port of the root complex virtual P2P bridge. But I want
/arch/powerpc/platforms/maple/
Dpci.c67 static void __init fixup_bus_range(struct device_node *bridge) in fixup_bus_range() argument
74 prop = of_find_property(bridge, "bus-range", &len); in fixup_bus_range()
77 bridge->full_name); in fixup_bus_range()
81 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); in fixup_bus_range()
/arch/parisc/kernel/
Dpci.c202 struct pci_hba_data *hba = HBA_DATA(dev->bus->bridge->platform_data); in pcibios_resource_to_bus()
230 struct pci_hba_data *hba = HBA_DATA(dev->bus->bridge->platform_data); in pcibios_bus_to_resource()
/arch/sh/drivers/pci/
DKconfig18 bridge integrated with your SH CPU, refer carefully to the chip specs
/arch/powerpc/platforms/pseries/
Dpci_dlpar.c191 device_unregister(b->bridge); in remove_phb_dynamic()
/arch/x86/kernel/
Dpci-calgary_64.c1537 unsigned int bridge; in calgary_parse_options() local
1570 bridge = simple_strtoul(p, &endp, 0); in calgary_parse_options()
1574 if (bridge < MAX_PHB_BUS_NUM) { in calgary_parse_options()
1576 "translation for PHB %#x\n", bridge); in calgary_parse_options()
1577 bus_info[bridge].translation_disabled = 1; in calgary_parse_options()
/arch/powerpc/platforms/powermac/
Dpci.c89 static void __init fixup_bus_range(struct device_node *bridge) in fixup_bus_range() argument
95 prop = of_find_property(bridge, "bus-range", &len); in fixup_bus_range()
100 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); in fixup_bus_range()

12