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

/freebsd-9.3-release/sys/dev/agp/
H A Dagp_apple.c64 uint32_t aperture; member in struct:agp_apple_softc
133 /* Set the aperture bus address base (must be 0) */
141 sc->aperture = 256*1024*1024;
143 for (sc->aperture = 256*1024*1024; sc->aperture >= 4*1024*1024;
144 sc->aperture /= 2) {
149 if (sc->aperture < 4*1024*1024) {
155 AGP_SET_APERTURE(dev, sc->aperture);
159 /* Enable the aperture and TLB. */
172 /* Disable the aperture an
198 agp_apple_set_aperture(device_t dev, uint32_t aperture) argument
[all...]
H A Dagp_amd64.c201 * aperture so that the gatt size reduces.
234 /* Install the gatt and enable aperture. */
300 agp_amd64_set_aperture(device_t dev, uint32_t aperture) argument
307 if (agp_amd64_table[i] == aperture)
319 return (agp_amd64_uli_set_aperture(dev, aperture));
323 return (agp_amd64_nvidia_set_aperture(dev, aperture));
328 return (agp_amd64_via_set_aperture(dev, aperture));
401 agp_amd64_uli_set_aperture(device_t dev, uint32_t aperture) argument
405 switch (aperture) {
416 sc->apbase + aperture
435 agp_amd64_nvidia_set_aperture(device_t dev, uint32_t aperture) argument
473 agp_amd64_via_set_aperture(device_t dev, uint32_t aperture) argument
[all...]
H A Dagp_sis.c53 u_int32_t initial_aperture; /* aperture size at startup */
147 * aperture so that the gatt size reduces.
159 /* Enable the aperture. */
179 /* Disable the aperture.. */
186 /* Put the aperture back the way it started. */
200 * The aperture size is equal to 4M<<gws.
207 agp_sis_set_aperture(device_t dev, u_int32_t aperture) argument
215 if (aperture & (aperture - 1)
216 || aperture <
[all...]
H A Dagp_amd.c74 u_int32_t initial_aperture; /* aperture size at startup */
88 "allocating GATT for aperture of size %dM\n",
144 * an amount dependent on the base address of the aperture. This
248 * aperture so that the gatt size reduces.
293 /* Put the aperture back the way it started. */
311 * The aperture size is equal to 32M<<vas.
318 agp_amd_set_aperture(device_t dev, u_int32_t aperture) argument
326 if (aperture & (aperture - 1)
327 || aperture < 3
[all...]
H A Dagppriv.h68 struct resource *as_aperture; /* location of aperture */
97 u_int32_t aperture);
H A Dagp_via.c57 u_int32_t initial_aperture; /* aperture size at startup */
193 * aperture so that the gatt size reduces.
206 /* Enable the aperture. */
214 /* Enable the aperture. */
219 device_printf(dev, "aperture size is %dM\n",
255 * to be zero. We calculate the aperture size accordingly.
282 device_printf(dev, "Invalid aperture setting 0x%x\n",
290 agp_via_set_aperture(device_t dev, u_int32_t aperture) argument
299 apsize = ((aperture - 1) >> 20) ^ 0xff;
304 if ((((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1 != aperture)
[all...]
H A Dagp_intel.c55 u_int32_t initial_aperture; /* aperture size at startup */
58 u_int32_t current_aperture; /* current aperture size */
161 /* Enable aperture accesses. */
231 /* Determine maximum supported aperture size. */
246 * aperture so that the gatt size reduces.
270 /* Disable aperture accesses. */
336 * to be zero. We calculate the aperture size accordingly.
342 agp_intel_set_aperture(device_t dev, u_int32_t aperture) argument
352 apsize = ((aperture - 1) >> 22) ^ sc->aperture_mask;
357 if ((((apsize ^ sc->aperture_mask) << 22) | ((1 << 22) - 1)) + 1 != aperture)
[all...]
H A Dagp_ali.c53 u_int32_t initial_aperture; /* aperture size at startup */
109 device_printf(dev, "bad initial aperture size, disabling\n");
120 * aperture so that the gatt size reduces.
151 /* Put the aperture back the way it started. */
182 * The aperture size is derived from the low bits of attbase.
192 agp_ali_set_aperture(device_t dev, u_int32_t aperture) argument
198 if (agp_ali_table[i] == aperture)
H A Dagp_nvidia.c73 u_int32_t initial_aperture; /* aperture size at startup */
193 * aperture so that the gatt size reduces.
262 /* Put the aperture back the way it started. */
265 /* restore iorr for previous aperture size */
285 device_printf(dev, "Invalid aperture setting 0x%x\n",
292 agp_nvidia_set_aperture(device_t dev, u_int32_t aperture) argument
297 switch (aperture) {
304 device_printf(dev, "Invalid aperture size (%dMb)\n",
305 aperture / 1024 / 1024);
H A Dagp_i810.c149 static int agp_i810_set_aperture(device_t dev, u_int32_t aperture);
150 static int agp_i830_set_aperture(device_t dev, u_int32_t aperture);
151 static int agp_i915_set_aperture(device_t dev, u_int32_t aperture);
207 u_int32_t initial_aperture; /* aperture size at startup */
1017 * Stolen memory is set up at the beginning of the aperture by
1478 device_printf(dev, "aperture size is %dM",
1529 /* Put the aperture back the way it started. */
1555 * Sets the PCI resource size of the aperture on i830-class and below chipsets,
1560 * reconfigure the placement of the AGP aperture if a larger size is requested,
1564 agp_i810_set_aperture(device_t dev, u_int32_t aperture) argument
1590 agp_i830_set_aperture(device_t dev, u_int32_t aperture) argument
1614 agp_i915_set_aperture(device_t dev, u_int32_t aperture) argument
1621 agp_i810_method_set_aperture(device_t dev, u_int32_t aperture) argument
[all...]
H A Dagp_ati.c66 u_int32_t initial_aperture; /* aperture size at startup */
138 device_printf(dev, "aperture allocation failed\n");
224 * aperture so that the gatt size reduces.
263 /* Put the aperture back the way it started. */
296 agp_ati_set_aperture(device_t dev, u_int32_t aperture) argument
310 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-9.3-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-9.3-release/sys/dev/cxgbe/common/
H A Dcommon.h72 uint32_t aperture; member in struct:memwin
/freebsd-9.3-release/sys/dev/cxgbe/
H A Dt4_main.c1522 V_WINDOW(ilog2(mw->aperture) - 10));
1656 memwin_info(struct adapter *sc, int win, uint32_t *base, uint32_t *aperture) argument
1672 if (aperture != NULL)
1673 *aperture = mw->aperture;

Completed in 120 milliseconds