Home
last modified time | relevance | path

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

12345

/hardware/libhardware/modules/gralloc/
Dmapper.cpp39 void** vaddr) in gralloc_map() argument
54 *vaddr = (void*)hnd->base; in gralloc_map()
122 void *vaddr; in gralloc_register_buffer() local
123 return gralloc_map(module, handle, &vaddr); in gralloc_register_buffer()
142 void* vaddr; in mapBuffer() local
143 return gralloc_map(module, hnd, &vaddr); in mapBuffer()
160 void** vaddr) in gralloc_lock() argument
174 *vaddr = (void*)hnd->base; in gralloc_lock()
Dgralloc.cpp60 void** vaddr);
136 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
146 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
149 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
150 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
Dframebuffer.cpp270 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); local
271 if (vaddr == MAP_FAILED) {
275 module->framebuffer->base = intptr_t(vaddr);
276 memset(vaddr, 0, fbSize);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/inc/
Dvidc_debug.h122 void *vaddr; variable
126 AutoUnmap(void *vaddr, int size) { in AutoUnmap() argument
127 this->vaddr = vaddr; in AutoUnmap()
132 if (vaddr) in ~AutoUnmap()
133 munmap(vaddr, size); in ~AutoUnmap()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/common/inc/
Dvidc_debug.h122 void *vaddr; variable
126 AutoUnmap(void *vaddr, int size) { in AutoUnmap() argument
127 this->vaddr = vaddr; in AutoUnmap()
132 if (vaddr) in ~AutoUnmap()
133 munmap(vaddr, size); in ~AutoUnmap()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Mem.cpp106 int QCamera3Memory::cacheOpsInternal(uint32_t index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument
128 cache_inv_data.vaddr = vaddr; in cacheOpsInternal()
136 cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
584 void *vaddr = mmap(NULL, in allocate() local
589 if (vaddr == MAP_FAILED) { in allocate()
594 mPtr[i] = vaddr; in allocate()
642 void *vaddr = mmap(NULL, in allocateOne() local
647 if (vaddr == MAP_FAILED) { in allocateOne()
652 mPtr[mBufferCount] = vaddr; in allocateOne()
1228 void *vaddr = NULL; in getPtrLocked() local
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/test/
Dmm_lib2d_test.c443 __LINE__, m_yuv_memHandle.fd, m_yuv_memHandle.vaddr, in main()
461 __LINE__, m_rgb_memHandle.fd, m_rgb_memHandle.vaddr, in main()
467 m_yuv_memHandle.vaddr); in main()
475 m_yuv_memHandle.vaddr); in main()
487 src_buffer.yuv_buffer.plane0 = m_yuv_memHandle.vaddr; in main()
489 src_buffer.yuv_buffer.plane1 = (int8_t *)m_yuv_memHandle.vaddr + in main()
499 dst_buffer.rgb_buffer.buffer = m_rgb_memHandle.vaddr; in main()
/hardware/qcom/camera/msm8998/mm-image-codec/qomx_core/
DQOMX_JpegExtensions.h231 uint8_t *vaddr; member
302 void *vaddr; member
/hardware/libhardware/include/hardware/
Dgralloc.h231 void** vaddr);
285 void** vaddr, int fenceFd);
/hardware/qcom/display/msm8960/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/display/msm8226/libgralloc/
Dgpu.cpp229 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
243 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
245 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
246 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
Dframebuffer.cpp338 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mapFrameBufferLocked() local
339 if (vaddr == MAP_FAILED) { in mapFrameBufferLocked()
344 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
345 memset(vaddr, 0, fbSize); in mapFrameBufferLocked()
/hardware/qcom/display/msm8084/libgralloc/
Dgpu.cpp226 uintptr_t vaddr = uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
240 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
242 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
243 hnd->offset = vaddr - uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
Dframebuffer.cpp337 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mapFrameBufferLocked() local
338 if (vaddr == MAP_FAILED) { in mapFrameBufferLocked()
343 module->framebuffer->base = uintptr_t(vaddr); in mapFrameBufferLocked()
344 memset(vaddr, 0, fbSize); in mapFrameBufferLocked()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c160 cache_inv_data.vaddr = p_buffer->addr; in buffer_invalidate()
194 cache_clean_data.vaddr = p_buffer->addr; in buffer_clean()
/hardware/qcom/display/msm8909/libgralloc/
Dgpu.cpp224 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
240 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
242 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
243 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
Dframebuffer.cpp331 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mapFrameBufferLocked() local
332 if (vaddr == MAP_FAILED) { in mapFrameBufferLocked()
361 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
362 memset(vaddr, 0, fbSize); in mapFrameBufferLocked()
/hardware/qcom/display/msm8994/libgralloc/
Dgpu.cpp245 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
261 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
263 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
264 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
Dframebuffer.cpp337 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mapFrameBufferLocked() local
338 if (vaddr == MAP_FAILED) { in mapFrameBufferLocked()
367 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
368 memset(vaddr, 0, fbSize); in mapFrameBufferLocked()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dframebuffer.cpp331 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mapFrameBufferLocked() local
332 if (vaddr == MAP_FAILED) { in mapFrameBufferLocked()
361 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
362 memset(vaddr, 0, fbSize); in mapFrameBufferLocked()
Dgpu.cpp224 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
240 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
242 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
243 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
/hardware/qcom/display/msm8996/libgralloc/
Dframebuffer.cpp324 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mapFrameBufferLocked() local
325 if (vaddr == MAP_FAILED) { in mapFrameBufferLocked()
354 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
355 memset(vaddr, 0, fbSize); in mapFrameBufferLocked()
Dgpu.cpp226 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
242 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
244 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
245 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_ion.h89 void *vaddr; member

12345