/src/sys/dev/pci/ |
agp_via.c | 185 u_int32_t apsize; local in function:agp_via_get_aperture 188 apsize = pci_conf_read(sc->as_pc, sc->as_tag, 194 * are always forced to zero and each zero bit in the apsize 198 return (((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1; 200 apsize = pci_conf_read(sc->as_pc, sc->as_tag, 202 switch (apsize) { 225 "invalid aperture setting 0x%x\n", apsize); 235 u_int32_t apsize, key; local in function:agp_via_set_aperture 242 apsize = ((aperture - 1) >> 20) ^ 0xff; 247 if ((((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1 != aperture [all...] |
agp_amd64.c | 506 uint32_t apsize; local in function:agp_amd64_nvidia_set_aperture 509 case 0x02000000: apsize = 0x0f; break; /* 32 MB */ 510 case 0x04000000: apsize = 0x0e; break; /* 64 MB */ 511 case 0x08000000: apsize = 0x0c; break; /* 128 MB */ 512 case 0x10000000: apsize = 0x08; break; /* 256 MB */ 513 case 0x20000000: apsize = 0x00; break; /* 512 MB */ 520 AGP_AMD64_NVIDIA_1_APSIZE) & 0xfffffff0) | apsize); 545 uint32_t apsize; local in function:agp_amd64_via_set_aperture 547 apsize = ((aperture - 1) >> 20) ^ 0xff; 548 if ((((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1 != aperture [all...] |
agp_intel.c | 301 u_int32_t apsize; local in function:agp_intel_get_aperture 303 apsize = pci_conf_read(sc->as_pc, sc->as_tag, 309 * are always forced to zero and each zero bit in the apsize 313 return (((apsize ^ isc->aperture_mask) << 22) | ((1 << 22) - 1)) + 1; 320 u_int32_t apsize; local in function:agp_intel_set_aperture 325 apsize = ((aperture - 1) >> 22) ^ isc->aperture_mask; 330 if ((((apsize ^ isc->aperture_mask) << 22) | 335 AGP_INTEL_APSIZE, apsize);
|
agp_apple.c | 135 u_int32_t apsize = 0; 138 apsize = pci_conf_read(sc->as_pc, sc->as_tag, 140 aprint_error("%08x\n", apsize); 141 return (apsize << 22);
|
agp_amd.c | 98 u_int32_t apsize = AGP_GET_APERTURE(sc); local in function:agp_amd_alloc_gatt 99 u_int32_t entries = apsize >> AGP_PAGE_SHIFT;
|
agp.c | 405 u_int32_t apsize = AGP_GET_APERTURE(sc); local in function:agp_alloc_gatt 406 u_int32_t entries = apsize >> AGP_PAGE_SHIFT;
|