Searched refs:aperture (Results 1 - 16 of 16) sorted by relevance

/freebsd-10.1-release/sys/dev/agp/
H A Dagp_apple.c62 uint32_t aperture; member in struct:agp_apple_softc
131 /* Set the aperture bus address base (must be 0) */
139 sc->aperture = 256*1024*1024;
141 for (sc->aperture = 256*1024*1024; sc->aperture >= 4*1024*1024;
142 sc->aperture /= 2) {
147 if (sc->aperture < 4*1024*1024) {
153 AGP_SET_APERTURE(dev, sc->aperture);
157 /* Enable the aperture and TLB. */
170 /* Disable the aperture an
196 agp_apple_set_aperture(device_t dev, uint32_t aperture) argument
[all...]
H A Dagp_amd64.c199 * aperture so that the gatt size reduces.
232 /* Install the gatt and enable aperture. */
298 agp_amd64_set_aperture(device_t dev, uint32_t aperture) argument
305 if (agp_amd64_table[i] == aperture)
317 return (agp_amd64_uli_set_aperture(dev, aperture));
321 return (agp_amd64_nvidia_set_aperture(dev, aperture));
326 return (agp_amd64_via_set_aperture(dev, aperture));
399 agp_amd64_uli_set_aperture(device_t dev, uint32_t aperture) argument
403 switch (aperture) {
414 sc->apbase + aperture
433 agp_amd64_nvidia_set_aperture(device_t dev, uint32_t aperture) argument
471 agp_amd64_via_set_aperture(device_t dev, uint32_t aperture) argument
[all...]
H A Dagp_sis.c51 u_int32_t initial_aperture; /* aperture size at startup */
145 * aperture so that the gatt size reduces.
157 /* Enable the aperture. */
177 /* Disable the aperture.. */
184 /* Put the aperture back the way it started. */
198 * The aperture size is equal to 4M<<gws.
205 agp_sis_set_aperture(device_t dev, u_int32_t aperture) argument
213 if (aperture & (aperture - 1)
214 || aperture <
[all...]
H A Dagp_amd.c72 u_int32_t initial_aperture; /* aperture size at startup */
86 "allocating GATT for aperture of size %dM\n",
142 * an amount dependent on the base address of the aperture. This
246 * aperture so that the gatt size reduces.
291 /* Put the aperture back the way it started. */
309 * The aperture size is equal to 32M<<vas.
316 agp_amd_set_aperture(device_t dev, u_int32_t aperture) argument
324 if (aperture & (aperture - 1)
325 || aperture < 3
[all...]
H A Dagppriv.h68 struct resource *as_aperture; /* location of aperture */
97 u_int32_t aperture);
H A Dagp_via.c55 u_int32_t initial_aperture; /* aperture size at startup */
191 * aperture so that the gatt size reduces.
204 /* Enable the aperture. */
212 /* Enable the aperture. */
217 device_printf(dev, "aperture size is %dM\n",
253 * to be zero. We calculate the aperture size accordingly.
280 device_printf(dev, "Invalid aperture setting 0x%x\n",
288 agp_via_set_aperture(device_t dev, u_int32_t aperture) argument
297 apsize = ((aperture - 1) >> 20) ^ 0xff;
302 if ((((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1 != aperture)
[all...]
H A Dagp_intel.c53 u_int32_t initial_aperture; /* aperture size at startup */
56 u_int32_t current_aperture; /* current aperture size */
159 /* Enable aperture accesses. */
229 /* Determine maximum supported aperture size. */
244 * aperture so that the gatt size reduces.
268 /* Disable aperture accesses. */
334 * to be zero. We calculate the aperture size accordingly.
340 agp_intel_set_aperture(device_t dev, u_int32_t aperture) argument
350 apsize = ((aperture - 1) >> 22) ^ sc->aperture_mask;
355 if ((((apsize ^ sc->aperture_mask) << 22) | ((1 << 22) - 1)) + 1 != aperture)
[all...]
H A Dagp_ali.c51 u_int32_t initial_aperture; /* aperture size at startup */
107 device_printf(dev, "bad initial aperture size, disabling\n");
118 * aperture so that the gatt size reduces.
149 /* Put the aperture back the way it started. */
180 * The aperture size is derived from the low bits of attbase.
190 agp_ali_set_aperture(device_t dev, u_int32_t aperture) argument
196 if (agp_ali_table[i] == aperture)
H A Dagp_nvidia.c71 u_int32_t initial_aperture; /* aperture size at startup */
191 * aperture so that the gatt size reduces.
260 /* Put the aperture back the way it started. */
263 /* restore iorr for previous aperture size */
283 device_printf(dev, "Invalid aperture setting 0x%x\n",
290 agp_nvidia_set_aperture(device_t dev, u_int32_t aperture) argument
295 switch (aperture) {
302 device_printf(dev, "Invalid aperture size (%dMb)\n",
303 aperture / 1024 / 1024);
H A Dagp_i810.c148 static int agp_i810_set_aperture(device_t dev, u_int32_t aperture);
149 static int agp_i830_set_aperture(device_t dev, u_int32_t aperture);
150 static int agp_i915_set_aperture(device_t dev, u_int32_t aperture);
206 u_int32_t initial_aperture; /* aperture size at startup */
1016 * Stolen memory is set up at the beginning of the aperture by
1477 device_printf(dev, "aperture size is %dM",
1528 /* Put the aperture back the way it started. */
1554 * Sets the PCI resource size of the aperture on i830-class and below chipsets,
1559 * reconfigure the placement of the AGP aperture if a larger size is requested,
1563 agp_i810_set_aperture(device_t dev, u_int32_t aperture) argument
1589 agp_i830_set_aperture(device_t dev, u_int32_t aperture) argument
1613 agp_i915_set_aperture(device_t dev, u_int32_t aperture) argument
1620 agp_i810_method_set_aperture(device_t dev, u_int32_t aperture) argument
[all...]
H A Dagp_ati.c64 u_int32_t initial_aperture; /* aperture size at startup */
136 device_printf(dev, "aperture allocation failed\n");
222 * aperture so that the gatt size reduces.
261 /* Put the aperture back the way it started. */
294 agp_ati_set_aperture(device_t dev, u_int32_t aperture) argument
308 size_value |= (ffs(aperture / (32 * 1024 * 1024)) - 1) << 1;
H A Dagp.c148 "allocating GATT for aperture of size %dM\n",
152 device_printf(dev, "bad aperture size\n");
198 * Sets the PCI resource which represents the AGP aperture.
200 * If not called, the default AGP aperture resource of AGP_APBASE will
219 * Find and map the aperture, RF_SHAREABLE for DRM but not RF_ACTIVE
296 * Default AGP aperture size detection which simply returns the size of
297 * the aperture's PCI resource.
308 * Default AGP aperture size setting function, which simply doesn't allow
312 agp_generic_set_aperture(device_t dev, u_int32_t aperture) argument
317 if (current_aperture != aperture)
[all...]
/freebsd-10.1-release/sys/dev/drm/
H A Dsavage_drv.h160 drm_local_map_t *aperture; member in struct:drm_savage_private
H A Dsavage_bci.c559 * and size of the aperture is not suitable for automatic MTRR setup
618 * aperture. */
650 &dev_priv->aperture);
/freebsd-10.1-release/sys/dev/cxgbe/common/
H A Dcommon.h72 uint32_t aperture; member in struct:memwin
/freebsd-10.1-release/sys/dev/cxgbe/
H A Dt4_main.c1654 V_WINDOW(ilog2(mw->aperture) - 10));
1788 memwin_info(struct adapter *sc, int win, uint32_t *base, uint32_t *aperture) argument
1804 if (aperture != NULL)
1805 *aperture = mw->aperture;

Completed in 194 milliseconds