agp 908 arch/alpha/kernel/core_marvel.c marvel_agp_setup(alpha_agp_info *agp) agp 918 arch/alpha/kernel/core_marvel.c aper->arena = agp->hose->sg_pci; agp 929 arch/alpha/kernel/core_marvel.c agp->aperture.bus_base = agp 931 arch/alpha/kernel/core_marvel.c agp->aperture.size = aper->pg_count * PAGE_SIZE; agp 932 arch/alpha/kernel/core_marvel.c agp->aperture.sysdata = aper; agp 938 arch/alpha/kernel/core_marvel.c marvel_agp_cleanup(alpha_agp_info *agp) agp 940 arch/alpha/kernel/core_marvel.c struct marvel_agp_aperture *aper = agp->aperture.sysdata; agp 955 arch/alpha/kernel/core_marvel.c kfree(agp); agp 959 arch/alpha/kernel/core_marvel.c marvel_agp_configure(alpha_agp_info *agp) agp 961 arch/alpha/kernel/core_marvel.c io7_ioport_csrs *csrs = ((struct io7_port *)agp->hose->sysdata)->csrs; agp 962 arch/alpha/kernel/core_marvel.c struct io7 *io7 = ((struct io7_port *)agp->hose->sysdata)->io7; agp 978 arch/alpha/kernel/core_marvel.c if (agp->mode.bits.rate != 2) agp 987 arch/alpha/kernel/core_marvel.c if (agp->mode.bits.rate == 2) agp 1007 arch/alpha/kernel/core_marvel.c agp->mode.bits.rate, agp 1010 arch/alpha/kernel/core_marvel.c agp->mode.bits.rate = new_rate; agp 1014 arch/alpha/kernel/core_marvel.c agp->hose->index, agp->mode.bits.rate, agp 1015 arch/alpha/kernel/core_marvel.c agp->mode.bits.sba ? " - SBA" : "", agp->mode.bits.rq); agp 1017 arch/alpha/kernel/core_marvel.c csrs->AGP_CMD.csr = agp->mode.lw; agp 1023 arch/alpha/kernel/core_marvel.c marvel_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) agp 1025 arch/alpha/kernel/core_marvel.c struct marvel_agp_aperture *aper = agp->aperture.sysdata; agp 1031 arch/alpha/kernel/core_marvel.c marvel_agp_unbind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) agp 1033 arch/alpha/kernel/core_marvel.c struct marvel_agp_aperture *aper = agp->aperture.sysdata; agp 1039 arch/alpha/kernel/core_marvel.c marvel_agp_translate(alpha_agp_info *agp, dma_addr_t addr) agp 1041 arch/alpha/kernel/core_marvel.c struct marvel_agp_aperture *aper = agp->aperture.sysdata; agp 1045 arch/alpha/kernel/core_marvel.c if (addr < agp->aperture.bus_base || agp 1046 arch/alpha/kernel/core_marvel.c addr >= agp->aperture.bus_base + agp->aperture.size) { agp 1074 arch/alpha/kernel/core_marvel.c alpha_agp_info *agp; agp 1113 arch/alpha/kernel/core_marvel.c agp = kmalloc(sizeof(*agp), GFP_KERNEL); agp 1114 arch/alpha/kernel/core_marvel.c if (!agp) agp 1120 arch/alpha/kernel/core_marvel.c agp->hose = hose; agp 1121 arch/alpha/kernel/core_marvel.c agp->private = NULL; agp 1122 arch/alpha/kernel/core_marvel.c agp->ops = &marvel_agp_ops; agp 1127 arch/alpha/kernel/core_marvel.c agp->aperture.bus_base = 0; agp 1128 arch/alpha/kernel/core_marvel.c agp->aperture.size = 0; agp 1129 arch/alpha/kernel/core_marvel.c agp->aperture.sysdata = NULL; agp 1138 arch/alpha/kernel/core_marvel.c agp->capability.lw = csrs->AGP_STAT.csr; agp 1139 arch/alpha/kernel/core_marvel.c agp->capability.bits.rq = 0xf; agp 1144 arch/alpha/kernel/core_marvel.c agp->mode.lw = csrs->AGP_CMD.csr; agp 1146 arch/alpha/kernel/core_marvel.c return agp; agp 591 arch/alpha/kernel/core_titan.c titan_agp_setup(alpha_agp_info *agp) agp 602 arch/alpha/kernel/core_titan.c aper->arena = agp->hose->sg_pci; agp 612 arch/alpha/kernel/core_titan.c agp->aperture.bus_base = agp 614 arch/alpha/kernel/core_titan.c agp->aperture.size = aper->pg_count * PAGE_SIZE; agp 615 arch/alpha/kernel/core_titan.c agp->aperture.sysdata = aper; agp 621 arch/alpha/kernel/core_titan.c titan_agp_cleanup(alpha_agp_info *agp) agp 623 arch/alpha/kernel/core_titan.c struct titan_agp_aperture *aper = agp->aperture.sysdata; agp 638 arch/alpha/kernel/core_titan.c kfree(agp); agp 642 arch/alpha/kernel/core_titan.c titan_agp_configure(alpha_agp_info *agp) agp 645 arch/alpha/kernel/core_titan.c titan_pachip_port *port = agp->private; agp 649 arch/alpha/kernel/core_titan.c pctl.pctl_r_bits.apctl_v_agp_sba_en = agp->mode.bits.sba; agp 653 arch/alpha/kernel/core_titan.c if (agp->mode.bits.rate & 2) agp 656 arch/alpha/kernel/core_titan.c if (agp->mode.bits.rate & 4) agp 667 arch/alpha/kernel/core_titan.c pctl.pctl_r_bits.apctl_v_agp_en = agp->mode.bits.enable; agp 684 arch/alpha/kernel/core_titan.c titan_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) agp 686 arch/alpha/kernel/core_titan.c struct titan_agp_aperture *aper = agp->aperture.sysdata; agp 692 arch/alpha/kernel/core_titan.c titan_agp_unbind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) agp 694 arch/alpha/kernel/core_titan.c struct titan_agp_aperture *aper = agp->aperture.sysdata; agp 700 arch/alpha/kernel/core_titan.c titan_agp_translate(alpha_agp_info *agp, dma_addr_t addr) agp 702 arch/alpha/kernel/core_titan.c struct titan_agp_aperture *aper = agp->aperture.sysdata; agp 706 arch/alpha/kernel/core_titan.c if (addr < agp->aperture.bus_base || agp 707 arch/alpha/kernel/core_titan.c addr >= agp->aperture.bus_base + agp->aperture.size) { agp 734 arch/alpha/kernel/core_titan.c alpha_agp_info *agp; agp 764 arch/alpha/kernel/core_titan.c agp = kmalloc(sizeof(*agp), GFP_KERNEL); agp 765 arch/alpha/kernel/core_titan.c if (!agp) agp 771 arch/alpha/kernel/core_titan.c agp->hose = hose; agp 772 arch/alpha/kernel/core_titan.c agp->private = port; agp 773 arch/alpha/kernel/core_titan.c agp->ops = &titan_agp_ops; agp 780 arch/alpha/kernel/core_titan.c agp->aperture.bus_base = 0; agp 781 arch/alpha/kernel/core_titan.c agp->aperture.size = 0; agp 782 arch/alpha/kernel/core_titan.c agp->aperture.sysdata = NULL; agp 787 arch/alpha/kernel/core_titan.c agp->capability.lw = 0; agp 788 arch/alpha/kernel/core_titan.c agp->capability.bits.rate = 3; /* 2x, 1x */ agp 789 arch/alpha/kernel/core_titan.c agp->capability.bits.sba = 1; agp 790 arch/alpha/kernel/core_titan.c agp->capability.bits.rq = 7; /* 8 - 1 */ agp 796 arch/alpha/kernel/core_titan.c agp->mode.lw = 0; agp 797 arch/alpha/kernel/core_titan.c agp->mode.bits.rate = 1 << pctl.pctl_r_bits.apctl_v_agp_rate; agp 798 arch/alpha/kernel/core_titan.c agp->mode.bits.sba = pctl.pctl_r_bits.apctl_v_agp_sba_en; agp 799 arch/alpha/kernel/core_titan.c agp->mode.bits.rq = 7; /* RQ Depth? */ agp 800 arch/alpha/kernel/core_titan.c agp->mode.bits.enable = pctl.pctl_r_bits.apctl_v_agp_en; agp 802 arch/alpha/kernel/core_titan.c return agp; agp 221 arch/powerpc/kernel/pci_64.c struct device_node *agp; agp 223 arch/powerpc/kernel/pci_64.c agp = of_find_compatible_node(NULL, NULL, "u3-agp"); agp 224 arch/powerpc/kernel/pci_64.c if (agp) agp 226 arch/powerpc/kernel/pci_64.c of_node_put(agp); agp 16 drivers/char/agp/alpha-agp.c alpha_agp_info *agp = agp_bridge->dev_private_data; agp 21 drivers/char/agp/alpha-agp.c dma_addr = vmf->address - vmf->vma->vm_start + agp->aperture.bus_base; agp 22 drivers/char/agp/alpha-agp.c pa = agp->ops->translate(agp, dma_addr); agp 53 drivers/char/agp/alpha-agp.c alpha_agp_info *agp = agp_bridge->dev_private_data; agp 54 drivers/char/agp/alpha-agp.c agp_bridge->gart_bus_addr = agp->aperture.bus_base; agp 60 drivers/char/agp/alpha-agp.c alpha_agp_info *agp = agp_bridge->dev_private_data; agp 62 drivers/char/agp/alpha-agp.c agp->ops->cleanup(agp); agp 67 drivers/char/agp/alpha-agp.c alpha_agp_info *agp = agp_bridge->dev_private_data; agp 68 drivers/char/agp/alpha-agp.c alpha_mv.mv_pci_tbi(agp->hose, 0, -1); agp 73 drivers/char/agp/alpha-agp.c alpha_agp_info *agp = bridge->dev_private_data; agp 75 drivers/char/agp/alpha-agp.c agp->mode.lw = agp_collect_device_status(bridge, mode, agp 76 drivers/char/agp/alpha-agp.c agp->capability.lw); agp 78 drivers/char/agp/alpha-agp.c agp->mode.bits.enable = 1; agp 79 drivers/char/agp/alpha-agp.c agp->ops->configure(agp); agp 81 drivers/char/agp/alpha-agp.c agp_device_command(agp->mode.lw, false); agp 87 drivers/char/agp/alpha-agp.c alpha_agp_info *agp = agp_bridge->dev_private_data; agp 99 drivers/char/agp/alpha-agp.c status = agp->ops->bind(agp, pg_start, mem); agp 109 drivers/char/agp/alpha-agp.c alpha_agp_info *agp = agp_bridge->dev_private_data; agp 112 drivers/char/agp/alpha-agp.c status = agp->ops->unbind(agp, pg_start, mem); agp 155 drivers/char/agp/alpha-agp.c alpha_agp_info *agp = alpha_mv.agp_info(); agp 159 drivers/char/agp/alpha-agp.c if (!agp) agp 161 drivers/char/agp/alpha-agp.c if (agp->ops->setup(agp)) agp 168 drivers/char/agp/alpha-agp.c aper_size->size = agp->aperture.size / (1024 * 1024); agp 169 drivers/char/agp/alpha-agp.c aper_size->num_entries = agp->aperture.size / PAGE_SIZE; agp 180 drivers/char/agp/alpha-agp.c pdev->sysdata = agp->hose; agp 189 drivers/char/agp/alpha-agp.c alpha_bridge->dev_private_data = agp; agp 191 drivers/char/agp/alpha-agp.c alpha_bridge->mode = agp->capability.lw; agp 193 drivers/char/agp/alpha-agp.c printk(KERN_INFO PFX "Detected AGP on hose %d\n", agp->hose->index); agp 271 drivers/char/agp/amd64-agp.c static int fix_northbridge(struct pci_dev *nb, struct pci_dev *agp, u16 cap) agp 285 drivers/char/agp/amd64-agp.c pci_read_config_word(agp, cap+0x14, &apsize); agp 298 drivers/char/agp/amd64-agp.c aper = pci_bus_address(agp, AGP_APERTURE_BAR); agp 305 drivers/char/agp/amd64-agp.c dev_info(&agp->dev, "aperture size %u MB is not right, using settings from NB\n", agp 315 drivers/char/agp/amd64-agp.c dev_info(&agp->dev, "aperture from AGP @ %Lx size %u MB\n", agp 101 drivers/char/agp/backend.c static const struct { int mem, agp; } maxes_table[] = { agp 127 drivers/char/agp/backend.c result = maxes_table[index - 1].agp + agp 129 drivers/char/agp/backend.c (maxes_table[index].agp - maxes_table[index - 1].agp)) / agp 776 drivers/char/agp/generic.c u8 agp = pci_find_capability(device, PCI_CAP_ID_AGP); agp 777 drivers/char/agp/generic.c if (!agp) agp 782 drivers/char/agp/generic.c pci_write_config_dword(device, agp + PCI_AGP_COMMAND, bridge_agpstat); agp 90 drivers/char/agp/sis-agp.c u8 agp = pci_find_capability(device, PCI_CAP_ID_AGP); agp 91 drivers/char/agp/sis-agp.c if (!agp) agp 97 drivers/char/agp/sis-agp.c pci_write_config_dword(device, agp + PCI_AGP_COMMAND, command); agp 293 drivers/char/agp/uninorth-agp.c u8 agp; agp 317 drivers/char/agp/uninorth-agp.c agp = pci_find_capability(device, PCI_CAP_ID_AGP); agp 318 drivers/char/agp/uninorth-agp.c if (!agp) agp 320 drivers/char/agp/uninorth-agp.c pci_read_config_dword(device, agp + PCI_AGP_COMMAND, &cmd); agp 326 drivers/char/agp/uninorth-agp.c pci_write_config_dword(device, agp + PCI_AGP_COMMAND, cmd); agp 330 drivers/char/agp/uninorth-agp.c agp = pci_find_capability(pdev, PCI_CAP_ID_AGP); agp 331 drivers/char/agp/uninorth-agp.c pci_read_config_dword(pdev, agp + PCI_AGP_COMMAND, &cmd); agp 336 drivers/char/agp/uninorth-agp.c pci_write_config_dword(pdev, agp + PCI_AGP_COMMAND, cmd); agp 81 drivers/gpio/gpio-amd8111.c struct amd_gpio *agp = gpiochip_get_data(chip); agp 83 drivers/gpio/gpio-amd8111.c agp->orig[offset] = ioread8(agp->pm + AMD_REG_GPIO(offset)) & agp 86 drivers/gpio/gpio-amd8111.c dev_dbg(&agp->pdev->dev, "Requested gpio %d, data %x\n", offset, agp->orig[offset]); agp 93 drivers/gpio/gpio-amd8111.c struct amd_gpio *agp = gpiochip_get_data(chip); agp 95 drivers/gpio/gpio-amd8111.c dev_dbg(&agp->pdev->dev, "Freed gpio %d, data %x\n", offset, agp->orig[offset]); agp 97 drivers/gpio/gpio-amd8111.c iowrite8(agp->orig[offset], agp->pm + AMD_REG_GPIO(offset)); agp 102 drivers/gpio/gpio-amd8111.c struct amd_gpio *agp = gpiochip_get_data(chip); agp 106 drivers/gpio/gpio-amd8111.c spin_lock_irqsave(&agp->lock, flags); agp 107 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); agp 109 drivers/gpio/gpio-amd8111.c iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); agp 110 drivers/gpio/gpio-amd8111.c spin_unlock_irqrestore(&agp->lock, flags); agp 112 drivers/gpio/gpio-amd8111.c dev_dbg(&agp->pdev->dev, "Setting gpio %d, value %d, reg=%02x\n", offset, !!value, temp); agp 117 drivers/gpio/gpio-amd8111.c struct amd_gpio *agp = gpiochip_get_data(chip); agp 120 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); agp 122 drivers/gpio/gpio-amd8111.c dev_dbg(&agp->pdev->dev, "Getting gpio %d, reg=%02x\n", offset, temp); agp 129 drivers/gpio/gpio-amd8111.c struct amd_gpio *agp = gpiochip_get_data(chip); agp 133 drivers/gpio/gpio-amd8111.c spin_lock_irqsave(&agp->lock, flags); agp 134 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); agp 136 drivers/gpio/gpio-amd8111.c iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); agp 137 drivers/gpio/gpio-amd8111.c spin_unlock_irqrestore(&agp->lock, flags); agp 139 drivers/gpio/gpio-amd8111.c dev_dbg(&agp->pdev->dev, "Dirout gpio %d, value %d, reg=%02x\n", offset, !!value, temp); agp 146 drivers/gpio/gpio-amd8111.c struct amd_gpio *agp = gpiochip_get_data(chip); agp 150 drivers/gpio/gpio-amd8111.c spin_lock_irqsave(&agp->lock, flags); agp 151 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); agp 153 drivers/gpio/gpio-amd8111.c iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); agp 154 drivers/gpio/gpio-amd8111.c spin_unlock_irqrestore(&agp->lock, flags); agp 156 drivers/gpio/gpio-amd8111.c dev_dbg(&agp->pdev->dev, "Dirin gpio %d, reg=%02x\n", offset, temp); agp 64 drivers/gpu/drm/drm_agpsupport.c if (!dev->agp || !dev->agp->acquired) agp 67 drivers/gpu/drm/drm_agpsupport.c kern = &dev->agp->agp_info; agp 106 drivers/gpu/drm/drm_agpsupport.c if (!dev->agp) agp 108 drivers/gpu/drm/drm_agpsupport.c if (dev->agp->acquired) agp 110 drivers/gpu/drm/drm_agpsupport.c dev->agp->bridge = agp_backend_acquire(dev->pdev); agp 111 drivers/gpu/drm/drm_agpsupport.c if (!dev->agp->bridge) agp 113 drivers/gpu/drm/drm_agpsupport.c dev->agp->acquired = 1; agp 146 drivers/gpu/drm/drm_agpsupport.c if (!dev->agp || !dev->agp->acquired) agp 148 drivers/gpu/drm/drm_agpsupport.c agp_backend_release(dev->agp->bridge); agp 149 drivers/gpu/drm/drm_agpsupport.c dev->agp->acquired = 0; agp 172 drivers/gpu/drm/drm_agpsupport.c if (!dev->agp || !dev->agp->acquired) agp 175 drivers/gpu/drm/drm_agpsupport.c dev->agp->mode = mode.mode; agp 176 drivers/gpu/drm/drm_agpsupport.c agp_enable(dev->agp->bridge, mode.mode); agp 177 drivers/gpu/drm/drm_agpsupport.c dev->agp->enabled = 1; agp 209 drivers/gpu/drm/drm_agpsupport.c if (!dev->agp || !dev->agp->acquired) agp 217 drivers/gpu/drm/drm_agpsupport.c memory = agp_allocate_memory(dev->agp->bridge, pages, type); agp 227 drivers/gpu/drm/drm_agpsupport.c list_add(&entry->head, &dev->agp->memory); agp 259 drivers/gpu/drm/drm_agpsupport.c list_for_each_entry(entry, &dev->agp->memory, head) { agp 283 drivers/gpu/drm/drm_agpsupport.c if (!dev->agp || !dev->agp->acquired) agp 323 drivers/gpu/drm/drm_agpsupport.c if (!dev->agp || !dev->agp->acquired) agp 332 drivers/gpu/drm/drm_agpsupport.c entry->bound = dev->agp->base + (page << PAGE_SHIFT); agp 334 drivers/gpu/drm/drm_agpsupport.c dev->agp->base, entry->bound); agp 366 drivers/gpu/drm/drm_agpsupport.c if (!dev->agp || !dev->agp->acquired) agp 449 drivers/gpu/drm/drm_agpsupport.c if (!dev->agp) agp 454 drivers/gpu/drm/drm_agpsupport.c list_for_each_entry_safe(entry, tempe, &dev->agp->memory, head) { agp 460 drivers/gpu/drm/drm_agpsupport.c INIT_LIST_HEAD(&dev->agp->memory); agp 462 drivers/gpu/drm/drm_agpsupport.c if (dev->agp->acquired) agp 465 drivers/gpu/drm/drm_agpsupport.c dev->agp->acquired = 0; agp 466 drivers/gpu/drm/drm_agpsupport.c dev->agp->enabled = 0; agp 273 drivers/gpu/drm/drm_bufs.c if (!dev->agp) { agp 286 drivers/gpu/drm/drm_bufs.c if (map->offset < dev->agp->base || agp 287 drivers/gpu/drm/drm_bufs.c map->offset > dev->agp->base + agp 288 drivers/gpu/drm/drm_bufs.c dev->agp->agp_info.aper_size * 1024 * 1024 - 1) { agp 289 drivers/gpu/drm/drm_bufs.c map->offset += dev->agp->base; agp 291 drivers/gpu/drm/drm_bufs.c map->mtrr = dev->agp->agp_mtrr; /* for getmap */ agp 299 drivers/gpu/drm/drm_bufs.c list_for_each_entry(entry, &dev->agp->memory, head) { agp 306 drivers/gpu/drm/drm_bufs.c if (!list_empty(&dev->agp->memory) && !valid) { agp 742 drivers/gpu/drm/drm_bufs.c agp_offset = dev->agp->base + request->agp_start; agp 757 drivers/gpu/drm/drm_bufs.c list_for_each_entry(agp_entry, &dev->agp->memory, head) { agp 764 drivers/gpu/drm/drm_bufs.c if (!list_empty(&dev->agp->memory) && !valid) { agp 1511 drivers/gpu/drm/drm_bufs.c if ((dev->agp && (dma->flags & _DRM_DMA_USE_AGP)) agp 1039 drivers/gpu/drm/drm_drv.c if (dev->agp) agp 75 drivers/gpu/drm/drm_memory.c list_for_each_entry(agpmem, &dev->agp->memory, head) agp 80 drivers/gpu/drm/drm_memory.c if (&agpmem->head == &dev->agp->memory) agp 131 drivers/gpu/drm/drm_memory.c if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) agp 140 drivers/gpu/drm/drm_memory.c if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) agp 152 drivers/gpu/drm/drm_memory.c if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) agp 187 drivers/gpu/drm/drm_pci.c dev->agp = drm_agp_init(dev); agp 188 drivers/gpu/drm/drm_pci.c if (dev->agp) { agp 189 drivers/gpu/drm/drm_pci.c dev->agp->agp_mtrr = arch_phys_wc_add( agp 190 drivers/gpu/drm/drm_pci.c dev->agp->agp_info.aper_base, agp 191 drivers/gpu/drm/drm_pci.c dev->agp->agp_info.aper_size * agp 199 drivers/gpu/drm/drm_pci.c if (dev->agp) { agp 200 drivers/gpu/drm/drm_pci.c arch_phys_wc_del(dev->agp->agp_mtrr); agp 202 drivers/gpu/drm/drm_pci.c kfree(dev->agp); agp 203 drivers/gpu/drm/drm_pci.c dev->agp = NULL; agp 128 drivers/gpu/drm/drm_vm.c if (!dev->agp) agp 131 drivers/gpu/drm/drm_vm.c if (!dev->agp || !dev->agp->cant_use_aperture) agp 160 drivers/gpu/drm/drm_vm.c list_for_each_entry(agpmem, &dev->agp->memory, head) { agp 166 drivers/gpu/drm/drm_vm.c if (&agpmem->head == &dev->agp->memory) agp 551 drivers/gpu/drm/drm_vm.c && (!dev->agp agp 552 drivers/gpu/drm/drm_vm.c || dev->agp->agp_info.device->vendor != PCI_VENDOR_ID_APPLE) agp 588 drivers/gpu/drm/drm_vm.c if (dev->agp && dev->agp->cant_use_aperture) { agp 365 drivers/gpu/drm/i810/i810_dma.c dev_priv->ring.map.offset = dev->agp->base + init->ring_start; agp 722 drivers/gpu/drm/i810/i810_dma.c unsigned long start = address - dev->agp->base; agp 1041 drivers/gpu/drm/i810/i810_dma.c unsigned long start = address - dev->agp->base; agp 1200 drivers/gpu/drm/i810/i810_dma.c dev->agp = drm_agp_init(dev); agp 1201 drivers/gpu/drm/i810/i810_dma.c if (dev->agp) { agp 1202 drivers/gpu/drm/i810/i810_dma.c dev->agp->agp_mtrr = arch_phys_wc_add( agp 1203 drivers/gpu/drm/i810/i810_dma.c dev->agp->agp_info.aper_base, agp 1204 drivers/gpu/drm/i810/i810_dma.c dev->agp->agp_info.aper_size * agp 1209 drivers/gpu/drm/i810/i810_dma.c if (!dev->agp) agp 406 drivers/gpu/drm/mga/mga_dma.c && dev->agp) { agp 409 drivers/gpu/drm/mga/mga_dma.c arch_phys_wc_del(dev->agp->agp_mtrr); agp 410 drivers/gpu/drm/mga/mga_dma.c kfree(dev->agp); agp 411 drivers/gpu/drm/mga/mga_dma.c dev->agp = NULL; agp 719 drivers/gpu/drm/mga/mga_dma.c const int is_agp = (dma_bs->agp_mode != 0) && dev->agp; agp 984 drivers/gpu/drm/mga/mga_dma.c if ((dev->agp != NULL) && dev->agp->acquired) agp 26 drivers/gpu/drm/nouveau/include/nvkm/subdev/pci.h } agp; agp 558 drivers/gpu/drm/nouveau/nouveau_abi16.c if (drm->agp.bridge) { agp 561 drivers/gpu/drm/nouveau/nouveau_abi16.c args.start += drm->agp.base + chan->ntfy->bo.offset; agp 562 drivers/gpu/drm/nouveau/nouveau_abi16.c args.limit += drm->agp.base + chan->ntfy->bo.offset; agp 641 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->agp.bridge) { agp 642 drivers/gpu/drm/nouveau/nouveau_bo.c return ttm_agp_tt_create(bo, drm->agp.bridge, page_flags); agp 695 drivers/gpu/drm/nouveau/nouveau_bo.c if (!drm->agp.bridge) agp 700 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->agp.bridge) { agp 1458 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->agp.bridge) { agp 1460 drivers/gpu/drm/nouveau/nouveau_bo.c reg->bus.base = drm->agp.base; agp 1461 drivers/gpu/drm/nouveau/nouveau_bo.c reg->bus.is_iomem = !drm->agp.cma; agp 1608 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->agp.bridge) { agp 1661 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->agp.bridge) { agp 201 drivers/gpu/drm/nouveau/nouveau_chan.c if (chan->drm->agp.bridge) { agp 204 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = chan->drm->agp.base; agp 205 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = chan->drm->agp.base + agp 206 drivers/gpu/drm/nouveau/nouveau_chan.c chan->drm->agp.size - 1; agp 402 drivers/gpu/drm/nouveau/nouveau_chan.c if (chan->drm->agp.bridge) { agp 405 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = chan->drm->agp.base; agp 406 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = chan->drm->agp.base + agp 407 drivers/gpu/drm/nouveau/nouveau_chan.c chan->drm->agp.size - 1; agp 148 drivers/gpu/drm/nouveau/nouveau_drv.h } agp; agp 225 drivers/gpu/drm/nouveau/nouveau_ttm.c if (pci && pci->agp.bridge) { agp 226 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->agp.bridge = pci->agp.bridge; agp 227 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->agp.base = pci->agp.base; agp 228 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->agp.size = pci->agp.size; agp 229 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->agp.cma = pci->agp.cma; agp 258 drivers/gpu/drm/nouveau/nouveau_ttm.c if (!drm->agp.bridge) { agp 261 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->gem.gart_available = drm->agp.size; agp 1683 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c if (pdev->device.mmu && !pdev->device.pci->agp.bridge) agp 46 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c if (pci->agp.acquired) { agp 47 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c agp_backend_release(pci->agp.bridge); agp 48 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.acquired = false; agp 66 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c if ((mode | pci->agp.mode) & PCI_AGP_COMMAND_FW) { agp 67 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c mode = pci->agp.mode & ~PCI_AGP_COMMAND_FW; agp 68 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c agp_enable(pci->agp.bridge, mode); agp 92 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c agp_enable(pci->agp.bridge, pci->agp.mode); agp 93 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.acquired = true; agp 100 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c arch_phys_wc_del(pci->agp.mtrr); agp 125 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c if (!(pci->agp.bridge = agp_backend_acquire(pci->pdev))) { agp 129 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c agp_copy_info(pci->agp.bridge, &info); agp 130 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c agp_backend_release(pci->agp.bridge); agp 132 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mode = info.mode; agp 133 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.base = info.aper_base; agp 134 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.size = info.aper_size * 1024 * 1024; agp 135 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.cma = info.cant_use_aperture; agp 136 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mtrr = -1; agp 157 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c if (pci->agp.mode & 0x00000008) agp 159 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mode &= ~0x00000007; agp 160 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mode |= (mode & 0x7); agp 163 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.bridge = NULL; agp 171 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mode &= ~PCI_AGP_COMMAND_FW; agp 173 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mtrr = arch_phys_wc_add(pci->agp.base, pci->agp.size); agp 91 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->agp.bridge) agp 101 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->agp.bridge) agp 133 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->agp.bridge) { agp 323 drivers/gpu/drm/r128/r128_cce.c ring_start = dev_priv->cce_ring->offset - dev->agp->base; agp 541 drivers/gpu/drm/r128/r128_cce.c dev_priv->cce_buffers_offset = dev->agp->base; agp 156 drivers/gpu/drm/radeon/radeon_agp.c if (rdev->ddev->agp->agp_info.aper_size < 32) { agp 160 drivers/gpu/drm/radeon/radeon_agp.c rdev->ddev->agp->agp_info.aper_size); agp 248 drivers/gpu/drm/radeon/radeon_agp.c rdev->mc.agp_base = rdev->ddev->agp->agp_info.aper_base; agp 249 drivers/gpu/drm/radeon/radeon_agp.c rdev->mc.gtt_size = rdev->ddev->agp->agp_info.aper_size << 20; agp 280 drivers/gpu/drm/radeon/radeon_agp.c if (rdev->ddev->agp && rdev->ddev->agp->acquired) { agp 386 drivers/gpu/drm/radeon/radeon_drv.c dev->agp = drm_agp_init(dev); agp 387 drivers/gpu/drm/radeon/radeon_drv.c if (dev->agp) { agp 388 drivers/gpu/drm/radeon/radeon_drv.c dev->agp->agp_mtrr = arch_phys_wc_add( agp 389 drivers/gpu/drm/radeon/radeon_drv.c dev->agp->agp_info.aper_base, agp 390 drivers/gpu/drm/radeon/radeon_drv.c dev->agp->agp_info.aper_size * agp 401 drivers/gpu/drm/radeon/radeon_drv.c if (dev->agp) agp 402 drivers/gpu/drm/radeon/radeon_drv.c arch_phys_wc_del(dev->agp->agp_mtrr); agp 403 drivers/gpu/drm/radeon/radeon_drv.c kfree(dev->agp); agp 81 drivers/gpu/drm/radeon/radeon_kms.c if (dev->agp) agp 82 drivers/gpu/drm/radeon/radeon_kms.c arch_phys_wc_del(dev->agp->agp_mtrr); agp 83 drivers/gpu/drm/radeon/radeon_kms.c kfree(dev->agp); agp 84 drivers/gpu/drm/radeon/radeon_kms.c dev->agp = NULL; agp 96 drivers/gpu/drm/radeon/radeon_ttm.c if (!rdev->ddev->agp) { agp 101 drivers/gpu/drm/radeon/radeon_ttm.c if (!rdev->ddev->agp->cant_use_aperture) agp 424 drivers/gpu/drm/radeon/radeon_ttm.c mem->bus.is_iomem = !rdev->ddev->agp->cant_use_aperture; agp 641 drivers/gpu/drm/radeon/radeon_ttm.c return ttm_agp_tt_create(bo, rdev->ddev->agp->bridge, agp 204 drivers/gpu/drm/sis/sis_mm.c drm_sis_agp_t *agp = data; agp 208 drivers/gpu/drm/sis/sis_mm.c drm_mm_init(&dev_priv->agp_mm, 0, agp->size >> SIS_MM_ALIGN_SHIFT); agp 211 drivers/gpu/drm/sis/sis_mm.c dev_priv->agp_offset = agp->offset; agp 214 drivers/gpu/drm/sis/sis_mm.c DRM_DEBUG("offset = %lu, size = %lu\n", agp->offset, agp->size); agp 194 drivers/gpu/drm/via/via_dma.c if (!dev->agp || !dev->agp->base) { agp 204 drivers/gpu/drm/via/via_dma.c dev_priv->ring.map.offset = dev->agp->base + init->offset; agp 47 drivers/gpu/drm/via/via_mm.c drm_via_agp_t *agp = data; agp 51 drivers/gpu/drm/via/via_mm.c drm_mm_init(&dev_priv->agp_mm, 0, agp->size >> VIA_MM_ALIGN_SHIFT); agp 54 drivers/gpu/drm/via/via_mm.c dev_priv->agp_offset = agp->offset; agp 57 drivers/gpu/drm/via/via_mm.c DRM_DEBUG("offset = %u, size = %u\n", agp->offset, agp->size); agp 556 drivers/gpu/drm/via/via_verifier.c if (cur_seq->agp && ((bcmd & (0xF << 11)) == 0)) { agp 614 drivers/gpu/drm/via/via_verifier.c if (cur_seq->agp && ((buf - cur_seq->buf_start) & 0x01)) { agp 964 drivers/gpu/drm/via/via_verifier.c struct drm_device * dev, int agp) agp 984 drivers/gpu/drm/via/via_verifier.c hc_state->agp = agp; agp 53 drivers/gpu/drm/via/via_verifier.h int agp; agp 58 drivers/gpu/drm/via/via_verifier.h struct drm_device *dev, int agp); agp 132 fs/xfs/xfs_filestream.c xfs_agnumber_t *agp, agp 149 fs/xfs/xfs_filestream.c *agp = NULLAGNUMBER; agp 199 fs/xfs/xfs_filestream.c *agp = ag; agp 234 fs/xfs/xfs_filestream.c *agp = max_ag; agp 239 fs/xfs/xfs_filestream.c trace_xfs_filestream_pick(ip, *agp, free, nscan); agp 240 fs/xfs/xfs_filestream.c *agp = 0; agp 244 fs/xfs/xfs_filestream.c trace_xfs_filestream_pick(ip, *agp, free, nscan); agp 246 fs/xfs/xfs_filestream.c if (*agp == NULLAGNUMBER) agp 254 fs/xfs/xfs_filestream.c item->ag = *agp; agp 268 fs/xfs/xfs_filestream.c xfs_filestream_put_ag(mp, *agp); agp 354 fs/xfs/xfs_filestream.c xfs_agnumber_t *agp) agp 364 fs/xfs/xfs_filestream.c *agp = NULLAGNUMBER; agp 382 fs/xfs/xfs_filestream.c err = xfs_filestream_pick_ag(pip, startag, agp, flags, minlen); agp 392 fs/xfs/xfs_filestream.c if (*agp == NULLAGNUMBER) agp 393 fs/xfs/xfs_filestream.c *agp = 0; agp 17 fs/xfs/xfs_filestream.h int xfs_filestream_new_ag(struct xfs_bmalloca *ap, xfs_agnumber_t *agp); agp 266 include/drm/drm_device.h struct drm_agp_head *agp;