Lines Matching refs:gatt
805 struct agp_gatt *gatt;
815 /* According to the specs the gatt on the i810 must be 64k */
817 gatt = malloc(sizeof(*gatt), M_AGP, M_WAITOK);
818 gatt->ag_entries = isc->gtt_size / sizeof(uint32_t);
820 0, &gatt->ag_dmamap, &virtual, &gatt->ag_physical,
821 &gatt->ag_dmaseg, 1, &dummyseg);
825 free(gatt, M_AGP);
829 gatt->ag_virtual = (uint32_t *)virtual;
830 gatt->ag_size = gatt->ag_entries * sizeof(uint32_t);
831 memset(gatt->ag_virtual, 0, gatt->ag_size);
835 isc->pgtblctl = gatt->ag_physical | 1;
837 isc->gatt = gatt;
839 /* The i830 automatically initializes the 128k gatt on boot. */
1132 agp_free_dmamem(sc->as_dmat, gatt->ag_size, gatt->ag_dmamap,
1133 (void *)gatt->ag_virtual, &gatt->ag_dmaseg, 1);
1134 free(isc->gatt, M_AGP);