/freebsd/sys/dev/agp/ |
H A D | agp_apple.c | 61 uint32_t aperture; member 130 /* Set the aperture bus address base (must be 0) */ in agp_apple_attach() 138 sc->aperture = 256*1024*1024; in agp_apple_attach() 140 for (sc->aperture = 256*1024*1024; sc->aperture >= 4*1024*1024; in agp_apple_attach() 141 sc->aperture /= 2) { in agp_apple_attach() 146 if (sc->aperture < 4*1024*1024) { in agp_apple_attach() 152 AGP_SET_APERTURE(dev, sc->aperture); in agp_apple_attach() 156 /* Enable the aperture and TLB. */ in agp_apple_attach() 169 /* Disable the aperture and TLB */ in agp_apple_detach() 191 return (sc->aperture); in agp_apple_get_aperture() [all …]
|
H A D | agp_sis.c | 50 u_int32_t initial_aperture; /* aperture size at startup */ 144 * aperture so that the gatt size reduces. in agp_sis_attach() 156 /* Enable the aperture. */ in agp_sis_attach() 176 /* Disable the aperture.. */ in agp_sis_detach() 183 /* Put the aperture back the way it started. */ in agp_sis_detach() 197 * The aperture size is equal to 4M<<gws. in agp_sis_get_aperture() 204 agp_sis_set_aperture(device_t dev, u_int32_t aperture) in agp_sis_set_aperture() argument 212 if (aperture & (aperture - 1) in agp_sis_set_aperture() 213 || aperture < 4*1024*1024 in agp_sis_set_aperture() 214 || aperture > 256*1024*1024) in agp_sis_set_aperture() [all …]
|
H A D | agp_amd64.c | 195 * aperture so that the gatt size reduces. in agp_amd64_attach() 228 /* Install the gatt and enable aperture. */ in agp_amd64_attach() 291 agp_amd64_set_aperture(device_t dev, uint32_t aperture) in agp_amd64_set_aperture() argument 298 if (agp_amd64_table[i] == aperture) in agp_amd64_set_aperture() 310 return (agp_amd64_uli_set_aperture(dev, aperture)); in agp_amd64_set_aperture() 314 return (agp_amd64_nvidia_set_aperture(dev, aperture)); in agp_amd64_set_aperture() 319 return (agp_amd64_via_set_aperture(dev, aperture)); in agp_amd64_set_aperture() 397 agp_amd64_uli_set_aperture(device_t dev, uint32_t aperture) in agp_amd64_uli_set_aperture() argument 401 switch (aperture) { in agp_amd64_uli_set_aperture() 412 sc->apbase + aperture - 1, 4); in agp_amd64_uli_set_aperture() [all …]
|
H A D | agp_if.m | 47 # Return the current aperture size. 54 # Set the size of the aperture. Return EINVAL on error or 0 on success. 58 u_int32_t aperture; 62 # Bind a single page in the AGP aperture to a given physical address. 63 # The offset is a byte offset within the aperture which must be 73 # Unbind a single page in the AGP aperture. 125 # AGP aperture. This effectively defines a range of contiguous
|
H A D | agp_via.c | 54 u_int32_t initial_aperture; /* aperture size at startup */ 190 * aperture so that the gatt size reduces. in agp_via_attach() 203 /* Enable the aperture. */ in agp_via_attach() 211 /* Enable the aperture. */ in agp_via_attach() 216 device_printf(dev, "aperture size is %dM\n", in agp_via_attach() 252 * to be zero. We calculate the aperture size accordingly. in agp_via_get_aperture() 279 device_printf(dev, "Invalid aperture setting 0x%x\n", in agp_via_get_aperture() 287 agp_via_set_aperture(device_t dev, u_int32_t aperture) in agp_via_set_aperture() argument 296 apsize = ((aperture - 1) >> 20) ^ 0xff; in agp_via_set_aperture() 301 if ((((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1 != aperture) in agp_via_set_aperture() [all …]
|
H A D | agp_amd.c | 73 u_int32_t initial_aperture; /* aperture size at startup */ 87 "allocating GATT for aperture of size %dM\n", in agp_amd_alloc_gatt() 142 * an amount dependent on the base address of the aperture. This in agp_amd_alloc_gatt() 241 * aperture so that the gatt size reduces. in agp_amd_attach() 286 /* Put the aperture back the way it started. */ in agp_amd_detach() 304 * The aperture size is equal to 32M<<vas. in agp_amd_get_aperture() 311 agp_amd_set_aperture(device_t dev, u_int32_t aperture) in agp_amd_set_aperture() argument 319 if (aperture & (aperture - 1) in agp_amd_set_aperture() 320 || aperture < 32*1024*1024 in agp_amd_set_aperture() 321 || aperture > 2U*1024*1024*1024) in agp_amd_set_aperture() [all …]
|
H A D | agp_intel.c | 52 u_int32_t initial_aperture; /* aperture size at startup */ 55 u_int32_t current_aperture; /* current aperture size */ 158 /* Enable aperture accesses. */ in agp_intel_commit_gatt() 228 /* Determine maximum supported aperture size. */ in agp_intel_attach() 243 * aperture so that the gatt size reduces. in agp_intel_attach() 267 /* Disable aperture accesses. */ in agp_intel_detach() 333 * to be zero. We calculate the aperture size accordingly. in agp_intel_get_aperture() 339 agp_intel_set_aperture(device_t dev, u_int32_t aperture) in agp_intel_set_aperture() argument 349 apsize = ((aperture - 1) >> 22) ^ sc->aperture_mask; in agp_intel_set_aperture() 354 if ((((apsize ^ sc->aperture_mask) << 22) | ((1 << 22) - 1)) + 1 != aperture) in agp_intel_set_aperture()
|
H A D | agp_ali.c | 50 u_int32_t initial_aperture; /* aperture size at startup */ 106 device_printf(dev, "bad initial aperture size, disabling\n"); in agp_ali_attach() 117 * aperture so that the gatt size reduces. in agp_ali_attach() 148 /* Put the aperture back the way it started. */ in agp_ali_detach() 179 * The aperture size is derived from the low bits of attbase. in agp_ali_get_aperture() 189 agp_ali_set_aperture(device_t dev, u_int32_t aperture) in agp_ali_set_aperture() argument 195 if (agp_ali_table[i] == aperture) in agp_ali_set_aperture()
|
H A D | agpvar.h | 96 * aperture. The value returned is an opaque handle which can be 108 * the AGP aperture. Returns EINVAL if the memory is already bound or 114 * Unbind memory from the AGP aperture. Returns EINVAL if the memory 126 * Bind a set of pages at a given offset within the AGP aperture. 133 * Unbind a set of pages from the AGP aperture.
|
H A D | agp_nvidia.c | 64 u_int32_t initial_aperture; /* aperture size at startup */ 184 * aperture so that the gatt size reduces. in agp_nvidia_attach() 253 /* Put the aperture back the way it started. */ in agp_nvidia_detach() 256 /* restore iorr for previous aperture size */ in agp_nvidia_detach() 276 device_printf(dev, "Invalid aperture setting 0x%x\n", in agp_nvidia_get_aperture() 283 agp_nvidia_set_aperture(device_t dev, u_int32_t aperture) in agp_nvidia_set_aperture() argument 288 switch (aperture) { in agp_nvidia_set_aperture() 295 device_printf(dev, "Invalid aperture size (%dMb)\n", in agp_nvidia_set_aperture() 296 aperture / 1024 / 1024); in agp_nvidia_set_aperture()
|
H A D | agp_i810.c | 144 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 in agp_i915_get_stolen_size() 1307 device_printf(dev, "aperture size is %dM", in agp_i810_attach() 1358 /* Put the aperture back the way it started. */ in agp_i810_detach() 1384 * Sets the PCI resource size of the aperture on i830-class and below chipsets, 1389 * reconfigure the placement of the AGP aperture if a larger size is requested, 1393 agp_i810_set_aperture(device_t dev, u_int32_t aperture) in agp_i810_set_aperture() argument 1419 agp_i830_set_aperture(device_t dev,u_int32_t aperture) agp_i830_set_aperture() argument 1443 agp_i915_set_aperture(device_t dev,u_int32_t aperture) agp_i915_set_aperture() argument 1450 agp_i810_method_set_aperture(device_t dev,u_int32_t aperture) agp_i810_method_set_aperture() argument [all...] |
H A D | agp_ati.c | 65 u_int32_t initial_aperture; /* aperture size at startup */ 217 * aperture so that the gatt size reduces. in agp_ati_attach() 256 /* Put the aperture back the way it started. */ in agp_ati_detach() 289 agp_ati_set_aperture(device_t dev, u_int32_t aperture) in agp_ati_set_aperture() argument 303 size_value |= (ffs(aperture / (32 * 1024 * 1024)) - 1) << 1; in agp_ati_set_aperture()
|
H A D | agp.c | 141 "allocating GATT for aperture of size %dM\n", in agp_alloc_gatt() 145 device_printf(dev, "bad aperture size\n"); in agp_alloc_gatt() 188 * Sets the PCI resource which represents the AGP aperture. 190 * If not called, the default AGP aperture resource of AGP_APBASE will 210 * Find and map the aperture, RF_SHAREABLE for DRM but not RF_ACTIVE in agp_generic_attach() 308 * Default AGP aperture size detection which simply returns the size of 309 * the aperture's PCI resource. 320 * Default AGP aperture size setting function, which simply doesn't allow 324 agp_generic_set_aperture(device_t dev, u_int32_t aperture) in agp_generic_set_aperture() argument 329 if (current_aperture != aperture) in agp_generic_set_aperture()
|
H A D | agppriv.h | 68 struct resource *as_aperture; /* location of aperture */ 97 u_int32_t aperture);
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_aperture.c | 3 #include <linux/aperture.h> 24 * first has to remove the generic driver. Aperture functions manage 68 * While the given example uses a platform device, the aperture helpers work 126 * et al for the registered framebuffer range, the aperture helpers call 212 * If the aperture helpers ever need to handle native drivers, this call in aperture_detach_platform_device() 220 * devm_aperture_acquire_for_platform_device - Acquires ownership of an aperture 222 * @pdev: the platform device to own the aperture 223 * @base: the aperture's byte offset in physical memory 224 * @size: the aperture size in bytes 226 * Installs the given device as the new owner of the aperture. The function [all …]
|
/freebsd/share/man/man4/ |
H A D | agp.4 | 88 off_t aper_base; /* base of aperture */ 89 size_t aper_size; /* size of aperture */ 118 Allocate physical memory suitable for mapping into the AGP aperture. 138 Bind the allocated memory at given offset with the AGP aperture. 155 Unbind memory from the AGP aperture.
|
/freebsd/lib/libpmc/pmu-events/arch/x86/haswell/ |
H A D | uncore-other.json | 3 …d entries in Coherency Tracker queue from allocation till deallocation. Aperture requests (snoops)… 7 …d entries in Coherency Tracker queue from allocation till deallocation. Aperture requests (snoops)… 12 …Description": "Number of entries allocated. Account for Any type: e.g. Snoop, Core aperture, etc.", 17 …Description": "Number of entries allocated. Account for Any type: e.g. Snoop, Core aperture, etc.",
|
H A D | uncore.json | 343 …d entries in Coherency Tracker queue from allocation till deallocation. Aperture requests (snoops)… 344 …d entries in Coherency Tracker queue from allocation till deallocation. Aperture requests (snoops)… 355 …Description": "Number of entries allocated. Account for Any type: e.g. Snoop, Core aperture, etc.", 356 …Description": "Number of entries allocated. Account for Any type: e.g. Snoop, Core aperture, etc.",
|
/freebsd/sys/contrib/device-tree/Bindings/bus/ |
H A D | mvebu-mbus.txt | 34 - pcie-mem-aperture: This optional property contains the aperture for 40 - pcie-io-aperture: Just as explained for the above property, this 41 optional property contains the aperture for the 65 pcie-mem-aperture = <0xe0000000 0x8000000>; 66 pcie-io-aperture = <0xe8000000 0x100000>;
|
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_bo_driver.h | 50 * Bind the backend pages into the aperture in the location 52 * differences between aperture and system page sizes. 62 * able to handle differences between aperture and system page sizes. 106 * This is a structure holding the pages, caching- and aperture binding 136 * This is a structure holding the pages, caching- and aperture binding 148 #define TTM_MEMTYPE_FLAG_CMA (1 << 3) /* Can't map aperture */ 242 * fixed memory or the first managed location in an aperture. 622 * Bind the pages of @ttm to an aperture location identified by @bo_mem 915 * free any old aperture space, and set (@new_mem)->mm_node to NULL, 937 * free any old aperture space, and set (@new_mem)->mm_node to NULL, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/ |
H A D | nvidia,tegra20-mc.txt | 6 the controller's registers and the GART aperture respectively. 26 0x58000000 0x02000000>; /* GART aperture */
|
/freebsd/tools/tools/pciroms/ |
H A D | pciroms.c | 220 printf((romsize ? "%dKB ROM aperture detected." in pci_enum_devs() 251 * Return: size of ROM aperture off dev, 0 if no ROM exists. 284 * Calculate ROM aperture if one was set. in pci_testrombar() 316 /* Dump ROM aperture to a file. */ in pci_save_rom()
|
/freebsd/sys/contrib/device-tree/src/arc/ |
H A D | axc003_idu.dtsi | 106 * external DMA buffer located outside of IOC aperture. 159 * Move frame buffer out of IOC aperture (0x8z-0xaz).
|
H A D | axc003.dtsi | 99 * external DMA buffer located outside of IOC aperture. 153 * Move frame buffer out of IOC aperture (0x8z-0xaz).
|
/freebsd/sys/dev/sfxge/common/ |
H A D | ef10_tlv_layout.h | 322 uint16_t pf_aper; /**< BIU aperture for PF BAR2 */ 323 uint16_t vf_aper; /**< BIU aperture for VF BAR0 */ 324 uint16_t int_aper; /**< BIU aperture for PF BAR4 and VF BAR2 */ 326 #define TLV_APER_DEFAULT (0xFFFF) /* Use FW default for a given aperture */ 530 uint16_t pf_aper; /**< BIU aperture for PF BAR2 */ 531 uint16_t vf_aper; /**< BIU aperture for VF BAR0 */ 532 uint16_t int_aper; /**< BIU aperture for PF BAR4 and VF BAR2 */
|