Home
last modified time | relevance | path

Searched refs:vaddr (Results 1 – 25 of 56) sorted by relevance

123

/hardware/libhardware/modules/gralloc/
Dmapper.cpp48 void** vaddr) in gralloc_map() argument
63 *vaddr = (void*)hnd->base; in gralloc_map()
135 void *vaddr; in gralloc_register_buffer() local
136 return gralloc_map(module, handle, &vaddr); in gralloc_register_buffer()
155 void* vaddr; in mapBuffer() local
156 return gralloc_map(module, hnd, &vaddr); in mapBuffer()
173 void** vaddr) in gralloc_lock() argument
187 *vaddr = (void*)hnd->base; in gralloc_lock()
Dgralloc.cpp61 void** vaddr);
137 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
147 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
150 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
151 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
Dframebuffer.cpp281 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mapFrameBufferLocked() local
282 if (vaddr == MAP_FAILED) { in mapFrameBufferLocked()
286 module->framebuffer->base = intptr_t(vaddr); in mapFrameBufferLocked()
287 memset(vaddr, 0, fbSize); in mapFrameBufferLocked()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3Mem.cpp97 int QCamera3Memory::cacheOpsInternal(int index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument
110 cache_inv_data.vaddr = vaddr; in cacheOpsInternal()
118 __func__, cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
438 void *vaddr = mmap(NULL, in allocate() local
443 if (vaddr == MAP_FAILED) { in allocate()
450 mPtr[i] = vaddr; in allocate()
670 void *vaddr = mmap(NULL, in registerBuffers() local
675 if (vaddr == MAP_FAILED) { in registerBuffers()
682 mPtr[cnt] = vaddr; in registerBuffers()
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_ion.h318 void *vaddr, unsigned long len, unsigned int cmd);
432 struct ion_handle *handle, void *vaddr, in msm_ion_do_cache_op() argument
492 void *vaddr; member
/hardware/qcom/display/msm8974/libgralloc/
Dframebuffer.cpp322 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mapFrameBufferLocked() local
323 if (vaddr == MAP_FAILED) { in mapFrameBufferLocked()
327 module->framebuffer->base = intptr_t(vaddr); in mapFrameBufferLocked()
328 memset(vaddr, 0, fbSize); in mapFrameBufferLocked()
Dgpu.cpp218 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
232 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
234 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
235 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp322 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mapFrameBufferLocked() local
323 if (vaddr == MAP_FAILED) { in mapFrameBufferLocked()
327 module->framebuffer->base = intptr_t(vaddr); in mapFrameBufferLocked()
328 memset(vaddr, 0, fbSize); in mapFrameBufferLocked()
Dgpu.cpp212 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
226 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
228 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
229 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
/hardware/qcom/display/msm8x26/libgralloc/
Dgpu.cpp212 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
226 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
228 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
229 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
Dframebuffer.cpp322 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mapFrameBufferLocked() local
323 if (vaddr == MAP_FAILED) { in mapFrameBufferLocked()
327 module->framebuffer->base = intptr_t(vaddr); in mapFrameBufferLocked()
328 memset(vaddr, 0, fbSize); in mapFrameBufferLocked()
/hardware/qcom/camera/QCamera2/HAL/
DQCameraMem.cpp100 int QCameraMemory::cacheOpsInternal(int index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument
119 cache_inv_data.vaddr = vaddr; in cacheOpsInternal()
127 __func__, cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
448 void *vaddr = mmap(NULL, in allocate() local
453 if (vaddr == MAP_FAILED) { in allocate()
460 mPtr[i] = vaddr; in allocate()
/hardware/samsung_slsi/exynos5/gralloc/
Dmapper.cpp153 void** vaddr) in gralloc_lock() argument
169 *vaddr = (void*)hnd->base; in gralloc_lock()
/hardware/qcom/camera/mm-image-codec/qomx_core/
DQOMX_JpegExtensions.h194 uint8_t *vaddr; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dion.h381 void *vaddr, unsigned long len, unsigned int cmd);
484 struct ion_handle *handle, void *vaddr, in msm_ion_do_cache_op() argument
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_ion.h89 void *vaddr; member
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_ion.h106 void *vaddr; member
/hardware/qcom/msm8960/kernel-headers/media/
Dmsm_gemini.h62 void *vaddr; member
/hardware/qcom/msm8960/original-kernel-headers/media/
Dmsm_gemini.h72 void *vaddr; member
Dmsm_mercury.h87 void *vaddr; member
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Android.cpp85 void *vaddr[MAX_BUFFER_PLANE]; in Exynos_OSAL_LockANBHandle() local
102 if (mapper.lock(bufferHandle, usage, bounds, vaddr) != 0) { in Exynos_OSAL_LockANBHandle()
110 vplanes[0].addr = vaddr[0]; in Exynos_OSAL_LockANBHandle()
113 vplanes[1].addr = vaddr[1]; in Exynos_OSAL_LockANBHandle()
116 vplanes[2].addr = vaddr[2]; in Exynos_OSAL_LockANBHandle()
118 Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "%s: buffer locked: 0x%x", __func__, *vaddr); in Exynos_OSAL_LockANBHandle()
/hardware/qcom/msm8x74/original-kernel-headers/media/
Dmsm_gemini.h81 void *vaddr; member
Dmsm_mercury.h87 void *vaddr; member
/hardware/qcom/msm8x74/kernel-headers/media/
Dmsm_jpeg.h66 void *vaddr; member
Dmsm_gemini.h69 void *vaddr; member

123