| /drivers/char/agp/ |
| A D | alpha-agp.c | 22 pa = agp->ops->translate(agp, dma_addr); in alpha_core_agp_vm_fault() 62 agp->ops->cleanup(agp); in alpha_core_agp_cleanup() 68 alpha_mv.mv_pci_tbi(agp->hose, 0, -1); in alpha_core_agp_tlbflush() 76 agp->capability.lw); in alpha_core_agp_enable() 78 agp->mode.bits.enable = 1; in alpha_core_agp_enable() 79 agp->ops->configure(agp); in alpha_core_agp_enable() 99 status = agp->ops->bind(agp, pg_start, mem); in alpha_core_agp_insert_memory() 112 status = agp->ops->unbind(agp, pg_start, mem); in alpha_core_agp_remove_memory() 159 if (!agp) in alpha_core_agp_setup() 161 if (agp->ops->setup(agp)) in alpha_core_agp_setup() [all …]
|
| A D | Makefile | 5 obj-$(CONFIG_AGP_ALI) += ali-agp.o 6 obj-$(CONFIG_AGP_ATI) += ati-agp.o 7 obj-$(CONFIG_AGP_AMD) += amd-k7-agp.o 8 obj-$(CONFIG_AGP_AMD64) += amd64-agp.o 9 obj-$(CONFIG_AGP_ALPHA_CORE) += alpha-agp.o 11 obj-$(CONFIG_AGP_PARISC) += parisc-agp.o 12 obj-$(CONFIG_AGP_INTEL) += intel-agp.o 14 obj-$(CONFIG_AGP_NVIDIA) += nvidia-agp.o 15 obj-$(CONFIG_AGP_SIS) += sis-agp.o 16 obj-$(CONFIG_AGP_SWORKS) += sworks-agp.o [all …]
|
| A D | uninorth-agp.c | 294 u8 agp; in agp_uninorth_suspend() local 318 agp = pci_find_capability(device, PCI_CAP_ID_AGP); in agp_uninorth_suspend() 319 if (!agp) in agp_uninorth_suspend() 321 pci_read_config_dword(device, agp + PCI_AGP_COMMAND, &cmd); in agp_uninorth_suspend() 327 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, cmd); in agp_uninorth_suspend() 331 agp = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_uninorth_suspend() 332 pci_read_config_dword(pdev, agp + PCI_AGP_COMMAND, &cmd); in agp_uninorth_suspend() 337 pci_write_config_dword(pdev, agp + PCI_AGP_COMMAND, cmd); in agp_uninorth_suspend()
|
| A D | backend.c | 103 static const struct { int mem, agp; } maxes_table[] = { member 129 result = maxes_table[index - 1].agp + in agp_find_max() 131 (maxes_table[index].agp - maxes_table[index - 1].agp)) / in agp_find_max()
|
| A D | amd64-agp.c | 271 static int fix_northbridge(struct pci_dev *nb, struct pci_dev *agp, u16 cap) in fix_northbridge() argument 285 pci_read_config_word(agp, cap+0x14, &apsize); in fix_northbridge() 298 aper = pci_bus_address(agp, AGP_APERTURE_BAR); in fix_northbridge() 305 dev_info(&agp->dev, "aperture size %u MB is not right, using settings from NB\n", in fix_northbridge() 315 dev_info(&agp->dev, "aperture from AGP @ %Lx size %u MB\n", in fix_northbridge()
|
| A 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()
|
| A D | generic.c | 777 u8 agp = pci_find_capability(device, PCI_CAP_ID_AGP); in agp_device_command() local 778 if (!agp) in agp_device_command() 783 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, bridge_agpstat); in agp_device_command()
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
| A D | agp.c | 46 if (pci->agp.acquired) { in nvkm_agp_fini() 48 pci->agp.acquired = false; in nvkm_agp_fini() 92 agp_enable(pci->agp.bridge, pci->agp.mode); in nvkm_agp_init() 93 pci->agp.acquired = true; in nvkm_agp_init() 132 pci->agp.mode = info.mode; in nvkm_agp_ctor() 133 pci->agp.base = info.aper_base; in nvkm_agp_ctor() 136 pci->agp.mtrr = -1; in nvkm_agp_ctor() 159 pci->agp.mode &= ~0x00000007; in nvkm_agp_ctor() 160 pci->agp.mode |= (mode & 0x7); in nvkm_agp_ctor() 163 pci->agp.bridge = NULL; in nvkm_agp_ctor() [all …]
|
| A D | base.c | 81 if (pci->agp.bridge) in nvkm_pci_fini() 91 if (pci->agp.bridge) in nvkm_pci_preinit() 117 if (pci->agp.bridge) { in nvkm_pci_init()
|
| A D | Kbuild | 2 nvkm-y += nvkm/subdev/pci/agp.o
|
| /drivers/gpio/ |
| A D | gpio-amd8111.c | 78 struct amd_gpio *agp = gpiochip_get_data(chip); in amd_gpio_request() local 80 agp->orig[offset] = ioread8(agp->pm + AMD_REG_GPIO(offset)) & in amd_gpio_request() 83 dev_dbg(&agp->pdev->dev, "Requested gpio %d, data %x\n", offset, agp->orig[offset]); in amd_gpio_request() 92 dev_dbg(&agp->pdev->dev, "Freed gpio %d, data %x\n", offset, agp->orig[offset]); in amd_gpio_free() 94 iowrite8(agp->orig[offset], agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_free() 103 spin_lock_irqsave(&agp->lock, flags); in amd_gpio_set() 107 spin_unlock_irqrestore(&agp->lock, flags); in amd_gpio_set() 132 spin_lock_irqsave(&agp->lock, flags); in amd_gpio_dirout() 136 spin_unlock_irqrestore(&agp->lock, flags); in amd_gpio_dirout() 149 spin_lock_irqsave(&agp->lock, flags); in amd_gpio_dirin() [all …]
|
| /drivers/gpu/drm/radeon/ |
| A D | radeon_agp.c | 167 if (!rdev->agp) in radeon_agp_head_acquire() 169 if (rdev->agp->acquired) in radeon_agp_head_acquire() 172 if (!rdev->agp->bridge) in radeon_agp_head_acquire() 174 rdev->agp->acquired = 1; in radeon_agp_head_acquire() 180 if (!rdev->agp || !rdev->agp->acquired) in radeon_agp_head_release() 183 rdev->agp->acquired = 0; in radeon_agp_head_release() 189 if (!rdev->agp || !rdev->agp->acquired) in radeon_agp_head_enable() 192 rdev->agp->mode = mode.mode; in radeon_agp_head_enable() 194 rdev->agp->enabled = 1; in radeon_agp_head_enable() 202 if (!rdev->agp || !rdev->agp->acquired) in radeon_agp_head_info() [all …]
|
| A D | radeon_kms.c | 81 if (rdev->agp) in radeon_driver_unload_kms() 82 arch_phys_wc_del(rdev->agp->agp_mtrr); in radeon_driver_unload_kms() 83 kfree(rdev->agp); in radeon_driver_unload_kms() 84 rdev->agp = NULL; in radeon_driver_unload_kms() 115 rdev->agp = radeon_agp_head_init(dev); in radeon_driver_load_kms() 116 if (rdev->agp) { in radeon_driver_load_kms() 117 rdev->agp->agp_mtrr = arch_phys_wc_add( in radeon_driver_load_kms() 118 rdev->agp->agp_info.aper_base, in radeon_driver_load_kms() 119 rdev->agp->agp_info.aper_size * in radeon_driver_load_kms()
|
| A D | radeon_ttm.c | 271 mem->bus.is_iomem = !rdev->agp->cant_use_aperture; in radeon_ttm_io_mem_reserve() 490 return ttm_agp_tt_create(bo, rdev->agp->bridge, page_flags); in radeon_ttm_tt_create()
|
| /drivers/gpu/drm/nouveau/ |
| A D | nouveau_ttm.c | 226 else if (!drm->agp.bridge) in nouveau_ttm_init_gtt() 250 drm->agp.bridge) in nouveau_ttm_fini_gtt() 295 if (pci && pci->agp.bridge) { in nouveau_ttm_init() 296 drm->agp.bridge = pci->agp.bridge; in nouveau_ttm_init() 297 drm->agp.base = pci->agp.base; in nouveau_ttm_init() 298 drm->agp.size = pci->agp.size; in nouveau_ttm_init() 299 drm->agp.cma = pci->agp.cma; in nouveau_ttm_init() 328 if (!drm->agp.bridge) { in nouveau_ttm_init() 331 drm->gem.gart_available = drm->agp.size; in nouveau_ttm_init()
|
| A D | nouveau_chan.c | 223 if (drm->agp.bridge) { in nouveau_channel_prep() 226 args.start = drm->agp.base; in nouveau_channel_prep() 227 args.limit = drm->agp.base + drm->agp.size - 1; in nouveau_channel_prep() 413 if (drm->agp.bridge) { in nouveau_channel_init() 416 args.start = drm->agp.base; in nouveau_channel_init() 417 args.limit = drm->agp.base + drm->agp.size - 1; in nouveau_channel_init()
|
| A D | nouveau_bo.c | 847 if (drm->agp.bridge) { in nouveau_ttm_tt_create() 848 return ttm_agp_tt_create(bo, drm->agp.bridge, page_flags); in nouveau_ttm_tt_create() 865 if (drm->agp.bridge) in nouveau_ttm_tt_bind() 877 if (drm->agp.bridge) { in nouveau_ttm_tt_unbind() 1271 if (drm->agp.bridge) { in nouveau_ttm_io_mem_reserve() 1273 drm->agp.base; in nouveau_ttm_io_mem_reserve() 1274 reg->bus.is_iomem = !drm->agp.cma; in nouveau_ttm_io_mem_reserve() 1463 if (drm->agp.bridge) { in nouveau_ttm_tt_destroy()
|
| A D | nouveau_sgdma.c | 77 else if (drm->agp.bridge) in nouveau_sgdma_create_ttm()
|
| A D | nouveau_abi16.c | 657 if (drm->agp.bridge) { in nouveau_abi16_ioctl_notifierobj_alloc() 660 args.start += drm->agp.base + chan->ntfy->offset; in nouveau_abi16_ioctl_notifierobj_alloc() 661 args.limit += drm->agp.base + chan->ntfy->offset; in nouveau_abi16_ioctl_notifierobj_alloc()
|
| A D | nouveau_drv.h | 227 } agp; member
|
| /drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
| A D | pci.h | 25 } agp; member
|
| /drivers/char/ |
| A D | Makefile | 36 obj-y += agp/
|
| /drivers/video/ |
| A D | Kconfig | 36 source "drivers/char/agp/Kconfig"
|
| /drivers/gpu/drm/nouveau/nvkm/engine/device/ |
| A D | pci.c | 1712 if (pdev->device.mmu && !pdev->device.pci->agp.bridge) in nvkm_device_pci_new()
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_drv.c | 1089 MODULE_PARM_DESC(agp, "AGP (-1 = auto (default), 0 = disable, 1 = enable)"); 1090 module_param_named(agp, amdgpu_agp, int, 0444);
|