Searched refs:apsize (Results 1 - 6 of 6) sorted by relevance
/freebsd-11-stable/sys/dev/agp/ |
H A D | agp_via.c | 243 u_int32_t apsize; local 246 apsize = pci_read_config(dev, sc->regs[REG_APSIZE], 1); 251 * are always forced to zero and each zero bit in the apsize 255 return (((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1; 257 apsize = pci_read_config(dev, sc->regs[REG_APSIZE], 2) & 0xfff; 258 switch (apsize) { 291 u_int32_t apsize, key, val; local 297 apsize = ((aperture - 1) >> 20) ^ 0xff; 302 if ((((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1 != aperture) 305 pci_write_config(dev, sc->regs[REG_APSIZE], apsize, [all...] |
H A D | agp_amd64.c | 433 uint32_t apsize; local 436 case 0x02000000: apsize = 0x0f; break; /* 32 MB */ 437 case 0x04000000: apsize = 0x0e; break; /* 64 MB */ 438 case 0x08000000: apsize = 0x0c; break; /* 128 MB */ 439 case 0x10000000: apsize = 0x08; break; /* 256 MB */ 440 case 0x20000000: apsize = 0x00; break; /* 512 MB */ 447 0xfffffff0) | apsize, 4); 470 uint32_t apsize; local 472 apsize = ((aperture - 1) >> 20) ^ 0xff; 473 if ((((apsize [all...] |
H A D | agp_intel.c | 323 u_int32_t apsize; local 327 apsize = pci_read_config(dev, AGP_INTEL_APSIZE, 1) & sc->aperture_mask; 332 * are always forced to zero and each zero bit in the apsize 336 return ((((apsize ^ sc->aperture_mask) << 22) | ((1 << 22) - 1)) + 1); 343 u_int32_t apsize; local 350 apsize = ((aperture - 1) >> 22) ^ sc->aperture_mask; 355 if ((((apsize ^ sc->aperture_mask) << 22) | ((1 << 22) - 1)) + 1 != aperture) 358 sc->current_aperture = apsize; 360 pci_write_config(dev, AGP_INTEL_APSIZE, apsize, 1);
|
H A D | agp_amd.c | 81 u_int32_t apsize = AGP_GET_APERTURE(dev); local 82 u_int32_t entries = apsize >> AGP_PAGE_SHIFT; 89 apsize / (1024*1024));
|
H A D | agp_ati.c | 127 u_int32_t apsize = AGP_GET_APERTURE(dev); local 128 u_int32_t entries = apsize >> AGP_PAGE_SHIFT;
|
H A D | agp.c | 136 u_int32_t apsize = AGP_GET_APERTURE(dev); local 137 u_int32_t entries = apsize >> AGP_PAGE_SHIFT; 143 apsize / (1024*1024));
|
Completed in 100 milliseconds