Home
last modified time | relevance | path

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

123

/device/generic/goldfish/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);
140 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
150 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
153 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
154 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
Dframebuffer.cpp289 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); local
290 if (vaddr == MAP_FAILED) {
294 module->framebuffer->base = intptr_t(vaddr);
295 memset(vaddr, 0, fbSize);
/device/google/cuttlefish_common/guest/hals/gralloc/
Dmapper.cpp54 void* vaddr; member
56 GrallocBuffer() : vaddr(NULL), ref_count(0) {} in GrallocBuffer()
77 if (!buffer->vaddr) { in reference_buffer()
96 buffer->vaddr = mapped; in reference_buffer()
99 return buffer->vaddr; in reference_buffer()
122 result = munmap(buffer->vaddr, hnd->size); in unreference_buffer()
129 buffer->vaddr = NULL; in unreference_buffer()
Dgralloc.cpp128 void** vaddr) { in lock() argument
129 if (!vaddr || vsoc_buffer_handle_t::validate(handle)) { in lock()
140 *vaddr = mapped; in lock()
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/
Dmapper.cpp68 void** vaddr) { in gralloc_lock() argument
72 if (!vaddr) { in gralloc_lock()
84 *vaddr = reinterpret_cast<unsigned char*>(base) in gralloc_lock()
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Mem.cpp106 int QCamera3Memory::cacheOpsInternal(uint32_t index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument
127 cache_inv_data.vaddr = vaddr; in cacheOpsInternal()
135 cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
580 void *vaddr = mmap(NULL, in allocate() local
585 if (vaddr == MAP_FAILED) { in allocate()
590 mPtr[i] = vaddr; in allocate()
638 void *vaddr = mmap(NULL, in allocateOne() local
643 if (vaddr == MAP_FAILED) { in allocateOne()
648 mPtr[mBufferCount] = vaddr; in allocateOne()
781 void *vaddr = NULL; in registerBuffer() local
[all …]
/device/linaro/hikey/gralloc960/
Dmali_gralloc_module.cpp93 void **vaddr) in gralloc_lock() argument
97 return mali_gralloc_lock(m, handle, usage, l, t, w, h, vaddr); in gralloc_lock()
116 int h, void **vaddr, int32_t fence_fd) in gralloc_lock_async() argument
120 return mali_gralloc_lock_async(m, handle, usage, l, t, w, h, vaddr, fence_fd); in gralloc_lock_async()
Dmali_gralloc_bufferaccess.h26 void **vaddr);
33 int h, void **vaddr, int32_t fence_fd);
Dmali_gralloc_bufferaccess.cpp37 void **vaddr) in mali_gralloc_lock() argument
66 *vaddr = (void *)hnd->base; in mali_gralloc_lock()
223 int h, void **vaddr, int32_t fence_fd) in mali_gralloc_lock_async() argument
231 return mali_gralloc_lock(m, buffer, usage, l, t, w, h, vaddr); in mali_gralloc_lock_async()
Dframebuffer_device.cpp362 void *vaddr = mmap(0, fbSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in init_frame_buffer_locked() local
364 if (vaddr == MAP_FAILED) in init_frame_buffer_locked()
370 memset(vaddr, 0, fbSize); in init_frame_buffer_locked()
373 module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, fbSize, vaddr, in init_frame_buffer_locked()
/device/google/cuttlefish_common/guest/hals/camera/
DGrallocModule.h29 void **vaddr) { in lock() argument
30 return mModule->lock(mModule, handle, usage, l, t, w, h, vaddr); in lock()
/device/generic/goldfish/camera/
DGrallocModule.h16 int usage, int l, int t, int w, int h, void **vaddr) { in lock() argument
17 return mModule->lock(mModule, handle, usage, l, t, w, h, vaddr); in lock()
/device/google/marlin/camera/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()
/device/google/marlin/camera/mm-image-codec/qomx_core/
DQOMX_JpegExtensions.h231 uint8_t *vaddr; member
302 void *vaddr; member
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc.cpp310 static int map_buffer(cb_handle_t *cb, void **vaddr) in map_buffer() argument
331 *vaddr = addr; in map_buffer()
728 void *vaddr; in gralloc_alloc() local
729 int err = map_buffer(cb, &vaddr); in gralloc_alloc()
1013 void *vaddr; in gralloc_register_buffer() local
1014 int err = map_buffer(cb, &vaddr); in gralloc_register_buffer()
1087 void *vaddr; in gralloc_unregister_buffer() local
1106 void** vaddr) in gralloc_lock() argument
1109 return sFallback->lock(sFallback, handle, usage, l, t, w, h, vaddr); in gralloc_lock()
1233 *vaddr = cpu_addr; in gralloc_lock()
[all …]
/device/google/contexthub/firmware/os/platform/stm32/
DeeData.c169 bool eeDataEraseOldVersion(uint32_t name, void *vaddr) in eeDataEraseOldVersion() argument
171 uint32_t *addr = (uint32_t*)vaddr; in eeDataEraseOldVersion()
/device/google/contexthub/sensorhal/
Ddirectchannel.cpp201 int usage, int l, int t, int w, int h, void **vaddr) { in lock() argument
204 return mGrallocModule->lock(mGrallocModule, handle, usage, l, t, w, h, vaddr); in lock()
215 &rect, vaddr, -1)); in lock()
/device/linaro/hikey/gralloc/
Dalloc_device.cpp369 void *vaddr = m->framebuffer->base; in gralloc_alloc_framebuffer_locked() local
380 vaddr = (void *)((uintptr_t)vaddr + bufferSize); in gralloc_alloc_framebuffer_locked()
384 …_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, usage, size, vaddr, in gralloc_alloc_framebuffer_locked()
385 …0, m->framebuffer->fd, (uintptr_t)vaddr - (uintptr_t) m->framebuffer->base, m->framebuffer->fb_pad… in gralloc_alloc_framebuffer_locked()
Dframebuffer_device.cpp374 void *vaddr = mmap(0, fbSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in init_frame_buffer_locked() local
376 if (vaddr == MAP_FAILED) in init_frame_buffer_locked()
382 memset(vaddr, 0, fbSize); in init_frame_buffer_locked()
385 …ule->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, 0, fbSize, vaddr, in init_frame_buffer_locked()
Dgralloc_module.cpp281 …odule_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void **vaddr) in gralloc_lock() argument
319 *vaddr = (void *)hnd->base; in gralloc_lock()
465 … *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void **vaddr, int fenceFD) in gralloc_lock_async() argument
473 return gralloc_lock(module, handle, usage, l, t, w, h, vaddr); in gralloc_lock_async()
/device/google/bonito/sdm710/original-kernel-headers/media/
Dcam_req_mgr.h302 uint64_t vaddr; member
314 uint64_t vaddr; member
/device/google/crosshatch/sdm845/kernel-headers/media/
Dcam_req_mgr.h160 uint64_t vaddr; member
165 uint64_t vaddr; member
/device/google/crosshatch/sdm845/original-kernel-headers/media/
Dcam_req_mgr.h302 uint64_t vaddr; member
314 uint64_t vaddr; member
/device/google/bonito/sdm710/kernel-headers/media/
Dcam_req_mgr.h160 uint64_t vaddr; member
165 uint64_t vaddr; member

123