Searched refs:gatt (Results 1 - 10 of 10) sorted by relevance

/netbsd-current/sys/dev/pci/
H A Dagp_amd.c62 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) {
111 free(gatt, M_AG
172 struct agp_amd_gatt *gatt; local
[all...]
H A Dagp_sis.c52 struct agp_gatt *gatt; member in struct:agp_sis_softc
80 struct agp_gatt *gatt; local
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...]
H A Dagp_ali.c52 struct agp_gatt *gatt; member in struct:agp_ali_softc
81 struct agp_gatt *gatt; local
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...]
H A Dagp_apple.c76 struct agp_gatt *gatt; member in struct:agp_apple_softc
85 struct agp_gatt *gatt; local
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
[all...]
H A Dagp_intel.c53 struct agp_gatt *gatt; member in struct:agp_intel_softc
113 struct agp_gatt *gatt; local
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
198 /* Install the gatt
[all...]
H A Dagp_via.c72 struct agp_gatt *gatt; member in struct:agp_via_softc
91 struct agp_gatt *gatt; local
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...]
H A Dagp_amd64.c79 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...]
H A Dagp_i810var.h58 struct agp_gatt *gatt; /* i810-only OS-allocated GTT */ member in struct:agp_i810_softc
H A Dagp.c407 struct agp_gatt *gatt; local
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
430 agp_free_gatt(struct agp_softc *sc, struct agp_gatt *gatt) argument
[all...]
H A Dagp_i810.c805 struct agp_gatt *gatt; local
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
[all...]

Completed in 182 milliseconds