/src/sys/dev/pci/ |
agp_sis.c | 52 struct agp_gatt *gatt; member in struct:agp_sis_softc 80 struct agp_gatt *gatt; local in function:agp_sis_attach 98 gatt = agp_alloc_gatt(sc); 99 if (gatt) 104 * aperture so that the gatt size reduces. 112 ssc->gatt = gatt; 114 /* Install the gatt. */ 116 gatt->ag_physical); 146 agp_free_gatt(sc, ssc->gatt); [all...] |
agp_ali.c | 52 struct agp_gatt *gatt; member in struct:agp_ali_softc 81 struct agp_gatt *gatt; local in function:agp_ali_attach 100 gatt = agp_alloc_gatt(sc); 101 if (gatt != NULL) 106 * aperture so that the gatt size reduces. 114 asc->gatt = gatt; 116 /* Install the gatt. */ 118 reg = (reg & 0xfff) | (gatt->ag_physical & ~0xfff); 153 agp_free_gatt(sc, asc->gatt); [all...] |
agp_i810var.h | 58 struct agp_gatt *gatt; /* i810-only OS-allocated GTT */ member in struct:agp_i810_softc
|
agp_apple.c | 76 struct agp_gatt *gatt; member in struct:agp_apple_softc 85 struct agp_gatt *gatt; local in function:agp_apple_attach 103 gatt = agp_alloc_gatt(sc); 104 if (gatt) 112 asc->gatt = gatt; 114 /* Install the gatt. */ 115 aprint_error("gatt: %08jx %ju MB\n", (uintmax_t)gatt->ag_physical, 118 (gatt->ag_physical & 0xfffff000) [all...] |
agp_intel.c | 53 struct agp_gatt *gatt; member in struct:agp_intel_softc 113 struct agp_gatt *gatt; local in function:agp_intel_attach 169 gatt = agp_alloc_gatt(sc); 170 if (gatt) 175 * aperture so that the gatt size reduces. 183 isc->gatt = gatt; 195 struct agp_gatt *gatt = isc->gatt; local in function:agp_intel_init 198 /* Install the gatt. * [all...] |
agp_via.c | 72 struct agp_gatt *gatt; member in struct:agp_via_softc 91 struct agp_gatt *gatt; local in function:agp_via_attach 123 gatt = agp_alloc_gatt(sc); 124 if (gatt) 129 * aperture so that the gatt size reduces. 137 asc->gatt = gatt; 140 /* Install the gatt. */ 142 gatt->ag_physical | 3); 148 /* Install the gatt. * [all...] |
agp_amd.c | 62 u_int32_t *ag_virtual; /* virtual address of gatt */ 63 bus_addr_t ag_physical; /* bus address of gatt */ 69 struct agp_amd_gatt *gatt; member in struct:agp_amd_softc 100 struct agp_amd_gatt *gatt; local in function:agp_amd_alloc_gatt 104 gatt = malloc(sizeof(struct agp_amd_gatt), M_AGP, M_WAITOK); 108 &gatt->ag_dmamap, &vdir, &gatt->ag_pdir, 109 &gatt->ag_dmaseg, 1, &gatt->ag_nseg) != 0) { 110 printf("failed to allocate GATT\n") 172 struct agp_amd_gatt *gatt; local in function:agp_amd_attach [all...] |
agp_amd64.c | 79 struct agp_gatt *gatt; member in struct:agp_amd64_softc 205 struct agp_gatt *gatt; local in function:agp_amd64_attach 248 gatt = agp_alloc_gatt(sc); 249 if (gatt) 254 * aperture so that the gatt size reduces. 261 asc->gatt = gatt; 298 /* Install the gatt and enable aperture. */ 299 attbase = (uint32_t)(gatt->ag_physical >> 8) & AGP_AMD64_ATTBASE_MASK; 317 fail2: agp_free_gatt(sc, gatt); [all...] |
agp.c | 407 struct agp_gatt *gatt; local in function:agp_alloc_gatt 411 gatt = malloc(sizeof(struct agp_gatt), M_AGP, M_WAITOK); 412 gatt->ag_entries = entries; 415 0, &gatt->ag_dmamap, &virtual, &gatt->ag_physical, 416 &gatt->ag_dmaseg, 1, &dummyseg) != 0) { 417 free(gatt, M_AGP); 420 gatt->ag_virtual = (uint32_t *)virtual; 422 gatt->ag_size = entries * sizeof(u_int32_t); 423 memset(gatt->ag_virtual, 0, gatt->ag_size) [all...] |
agp_i810.c | 805 struct agp_gatt *gatt; local in function:agp_i810_init 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 [all...] |