Home
last modified time | relevance | path

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

12345

/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
DTngGrallocBufferMapper.cpp57 bool TngGrallocBufferMapper::gttMap(void *vaddr, in gttMap() argument
65 ALOGTRACE("vaddr = %p, size = %d", vaddr, size); in gttMap()
67 if (!vaddr || !size || !offset) { in gttMap()
74 arg.vaddr = (uint32_t)vaddr; in gttMap()
89 bool TngGrallocBufferMapper::gttUnmap(void *vaddr) in gttUnmap() argument
94 ALOGTRACE("vaddr = %p", vaddr); in gttUnmap()
96 if (!vaddr) { in gttUnmap()
102 arg.vaddr = (uint32_t)vaddr; in gttUnmap()
116 void *vaddr[SUB_BUFFER_MAX]; in map() local
128 vaddr, in map()
[all …]
DTngGrallocBufferMapper.h38 bool gttMap(void *vaddr, uint32_t size, uint32_t gttAlign, int *offset);
39 bool gttUnmap(void *vaddr);
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngGrallocBufferMapper.cpp57 bool TngGrallocBufferMapper::gttMap(void *vaddr, in gttMap() argument
65 ATRACE("vaddr = %p, size = %d", vaddr, size); in gttMap()
67 if (!vaddr || !size || !offset) { in gttMap()
74 arg.vaddr = (unsigned long)vaddr; in gttMap()
89 bool TngGrallocBufferMapper::gttUnmap(void *vaddr) in gttUnmap() argument
94 ATRACE("vaddr = %p", vaddr); in gttUnmap()
96 if (!vaddr) { in gttUnmap()
102 arg.vaddr = (unsigned long)vaddr; in gttUnmap()
116 void *vaddr[SUB_BUFFER_MAX]; in map() local
128 vaddr, in map()
[all …]
DTngGrallocBufferMapper.h39 bool gttMap(void *vaddr, uint32_t size, uint32_t gttAlign, int *offset);
40 bool gttUnmap(void *vaddr);
/hardware/libhardware/modules/gralloc/
Dmapper.cpp40 void** vaddr) in gralloc_map() argument
55 *vaddr = (void*)hnd->base; in gralloc_map()
123 void *vaddr; in gralloc_register_buffer() local
124 return gralloc_map(module, handle, &vaddr); in gralloc_register_buffer()
143 void* vaddr; in mapBuffer() local
144 return gralloc_map(module, hnd, &vaddr); in mapBuffer()
161 void** vaddr) in gralloc_lock() argument
175 *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.cpp293 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); local
294 if (vaddr == MAP_FAILED) {
298 module->framebuffer->base = intptr_t(vaddr);
299 memset(vaddr, 0, fbSize);
/hardware/intel/img/psb_video/src/android/
Dpsb_gralloc.cpp57 void** vaddr) in gralloc_lock() argument
71 vaddr); in gralloc_lock()
72 ALOGV("gralloc_lock: handle is %p, usage is %x, vaddr is %p.\n", handle, usage, *vaddr); in gralloc_lock()
76 unsigned char *tmp_buffer = (unsigned char *)(*vaddr); in gralloc_lock()
103 ALOGV("lock returned with address %p\n", *vaddr); in gralloc_lock()
Dpsb_surface_gralloc.c60 void *vaddr[GRALLOC_SUB_BUFFER_MAX]; in psb_DestroySurfaceGralloc() local
70 … obj_surface->width, obj_surface->height, (void **)&vaddr[GRALLOC_SUB_BUFFER0])){ in psb_DestroySurfaceGralloc()
71 if (obj_surface->share_info && vaddr[GRALLOC_SUB_BUFFER1] == obj_surface->share_info) { in psb_DestroySurfaceGralloc()
110 void *vaddr; in psb_CreateSurfacesFromGralloc() local
199 if (gralloc_lock(handle, usage, 0, 0, width, height, (void **)&vaddr)) { in psb_CreateSurfacesFromGralloc()
206 external_buffers, psb_surface, vaddr, buf_fd, in psb_CreateSurfacesFromGralloc()
266 void *vaddr[GRALLOC_SUB_BUFFER_MAX]; in psb_CreateSurfacesFromGralloc() local
367 …if (gralloc_lock((buffer_handle_t)handle, usage, 0, 0, width, height, (void **)&vaddr[GRALLOC_SUB_… in psb_CreateSurfacesFromGralloc()
377 vaddr[GRALLOC_SUB_BUFFER0], buf_fd, cache_flag); in psb_CreateSurfacesFromGralloc()
387 obj_surface->share_info = (psb_surface_share_info_t *)vaddr[GRALLOC_SUB_BUFFER1]; in psb_CreateSurfacesFromGralloc()
[all …]
Dpsb_gralloc.h40 int left, int top, int width, int height, void** vaddr);
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3Mem.cpp105 int QCamera3Memory::cacheOpsInternal(uint32_t index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument
126 cache_inv_data.vaddr = vaddr; in cacheOpsInternal()
134 cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
546 void *vaddr = mmap(NULL, in allocate() local
551 if (vaddr == MAP_FAILED) { in allocate()
556 mPtr[i] = vaddr; in allocate()
604 void *vaddr = mmap(NULL, in allocateOne() local
609 if (vaddr == MAP_FAILED) { in allocateOne()
614 mPtr[mBufferCount] = vaddr; in allocateOne()
747 void *vaddr = NULL; in registerBuffer() local
[all …]
/hardware/intel/img/psb_video/src/
Dpsb_surface_attrib.c58 void *vaddr, in psb_surface_create_from_ub() argument
119 vaddr, fd, 0); in psb_surface_create_from_ub()
124 vaddr, fd, flags); in psb_surface_create_from_ub()
556 unsigned int *vaddr; in psb_CreateSurfaceFromUserspace() local
574 vaddr = (unsigned int *)(attribute_tpi->buffers[i]); in psb_CreateSurfaceFromUserspace()
604 attribute_tpi, psb_surface, vaddr, -1, PSB_USER_BUFFER_UNCACHED); in psb_CreateSurfaceFromUserspace()
607 attribute_tpi, psb_surface, vaddr, -1, 0); in psb_CreateSurfaceFromUserspace()
648 unsigned int *vaddr = NULL; in psb_CreateSurfaceFromION() local
690 vaddr = mmap(NULL, source_size, PROT_READ|PROT_WRITE, MAP_SHARED, ion_source_share.fd, 0); in psb_CreateSurfaceFromION()
691 if (MAP_FAILED == vaddr) { in psb_CreateSurfaceFromION()
[all …]
/hardware/qcom/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()
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderUtils.cpp105 int left, int top, int width, int height, void** vaddr) { in gfx_lock() argument
117 left, top, width, height, vaddr); in gfx_lock()
118 …ck: handle is %x, usage is %x, vaddr is %x.\n", (unsigned int)handle, usage, (unsigned int)*vaddr); in gfx_lock()
124 LOG_V("lock returned with address %p\n", *vaddr); in gfx_lock()
229 void* vaddr[3]; in DumpGfx() local
234 if (gfx_lock((buffer_handle_t)handle, usage, 0, 0, vinfo.width, vinfo.height, &vaddr[0]) != 0) in DumpGfx()
237 fwrite(vaddr[0], 1, vinfo.lumaStride * vinfo.height * 4, fp); in DumpGfx()
601 void* vaddr[3]; in doActionCopy() local
602 if (gfx_lock((buffer_handle_t) handle, usage, 0, 0, width, height, &vaddr[0]) != 0) in doActionCopy()
604 pSrcBuffer = (uint8_t*)vaddr[0]; in doActionCopy()
/hardware/qcom/camera/mm-image-codec/qomx_core/
DQOMX_JpegExtensions.h231 uint8_t *vaddr; member
302 void *vaddr; member
/hardware/libhardware/include/hardware/
Dgralloc.h229 void** vaddr);
283 void** vaddr, int fenceFd);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DWsbmWrapper.c288 int psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr) in psbWsbmCreateFromUB() argument
293 if (!buf || !vaddr) { in psbWsbmCreateFromUB()
299 ret = wsbmBODataUB(wsbmBuf, size, NULL, NULL, 0, vaddr, -1); in psbWsbmCreateFromUB()
DWsbmWrapper.h32 extern int psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr);
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DWsbmWrapper.c289 int psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr) in psbWsbmCreateFromUB() argument
294 if (!buf || !vaddr) { in psbWsbmCreateFromUB()
300 ret = wsbmBODataUB(wsbmBuf, size, NULL, NULL, 0, vaddr, -1); in psbWsbmCreateFromUB()
DWsbmWrapper.h32 extern int psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr);
/hardware/qcom/display/msm8084/libgralloc/
Dgpu.cpp225 uintptr_t vaddr = uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
239 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
241 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
242 hnd->offset = vaddr - uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
/hardware/qcom/display/msm8994/libgralloc/
Dgpu.cpp237 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local
253 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
255 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked()
256 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
/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()
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp320 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mapFrameBufferLocked() local
321 if (vaddr == MAP_FAILED) { in mapFrameBufferLocked()
325 module->framebuffer->base = intptr_t(vaddr); in mapFrameBufferLocked()
326 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()

12345