Lines Matching refs:gatt
55 struct agp_gatt *gatt; member
162 struct agp_gatt *gatt; in agp_via_attach() local
184 gatt = agp_alloc_gatt(dev); in agp_via_attach()
185 if (gatt) in agp_via_attach()
197 sc->gatt = gatt; in agp_via_attach()
201 pci_write_config(dev, sc->regs[REG_ATTBASE], gatt->ag_physical | 3, 4); in agp_via_attach()
209 pci_write_config(dev, sc->regs[REG_ATTBASE], gatt->ag_physical, 4); in agp_via_attach()
232 agp_free_gatt(sc->gatt); in agp_via_detach()
354 if (offset >= (sc->gatt->ag_entries << AGP_PAGE_SHIFT)) in agp_via_bind_page()
357 sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical; in agp_via_bind_page()
366 if (offset >= (sc->gatt->ag_entries << AGP_PAGE_SHIFT)) in agp_via_unbind_page()
369 sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = 0; in agp_via_unbind_page()