Searched refs:apsize (Results 1 – 5 of 5) sorted by relevance
| /openbsd-src/sys/dev/pci/ |
| H A D | mmuagp.c | 495 bus_size_t apsize; in mmuagp_nvidia_set_aperture() local 499 apsize = 0x0f; in mmuagp_nvidia_set_aperture() 502 apsize = 0x0e; in mmuagp_nvidia_set_aperture() 505 apsize = 0x0c; in mmuagp_nvidia_set_aperture() 508 apsize = 0x08; in mmuagp_nvidia_set_aperture() 511 apsize = 0x00; in mmuagp_nvidia_set_aperture() 519 AGP_AMD64_NVIDIA_1_APSIZE) & 0xfffffff0) | apsize); in mmuagp_nvidia_set_aperture() 545 bus_size_t apsize; in mmuagp_via_set_aperture() local 547 apsize = ((aperture - 1) >> 20) ^ 0xff; in mmuagp_via_set_aperture() 548 if ((((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1 != aperture) in mmuagp_via_set_aperture() [all …]
|
| H A D | agp_via.c | 236 bus_size_t apsize; in agp_via_get_aperture() local 238 apsize = pci_conf_read(vsc->vsc_pc, vsc->vsc_tag, in agp_via_get_aperture() 248 return ((((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1); in agp_via_get_aperture() 255 bus_size_t apsize; in agp_via_set_aperture() local 261 apsize = ((aperture - 1) >> 20) ^ 0xff; in agp_via_set_aperture() 266 if ((((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1 != aperture) in agp_via_set_aperture() 271 reg |= apsize; in agp_via_set_aperture()
|
| H A D | agp_intel.c | 388 bus_size_t apsize; in agp_intel_get_aperture() local 390 apsize = pci_conf_read(isc->isc_pc, isc->isc_tag, in agp_intel_get_aperture() 400 return ((((apsize ^ isc->aperture_mask) << 22) | ((1 << 22) - 1)) + 1); in agp_intel_get_aperture() 407 bus_size_t apsize; in agp_intel_set_aperture() local 412 apsize = ((aperture - 1) >> 22) ^ isc->aperture_mask; in agp_intel_set_aperture() 417 if ((((apsize ^ isc->aperture_mask) << 22) | in agp_intel_set_aperture() 421 pci_conf_write(isc->isc_pc, isc->isc_tag, AGP_INTEL_APSIZE, apsize); in agp_intel_set_aperture()
|
| H A D | agp.c | 84 bus_addr_t apaddr, bus_size_t apsize, struct device *dev) in agp_attach_bus() argument 91 arg.aa_apsize = apsize; in agp_attach_bus() 168 agp_alloc_gatt(bus_dma_tag_t dmat, u_int32_t apsize) in agp_alloc_gatt() argument 171 u_int32_t entries = apsize >> AGP_PAGE_SHIFT; in agp_alloc_gatt()
|
| H A D | agp_amd.c | 105 agp_amd_alloc_gatt(bus_dma_tag_t dmat, bus_size_t apsize) in agp_amd_alloc_gatt() argument 107 bus_size_t entries = apsize >> AGP_PAGE_SHIFT; in agp_amd_alloc_gatt()
|