Searched refs:aperture (Results 1 - 15 of 15) sorted by last modified time

/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_main.c2652 uint32_t aperture; member in struct:memwin_init
2697 mw->mw_aperture = mw_init->aperture;
/freebsd-11-stable/sys/dev/agp/
H A Dagp_i810.c144 static int agp_i810_set_aperture(device_t dev, u_int32_t aperture);
145 static int agp_i830_set_aperture(device_t dev, u_int32_t aperture);
146 static int agp_i915_set_aperture(device_t dev, u_int32_t aperture);
196 u_int32_t initial_aperture; /* aperture size at startup */
901 * Stolen memory is set up at the beginning of the aperture by
1308 device_printf(dev, "aperture size is %dM",
1359 /* Put the aperture back the way it started. */
1385 * Sets the PCI resource size of the aperture on i830-class and below chipsets,
1390 * reconfigure the placement of the AGP aperture if a larger size is requested,
1394 agp_i810_set_aperture(device_t dev, u_int32_t aperture) argument
1420 agp_i830_set_aperture(device_t dev, u_int32_t aperture) argument
1444 agp_i915_set_aperture(device_t dev, u_int32_t aperture) argument
1451 agp_i810_method_set_aperture(device_t dev, u_int32_t aperture) argument
[all...]
H A Dagp.c142 "allocating GATT for aperture of size %dM\n",
146 device_printf(dev, "bad aperture size\n");
191 * Sets the PCI resource which represents the AGP aperture.
193 * If not called, the default AGP aperture resource of AGP_APBASE will
212 * Find and map the aperture, RF_SHAREABLE for DRM but not RF_ACTIVE
288 * Default AGP aperture size detection which simply returns the size of
289 * the aperture's PCI resource.
300 * Default AGP aperture size setting function, which simply doesn't allow
304 agp_generic_set_aperture(device_t dev, u_int32_t aperture) argument
309 if (current_aperture != 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_amd.c74 u_int32_t initial_aperture; /* aperture size at startup */
88 "allocating GATT for aperture of size %dM\n",
145 * an amount dependent on the base address of the aperture. This
245 * aperture so that the gatt size reduces.
290 /* Put the aperture back the way it started. */
308 * The aperture size is equal to 32M<<vas.
315 agp_amd_set_aperture(device_t dev, u_int32_t aperture) argument
323 if (aperture & (aperture - 1)
324 || aperture < 3
[all...]
H A Dagp_amd64.c199 * aperture so that the gatt size reduces.
232 /* Install the gatt and enable aperture. */
295 agp_amd64_set_aperture(device_t dev, uint32_t aperture) argument
302 if (agp_amd64_table[i] == aperture)
314 return (agp_amd64_uli_set_aperture(dev, aperture));
318 return (agp_amd64_nvidia_set_aperture(dev, aperture));
323 return (agp_amd64_via_set_aperture(dev, aperture));
396 agp_amd64_uli_set_aperture(device_t dev, uint32_t aperture) argument
400 switch (aperture) {
411 sc->apbase + aperture
430 agp_amd64_nvidia_set_aperture(device_t dev, uint32_t aperture) argument
468 agp_amd64_via_set_aperture(device_t dev, uint32_t aperture) argument
[all...]
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_ati.c66 u_int32_t initial_aperture; /* aperture size at startup */
222 * aperture so that the gatt size reduces.
261 /* Put the aperture back the way it started. */
295 agp_ati_set_aperture(device_t dev, u_int32_t aperture) argument
309 size_value |= (ffs(aperture / (32 * 1024 * 1024)) - 1) << 1;
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_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_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_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 Dagppriv.h68 struct resource *as_aperture; /* location of aperture */
96 u_int32_t aperture);
/freebsd-11-stable/sys/dev/drm/
H A Dsavage_bci.c559 * and size of the aperture is not suitable for automatic MTRR setup
618 * aperture. */
650 &dev_priv->aperture);
H A Dsavage_drv.h160 drm_local_map_t *aperture; member in struct:drm_savage_private

Completed in 177 milliseconds