Searched refs:ag_vdir (Results 1 – 2 of 2) sorted by relevance
71 u_int32_t *ag_vdir; /* virtual address of page dir */ member141 sc->ag_vdir = kmem_alloc_attr(AGP_PAGE_SIZE, M_NOWAIT | M_ZERO, in agp_ati_alloc_gatt()143 if (sc->ag_vdir == NULL) { in agp_ati_alloc_gatt()149 sc->ag_pdir = vtophys((vm_offset_t)sc->ag_vdir); in agp_ati_alloc_gatt()159 sc->ag_vdir[apbase_offset + i] = pa | 1; in agp_ati_alloc_gatt()262 kmem_free(sc->ag_vdir, AGP_PAGE_SIZE); in agp_ati_detach()
64 u_int32_t *ag_vdir; /* virtual address of page dir */ member113 gatt->ag_vdir = kmem_alloc_attr(AGP_PAGE_SIZE, M_NOWAIT | in agp_amd_alloc_gatt()115 if (!gatt->ag_vdir) { in agp_amd_alloc_gatt()124 gatt->ag_pdir = vtophys((vm_offset_t) gatt->ag_vdir); in agp_amd_alloc_gatt()158 gatt->ag_vdir[i + pdir_offset] = pa | 1; in agp_amd_alloc_gatt()167 kmem_free(gatt->ag_vdir, AGP_PAGE_SIZE); in agp_amd_free_gatt()