Searched refs:bridge (Results 26 - 50 of 136) sorted by relevance

123456

/drivers/gpu/drm/ttm/
H A Dttm_agp_backend.c48 struct agp_bridge_data *bridge; member in struct:ttm_agp_backend
59 mem = agp_allocate_memory(agp_be->bridge, ttm->num_pages, AGP_USER_MEMORY);
114 struct agp_bridge_data *bridge,
125 agp_be->bridge = bridge;
113 ttm_agp_tt_create(struct ttm_bo_device *bdev, struct agp_bridge_data *bridge, unsigned long size, uint32_t page_flags, struct page *dummy_read_page) argument
/drivers/char/agp/
H A Damd64-agp.c6 * It also includes support for the AMD 8151 AGP bridge,
49 struct agp_bridge_data *bridge = mem->bridge; local
56 mask_type = bridge->driver->agp_type_to_mask_type(bridge, type);
187 /* Configure AGP regs in each x86-64 host bridge. */
263 * bridge, not the northbridge. On AMD64 this is handled early
282 /* Northbridge seems to contain crap. Try the AGP bridge. */
351 static void amd8151_init(struct pci_dev *pdev, struct agp_bridge_data *bridge) argument
373 bridge
515 struct agp_bridge_data *bridge; local
580 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); local
[all...]
H A Dparisc-agp.c36 parisc_agp_mask_memory(struct agp_bridge_data *bridge, dma_addr_t addr,
102 parisc_agp_create_gatt_table(struct agp_bridge_data *bridge) argument
115 parisc_agp_free_gatt_table(struct agp_bridge_data *bridge) argument
195 parisc_agp_mask_memory(struct agp_bridge_data *bridge, dma_addr_t addr, argument
202 parisc_agp_enable(struct agp_bridge_data *bridge, u32 mode) argument
209 command = agp_collect_device_status(bridge, mode, command);
335 struct agp_bridge_data *bridge; local
352 bridge = agp_alloc_bridge();
353 if (!bridge) {
357 bridge
[all...]
H A Dnvidia-agp.c206 mask_type = agp_generic_type_to_mask_type(mem->bridge, type);
246 mask_type = agp_generic_type_to_mask_type(mem->bridge, type);
339 struct agp_bridge_data *bridge; local
374 bridge = agp_alloc_bridge();
375 if (!bridge)
378 bridge->driver = &nvidia_driver;
379 bridge->dev_private_data = &nvidia_private,
380 bridge->dev = pdev;
381 bridge->capndx = cap_ptr;
385 bridge
394 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); local
[all...]
H A Disoch.c59 * node (i.e. a host bridge in combination with the adapters
63 static int agp_3_5_isochronous_node_enable(struct agp_bridge_data *bridge, argument
79 struct pci_dev *td = bridge->dev, *dev;
118 pci_read_config_dword(td, bridge->capndx+AGPNISTAT, &tnistat);
119 pci_read_config_dword(td, bridge->capndx+AGPSTAT, &tstatus);
158 "the AGP 3.0 bridge!\n");
171 pci_read_config_word(td, bridge->capndx+AGPNICMD, &tnicmd);
174 pci_write_config_word(td, bridge->capndx+AGPNICMD, tnicmd);
177 pci_read_config_dword(td, bridge->capndx+AGPNISTAT, &tnistat);
194 "bridge!\
286 agp_3_5_nonisochronous_node_enable(struct agp_bridge_data *bridge, struct agp_3_5_dev *dev_list, unsigned int ndevs) argument
316 agp_3_5_enable(struct agp_bridge_data *bridge) argument
[all...]
H A Dsworks-agp.c137 static int serverworks_create_gatt_table(struct agp_bridge_data *bridge) argument
187 static int serverworks_free_gatt_table(struct agp_bridge_data *bridge) argument
400 static void serverworks_agp_enable(struct agp_bridge_data *bridge, u32 mode) argument
405 bridge->capndx + PCI_AGP_STATUS,
408 command = agp_collect_device_status(bridge, mode, command);
416 bridge->capndx + PCI_AGP_COMMAND,
451 struct agp_bridge_data *bridge; local
509 bridge = agp_alloc_bridge();
510 if (!bridge)
513 bridge
523 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); local
[all...]
H A Dati-agp.c276 mask_type = agp_generic_type_to_mask_type(mem->bridge, type);
322 mask_type = agp_generic_type_to_mask_type(mem->bridge, type);
340 static int ati_create_gatt_table(struct agp_bridge_data *bridge) argument
407 static int ati_free_gatt_table(struct agp_bridge_data *bridge) argument
495 struct agp_bridge_data *bridge; local
514 bridge = agp_alloc_bridge();
515 if (!bridge)
518 bridge->dev = pdev;
519 bridge->capndx = cap_ptr;
521 bridge
536 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); local
[all...]
H A Di460-agp.c63 static unsigned long i460_mask_memory (struct agp_bridge_data *bridge,
242 static int i460_create_gatt_table (struct agp_bridge_data *bridge) argument
271 static int i460_free_gatt_table (struct agp_bridge_data *bridge) argument
526 static struct page *i460_alloc_page (struct agp_bridge_data *bridge) argument
548 static unsigned long i460_mask_memory (struct agp_bridge_data *bridge, argument
552 return bridge->driver->masks[0].mask
593 struct agp_bridge_data *bridge; local
600 bridge = agp_alloc_bridge();
601 if (!bridge)
604 bridge
616 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); local
[all...]
H A Damd-k7-agp.c122 static int amd_create_gatt_table(struct agp_bridge_data *bridge) argument
171 static int amd_free_gatt_table(struct agp_bridge_data *bridge) argument
409 struct agp_bridge_data *bridge; local
421 bridge = agp_alloc_bridge();
422 if (!bridge)
425 bridge->driver = &amd_irongate_driver;
426 bridge->dev_private_data = &amd_irongate_private,
427 bridge->dev = pdev;
428 bridge->capndx = cap_ptr;
474 bridge
483 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); local
[all...]
H A Dintel-agp.c727 struct agp_bridge_data *bridge; local
734 bridge = agp_alloc_bridge();
735 if (!bridge)
738 bridge->capndx = cap_ptr;
740 if (intel_gmch_probe(pdev, NULL, bridge))
745 stand on same host bridge type, this can be
748 bridge->driver = intel_agp_chipsets[i].driver;
753 if (!bridge->driver) {
757 agp_put_bridge(bridge);
761 bridge
811 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); local
823 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); local
[all...]
H A Dhp-agp.c44 /* AGP bridge need not be PCI device, but DRM thinks it is. */
291 hp_zx1_create_gatt_table (struct agp_bridge_data *bridge) argument
319 hp_zx1_free_gatt_table (struct agp_bridge_data *bridge) argument
400 hp_zx1_mask_memory (struct agp_bridge_data *bridge, dma_addr_t addr, int type) argument
406 hp_zx1_enable (struct agp_bridge_data *bridge, u32 mode) argument
412 command = agp_collect_device_status(bridge, mode, command);
448 struct agp_bridge_data *bridge; local
459 bridge = agp_alloc_bridge();
460 if (!bridge) {
464 bridge
[all...]
/drivers/gpu/drm/
H A Ddrm_crtc_helper.c143 if (encoder->bridge)
144 encoder->bridge->funcs->disable(encoder->bridge);
151 if (encoder->bridge)
152 encoder->bridge->funcs->post_disable(encoder->bridge);
291 if (encoder->bridge && encoder->bridge->funcs->mode_fixup) {
292 ret = encoder->bridge->funcs->mode_fixup(
293 encoder->bridge, mod
711 struct drm_bridge *bridge = encoder->bridge; local
[all...]
H A Ddrm_agpsupport.c106 if (!(dev->agp->bridge = agp_backend_acquire(dev->pdev)))
144 agp_backend_release(dev->agp->bridge);
172 agp_enable(dev->agp->bridge, mode.mode);
213 if (!(memory = agp_allocate_memory(dev->agp->bridge, pages, type))) {
405 head->bridge = agp_find_bridge(dev->pdev);
406 if (!head->bridge) {
407 if (!(head->bridge = agp_backend_acquire(dev->pdev))) {
411 agp_copy_info(head->bridge, &head->agp_info);
412 agp_backend_release(head->bridge);
414 agp_copy_info(head->bridge,
[all...]
/drivers/pci/hotplug/
H A Dcpcihp_generic.c66 static char *bridge; variable
85 if (!bridge) {
89 str = bridge;
95 err("Invalid hotplug bus bridge device bus number");
101 err("Invalid hotplug bus bridge device");
107 err("Invalid hotplug bus bridge device slot number");
160 err("Invalid bridge device %s", bridge);
217 module_param(bridge, charp, 0);
218 MODULE_PARM_DESC(bridge, "Hotswa
[all...]
H A Dpciehp_pci.c40 struct pci_dev *bridge = p_slot->ctrl->pcie->port; local
41 struct pci_bus *parent = bridge->subordinate;
67 pci_assign_unassigned_bridge_resources(bridge);
H A Dshpchp_pci.c41 struct pci_dev *bridge = ctrl->pci_dev; local
42 struct pci_bus *parent = bridge->subordinate;
71 pci_assign_unassigned_bridge_resources(bridge);
/drivers/acpi/
H A Dpci_irq.c234 if (dev->bus->bridge)
235 handle = ACPI_HANDLE(dev->bus->bridge);
240 /* 'handle' is the _PRT's parent (root bridge or PCI-PCI bridge) */
321 struct pci_dev *bridge; local
336 * Attempt to derive an IRQ for this device from a parent bridge's
337 * PCI interrupt routing entry (eg. yenta bridge and add-in card bridge).
339 bridge = dev->bus->self;
340 while (bridge) {
[all...]
/drivers/ata/
H A Dpata_sl82c105.c256 * sl82c105_bridge_revision - find bridge version
259 * Locates the PCI bridge associated with the ATA function and
266 struct pci_dev *bridge; local
269 * The bridge should be part of the same device, but function 0.
271 bridge = pci_get_slot(pdev->bus,
273 if (!bridge)
277 * Make sure it is a Winbond 553 and is an ISA bridge.
279 if (bridge->vendor != PCI_VENDOR_ID_WINBOND ||
280 bridge->device != PCI_DEVICE_ID_WINBOND_83C553 ||
281 bridge
[all...]
/drivers/ide/
H A Dsl82c105.c232 * Return the revision of the Winbond bridge
237 struct pci_dev *bridge; local
240 * The bridge should be part of the same device, but function 0.
242 bridge = pci_get_bus_and_slot(dev->bus->number,
244 if (!bridge)
248 * Make sure it is a Winbond 553 and is an ISA bridge.
250 if (bridge->vendor != PCI_VENDOR_ID_WINBOND ||
251 bridge->device != PCI_DEVICE_ID_WINBOND_83C553 ||
252 bridge->class >> 8 != PCI_CLASS_BRIDGE_ISA) {
253 pci_dev_put(bridge);
[all...]
H A Dpdc202xx_new.c30 #include <asm/pci-bridge.h>
485 struct pci_dev *bridge = dev->bus->self; local
487 if (dev->device == PCI_DEVICE_ID_PROMISE_20270 && bridge &&
488 bridge->vendor == PCI_VENDOR_ID_DEC &&
489 bridge->device == PCI_DEVICE_ID_DEC_21150) {
505 if (dev->device == PCI_DEVICE_ID_PROMISE_20276 && bridge &&
506 bridge->vendor == PCI_VENDOR_ID_INTEL &&
507 (bridge->device == PCI_DEVICE_ID_INTEL_I960 ||
508 bridge->device == PCI_DEVICE_ID_INTEL_I960RM)) {
/drivers/pci/
H A Dprobe.c14 #include <asm-generic/pci-bridge.h>
90 if (pci_bus->bridge)
91 put_device(pci_bus->bridge);
380 dev_printk(KERN_DEBUG, &dev->dev, " bridge window %pR\n", res);
402 dev_printk(KERN_DEBUG, &dev->dev, " bridge window %pR\n", res);
442 dev_err(&dev->dev, "can't handle bridge window above 4GB (bus address %#010llx)\n",
455 dev_printk(KERN_DEBUG, &dev->dev, " bridge window %pR\n", res);
468 dev_info(&dev->dev, "PCI bridge to %pR%s\n",
486 " bridge window %pR (subtractive decode)\n",
517 struct pci_host_bridge *bridge local
529 struct pci_host_bridge *bridge; local
617 struct pci_dev *bridge = bus->self; local
673 pci_alloc_child_bus(struct pci_bus *parent, struct pci_dev *bridge, int busnr) argument
1768 struct pci_dev *bridge = dev->bus->self; local
1889 pcibios_root_bridge_prepare(struct pci_host_bridge *bridge) argument
1906 struct pci_host_bridge *bridge; local
2155 pci_rescan_bus_bridge_resize(struct pci_dev *bridge) argument
[all...]
H A Dremove.c134 host_bridge = to_pci_host_bridge(bus->bridge);
139 /* stop the host bridge */
151 host_bridge = to_pci_host_bridge(bus->bridge);
158 /* remove the host bridge */
/drivers/gpu/drm/sti/
H A Dsti_hda.c347 static void sti_hda_disable(struct drm_bridge *bridge) argument
349 struct sti_hda *hda = bridge->driver_private;
372 static void sti_hda_pre_enable(struct drm_bridge *bridge) argument
374 struct sti_hda *hda = bridge->driver_private;
461 static void sti_hda_set_mode(struct drm_bridge *bridge, argument
465 struct sti_hda *hda = bridge->driver_private;
506 static void sti_hda_bridge_nope(struct drm_bridge *bridge) argument
511 static void sti_hda_brigde_destroy(struct drm_bridge *bridge) argument
513 drm_bridge_cleanup(bridge);
514 kfree(bridge);
646 struct drm_bridge *bridge; local
[all...]
H A Dsti_hdmi.c359 static void sti_hdmi_disable(struct drm_bridge *bridge) argument
361 struct sti_hdmi *hdmi = bridge->driver_private;
392 static void sti_hdmi_pre_enable(struct drm_bridge *bridge) argument
394 struct sti_hdmi *hdmi = bridge->driver_private;
434 static void sti_hdmi_set_mode(struct drm_bridge *bridge, argument
438 struct sti_hdmi *hdmi = bridge->driver_private;
461 static void sti_hdmi_bridge_nope(struct drm_bridge *bridge) argument
466 static void sti_hdmi_brigde_destroy(struct drm_bridge *bridge) argument
468 drm_bridge_cleanup(bridge);
469 kfree(bridge);
605 struct drm_bridge *bridge; local
[all...]
/drivers/gpu/drm/msm/hdmi/
H A Dhdmi.c192 hdmi->bridge = hdmi_bridge_init(hdmi);
193 if (IS_ERR(hdmi->bridge)) {
194 ret = PTR_ERR(hdmi->bridge);
195 dev_err(dev->dev, "failed to create HDMI bridge: %d\n", ret);
196 hdmi->bridge = NULL;
226 encoder->bridge = hdmi->bridge;
228 priv->bridges[priv->num_bridges++] = hdmi->bridge;
237 /* bridge/connector are normally destroyed by drm: */
238 if (hdmi->bridge)
[all...]

Completed in 290 milliseconds

123456