HomeSort by: relevance | last modified time | path
    Searched refs:gatt (Results 1 - 11 of 11) sorted by relevancy

  /src/sys/dev/pci/
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
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
    [all...]
agp_sis.c 51 struct agp_gatt *gatt; member in struct:agp_sis_softc
79 struct agp_gatt *gatt; local
97 gatt = agp_alloc_gatt(sc);
98 if (gatt)
103 * aperture so that the gatt size reduces.
111 ssc->gatt = gatt;
113 /* Install the gatt. */
115 gatt->ag_physical);
145 agp_free_gatt(sc, ssc->gatt);
    [all...]
agp_ali.c 51 struct agp_gatt *gatt; member in struct:agp_ali_softc
80 struct agp_gatt *gatt; local
99 gatt = agp_alloc_gatt(sc);
100 if (gatt != NULL)
105 * aperture so that the gatt size reduces.
113 asc->gatt = gatt;
115 /* Install the gatt. */
117 reg = (reg & 0xfff) | (gatt->ag_physical & ~0xfff);
152 agp_free_gatt(sc, asc->gatt);
    [all...]
agp_apple.c 75 struct agp_gatt *gatt; member in struct:agp_apple_softc
84 struct agp_gatt *gatt; local
102 gatt = agp_alloc_gatt(sc);
103 if (gatt)
111 asc->gatt = gatt;
113 /* Install the gatt. */
114 aprint_error("gatt: %08jx %ju MB\n", (uintmax_t)gatt->ag_physical,
117 (gatt->ag_physical & 0xfffff000)
    [all...]
agp_intel.c 52 struct agp_gatt *gatt; member in struct:agp_intel_softc
112 struct agp_gatt *gatt; local
168 gatt = agp_alloc_gatt(sc);
169 if (gatt)
174 * aperture so that the gatt size reduces.
182 isc->gatt = gatt;
194 struct agp_gatt *gatt = isc->gatt; local
197 /* Install the gatt. *
    [all...]
agp_via.c 71 struct agp_gatt *gatt; member in struct:agp_via_softc
90 struct agp_gatt *gatt; local
122 gatt = agp_alloc_gatt(sc);
123 if (gatt)
128 * aperture so that the gatt size reduces.
136 asc->gatt = gatt;
139 /* Install the gatt. */
141 gatt->ag_physical | 3);
147 /* Install the gatt. *
    [all...]
agp_nvidia.c 63 struct agp_gatt * gatt; member in struct:agp_nvidia_softc
108 struct agp_gatt *gatt; local
144 gatt = agp_alloc_gatt(sc);
145 if (gatt)
150 * aperture so that the gatt size reduces.
158 nsc->gatt = gatt;
167 struct agp_gatt *gatt = nsc->gatt; local
203 (gatt->ag_physical + (i % nsc->num_dirs) * 64 * 1024) | 1)
    [all...]
agp_amd64.c 79 struct agp_gatt *gatt; member in struct:agp_amd64_softc
205 struct agp_gatt *gatt; local
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_i810var.h 57 struct agp_gatt *gatt; /* i810-only OS-allocated GTT */ member in struct:agp_i810_softc
agp.c 414 struct agp_gatt *gatt; local
418 gatt = malloc(sizeof(struct agp_gatt), M_AGP, M_WAITOK);
419 gatt->ag_entries = entries;
422 0, &gatt->ag_dmamap, &virtual, &gatt->ag_physical,
423 &gatt->ag_dmaseg, 1, &dummyseg) != 0) {
424 free(gatt, M_AGP);
427 gatt->ag_virtual = (uint32_t *)virtual;
429 gatt->ag_size = entries * sizeof(u_int32_t);
430 memset(gatt->ag_virtual, 0, gatt->ag_size)
    [all...]
agp_i810.c 804 struct agp_gatt *gatt; local
814 /* According to the specs the gatt on the i810 must be 64k */
816 gatt = malloc(sizeof(*gatt), M_AGP, M_WAITOK);
817 gatt->ag_entries = isc->gtt_size / sizeof(uint32_t);
819 0, &gatt->ag_dmamap, &virtual, &gatt->ag_physical,
820 &gatt->ag_dmaseg, 1, &dummyseg);
824 free(gatt, M_AGP);
828 gatt->ag_virtual = (uint32_t *)virtual
    [all...]

Completed in 52 milliseconds