/drivers/char/agp/ |
D | alpha-agp.c | 17 alpha_agp_info *agp = agp_bridge->dev_private_data; in alpha_core_agp_vm_fault() local 23 + agp->aperture.bus_base; in alpha_core_agp_vm_fault() 24 pa = agp->ops->translate(agp, dma_addr); in alpha_core_agp_vm_fault() 55 alpha_agp_info *agp = agp_bridge->dev_private_data; in alpha_core_agp_configure() local 56 agp_bridge->gart_bus_addr = agp->aperture.bus_base; in alpha_core_agp_configure() 62 alpha_agp_info *agp = agp_bridge->dev_private_data; in alpha_core_agp_cleanup() local 64 agp->ops->cleanup(agp); in alpha_core_agp_cleanup() 69 alpha_agp_info *agp = agp_bridge->dev_private_data; in alpha_core_agp_tlbflush() local 70 alpha_mv.mv_pci_tbi(agp->hose, 0, -1); in alpha_core_agp_tlbflush() 75 alpha_agp_info *agp = bridge->dev_private_data; in alpha_core_agp_enable() local [all …]
|
D | Makefile | 6 obj-$(CONFIG_AGP_ALI) += ali-agp.o 7 obj-$(CONFIG_AGP_ATI) += ati-agp.o 8 obj-$(CONFIG_AGP_AMD) += amd-k7-agp.o 9 obj-$(CONFIG_AGP_AMD64) += amd64-agp.o 10 obj-$(CONFIG_AGP_ALPHA_CORE) += alpha-agp.o 11 obj-$(CONFIG_AGP_EFFICEON) += efficeon-agp.o 12 obj-$(CONFIG_AGP_HP_ZX1) += hp-agp.o 13 obj-$(CONFIG_AGP_PARISC) += parisc-agp.o 14 obj-$(CONFIG_AGP_I460) += i460-agp.o 15 obj-$(CONFIG_AGP_INTEL) += intel-agp.o [all …]
|
D | uninorth-agp.c | 292 u8 agp; in agp_uninorth_suspend() local 316 agp = pci_find_capability(device, PCI_CAP_ID_AGP); in agp_uninorth_suspend() 317 if (!agp) in agp_uninorth_suspend() 319 pci_read_config_dword(device, agp + PCI_AGP_COMMAND, &cmd); in agp_uninorth_suspend() 325 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, cmd); in agp_uninorth_suspend() 329 agp = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_uninorth_suspend() 330 pci_read_config_dword(pdev, agp + PCI_AGP_COMMAND, &cmd); in agp_uninorth_suspend() 335 pci_write_config_dword(pdev, agp + PCI_AGP_COMMAND, cmd); in agp_uninorth_suspend()
|
D | backend.c | 101 static const struct { int mem, agp; } maxes_table[] = { member 127 result = maxes_table[index - 1].agp + in agp_find_max() 129 (maxes_table[index].agp - maxes_table[index - 1].agp)) / in agp_find_max()
|
D | amd64-agp.c | 270 static int fix_northbridge(struct pci_dev *nb, struct pci_dev *agp, u16 cap) in fix_northbridge() argument 284 pci_read_config_word(agp, cap+0x14, &apsize); in fix_northbridge() 297 aper = pci_bus_address(agp, AGP_APERTURE_BAR); in fix_northbridge() 304 dev_info(&agp->dev, "aperture size %u MB is not right, using settings from NB\n", in fix_northbridge() 314 dev_info(&agp->dev, "aperture from AGP @ %Lx size %u MB\n", in fix_northbridge()
|
D | sis-agp.c | 90 u8 agp = pci_find_capability(device, PCI_CAP_ID_AGP); in sis_delayed_enable() local 91 if (!agp) in sis_delayed_enable() 97 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, command); in sis_delayed_enable()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
D | agp.c | 46 if (pci->agp.acquired) { in nvkm_agp_fini() 47 agp_backend_release(pci->agp.bridge); in nvkm_agp_fini() 48 pci->agp.acquired = false; in nvkm_agp_fini() 66 if ((mode | pci->agp.mode) & PCI_AGP_COMMAND_FW) { in nvkm_agp_preinit() 67 mode = pci->agp.mode & ~PCI_AGP_COMMAND_FW; in nvkm_agp_preinit() 68 agp_enable(pci->agp.bridge, mode); in nvkm_agp_preinit() 92 agp_enable(pci->agp.bridge, pci->agp.mode); in nvkm_agp_init() 93 pci->agp.acquired = true; in nvkm_agp_init() 100 arch_phys_wc_del(pci->agp.mtrr); in nvkm_agp_dtor() 125 if (!(pci->agp.bridge = agp_backend_acquire(pci->pdev))) { in nvkm_agp_ctor() [all …]
|
D | base.c | 92 if (pci->agp.bridge) in nvkm_pci_fini() 102 if (pci->agp.bridge) in nvkm_pci_preinit() 123 if (pci->agp.bridge) { in nvkm_pci_init()
|
D | Kbuild | 1 nvkm-y += nvkm/subdev/pci/agp.o
|
/drivers/gpio/ |
D | gpio-amd8111.c | 81 struct amd_gpio *agp = gpiochip_get_data(chip); in amd_gpio_request() local 83 agp->orig[offset] = ioread8(agp->pm + AMD_REG_GPIO(offset)) & in amd_gpio_request() 86 dev_dbg(&agp->pdev->dev, "Requested gpio %d, data %x\n", offset, agp->orig[offset]); in amd_gpio_request() 93 struct amd_gpio *agp = gpiochip_get_data(chip); in amd_gpio_free() local 95 dev_dbg(&agp->pdev->dev, "Freed gpio %d, data %x\n", offset, agp->orig[offset]); in amd_gpio_free() 97 iowrite8(agp->orig[offset], agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_free() 102 struct amd_gpio *agp = gpiochip_get_data(chip); in amd_gpio_set() local 106 spin_lock_irqsave(&agp->lock, flags); in amd_gpio_set() 107 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_set() 109 iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_set() [all …]
|
/drivers/gpu/drm/ |
D | drm_agpsupport.c | 57 if (!dev->agp || !dev->agp->acquired) in drm_agp_info() 60 kern = &dev->agp->agp_info; in drm_agp_info() 100 if (!dev->agp) in drm_agp_acquire() 102 if (dev->agp->acquired) in drm_agp_acquire() 104 if (!(dev->agp->bridge = agp_backend_acquire(dev->pdev))) in drm_agp_acquire() 106 dev->agp->acquired = 1; in drm_agp_acquire() 140 if (!dev->agp || !dev->agp->acquired) in drm_agp_release() 142 agp_backend_release(dev->agp->bridge); in drm_agp_release() 143 dev->agp->acquired = 0; in drm_agp_release() 166 if (!dev->agp || !dev->agp->acquired) in drm_agp_enable() [all …]
|
D | drm_memory.c | 69 list_for_each_entry(agpmem, &dev->agp->memory, head) in agp_remap() 74 if (&agpmem->head == &dev->agp->memory) in agp_remap() 125 if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) in drm_legacy_ioremap() 134 if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) in drm_legacy_ioremap_wc() 146 if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) in drm_legacy_ioremapfree()
|
D | drm_pci.c | 195 dev->agp = drm_agp_init(dev); in drm_pci_agp_init() 196 if (dev->agp) { in drm_pci_agp_init() 197 dev->agp->agp_mtrr = arch_phys_wc_add( in drm_pci_agp_init() 198 dev->agp->agp_info.aper_base, in drm_pci_agp_init() 199 dev->agp->agp_info.aper_size * in drm_pci_agp_init() 207 if (dev->agp) { in drm_pci_agp_destroy() 208 arch_phys_wc_del(dev->agp->agp_mtrr); in drm_pci_agp_destroy() 210 kfree(dev->agp); in drm_pci_agp_destroy() 211 dev->agp = NULL; in drm_pci_agp_destroy()
|
D | drm_vm.c | 110 if (!dev->agp) in drm_do_vm_fault() 113 if (!dev->agp || !dev->agp->cant_use_aperture) in drm_do_vm_fault() 143 list_for_each_entry(agpmem, &dev->agp->memory, head) { in drm_do_vm_fault() 149 if (&agpmem->head == &dev->agp->memory) in drm_do_vm_fault() 552 && (!dev->agp in drm_mmap_locked() 553 || dev->agp->agp_info.device->vendor != PCI_VENDOR_ID_APPLE) in drm_mmap_locked() 589 if (dev->agp && dev->agp->cant_use_aperture) { in drm_mmap_locked()
|
D | drm_bufs.c | 260 if (!dev->agp) { in drm_addmap_core() 273 if (map->offset < dev->agp->base || in drm_addmap_core() 274 map->offset > dev->agp->base + in drm_addmap_core() 275 dev->agp->agp_info.aper_size * 1024 * 1024 - 1) { in drm_addmap_core() 276 map->offset += dev->agp->base; in drm_addmap_core() 278 map->mtrr = dev->agp->agp_mtrr; /* for getmap */ in drm_addmap_core() 286 list_for_each_entry(entry, &dev->agp->memory, head) { in drm_addmap_core() 293 if (!list_empty(&dev->agp->memory) && !valid) { in drm_addmap_core() 710 agp_offset = dev->agp->base + request->agp_start; in drm_legacy_addbufs_agp() 725 list_for_each_entry(agp_entry, &dev->agp->memory, head) { in drm_legacy_addbufs_agp() [all …]
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 348 if (pci && pci->agp.bridge) { in nouveau_ttm_init() 349 drm->agp.bridge = pci->agp.bridge; in nouveau_ttm_init() 350 drm->agp.base = pci->agp.base; in nouveau_ttm_init() 351 drm->agp.size = pci->agp.size; in nouveau_ttm_init() 352 drm->agp.cma = pci->agp.cma; in nouveau_ttm_init() 357 if (drm->agp.bridge) in nouveau_ttm_init() 415 if (!drm->agp.bridge) { in nouveau_ttm_init() 418 drm->gem.gart_available = drm->agp.size; in nouveau_ttm_init()
|
D | nouveau_chan.c | 166 if (chan->drm->agp.bridge) { in nouveau_channel_prep() 169 args.start = chan->drm->agp.base; in nouveau_channel_prep() 170 args.limit = chan->drm->agp.base + in nouveau_channel_prep() 171 chan->drm->agp.size - 1; in nouveau_channel_prep() 335 if (chan->drm->agp.bridge) { in nouveau_channel_init() 338 args.start = chan->drm->agp.base; in nouveau_channel_init() 339 args.limit = chan->drm->agp.base + in nouveau_channel_init() 340 chan->drm->agp.size - 1; in nouveau_channel_init()
|
D | nouveau_bo.c | 547 if (drm->agp.bridge) { in nouveau_ttm_tt_create() 548 return ttm_agp_tt_create(bdev, drm->agp.bridge, size, in nouveau_ttm_tt_create() 600 if (!drm->agp.bridge) in nouveau_bo_init_mem_type() 605 if (drm->agp.bridge) { in nouveau_bo_init_mem_type() 1346 if (drm->agp.bridge) { in nouveau_ttm_io_mem_reserve() 1348 mem->bus.base = drm->agp.base; in nouveau_ttm_io_mem_reserve() 1349 mem->bus.is_iomem = !drm->agp.cma; in nouveau_ttm_io_mem_reserve() 1468 if (drm->agp.bridge) { in nouveau_ttm_tt_populate() 1525 if (drm->agp.bridge) { in nouveau_ttm_tt_unpopulate()
|
/drivers/gpu/drm/radeon/ |
D | radeon_agp.c | 152 if (rdev->ddev->agp->agp_info.aper_size < 32) { in radeon_agp_init() 156 rdev->ddev->agp->agp_info.aper_size); in radeon_agp_init() 244 rdev->mc.agp_base = rdev->ddev->agp->agp_info.aper_base; in radeon_agp_init() 245 rdev->mc.gtt_size = rdev->ddev->agp->agp_info.aper_size << 20; in radeon_agp_init() 276 if (rdev->ddev->agp && rdev->ddev->agp->acquired) { in radeon_agp_fini()
|
/drivers/gpu/drm/via/ |
D | via_mm.c | 42 drm_via_agp_t *agp = data; in via_agp_init() local 46 drm_mm_init(&dev_priv->agp_mm, 0, agp->size >> VIA_MM_ALIGN_SHIFT); in via_agp_init() 49 dev_priv->agp_offset = agp->offset; in via_agp_init() 52 DRM_DEBUG("offset = %u, size = %u\n", agp->offset, agp->size); in via_agp_init()
|
D | via_verifier.h | 53 int agp; member 58 struct drm_device *dev, int agp);
|
D | via_verifier.c | 555 if (cur_seq->agp && ((bcmd & (0xF << 11)) == 0)) { in via_check_prim_list() 613 if (cur_seq->agp && ((buf - cur_seq->buf_start) & 0x01)) { in via_check_prim_list() 963 struct drm_device * dev, int agp) in via_verify_command_stream() argument 983 hc_state->agp = agp; in via_verify_command_stream()
|
/drivers/gpu/drm/sis/ |
D | sis_mm.c | 203 drm_sis_agp_t *agp = data; in sis_ioctl_agp_init() local 207 drm_mm_init(&dev_priv->agp_mm, 0, agp->size >> SIS_MM_ALIGN_SHIFT); in sis_ioctl_agp_init() 210 dev_priv->agp_offset = agp->offset; in sis_ioctl_agp_init() 213 DRM_DEBUG("offset = %lu, size = %lu\n", agp->offset, agp->size); in sis_ioctl_agp_init()
|
/drivers/gpu/drm/mga/ |
D | mga_dma.c | 406 && dev->agp) { in mga_driver_load() 409 arch_phys_wc_del(dev->agp->agp_mtrr); in mga_driver_load() 410 kfree(dev->agp); in mga_driver_load() 411 dev->agp = NULL; in mga_driver_load() 719 const int is_agp = (dma_bs->agp_mode != 0) && dev->agp; in mga_do_dma_bootstrap() 984 if ((dev->agp != NULL) && dev->agp->acquired) in mga_do_cleanup_dma()
|
/drivers/video/ |
D | Kconfig | 14 source "drivers/char/agp/Kconfig"
|