Home
last modified time | relevance | path

Searched refs:cache_inv_data (Results 1 – 16 of 16) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c146 struct ion_flush_data cache_inv_data; in buffer_invalidate() local
149 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in buffer_invalidate()
151 cache_inv_data.vaddr = p_buffer->addr; in buffer_invalidate()
152 cache_inv_data.fd = p_buffer->ion_info_fd.fd; in buffer_invalidate()
153 cache_inv_data.handle = p_buffer->ion_info_fd.handle; in buffer_invalidate()
154 cache_inv_data.length = p_buffer->size; in buffer_invalidate()
156 custom_data.arg = (unsigned long)&cache_inv_data; in buffer_invalidate()
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c148 struct ion_flush_data cache_inv_data; in buffer_invalidate() local
151 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in buffer_invalidate()
153 cache_inv_data.vaddr = p_buffer->addr; in buffer_invalidate()
154 cache_inv_data.fd = p_buffer->ion_info_fd.fd; in buffer_invalidate()
155 cache_inv_data.handle = p_buffer->ion_info_fd.handle; in buffer_invalidate()
156 cache_inv_data.length = (unsigned int)p_buffer->size; in buffer_invalidate()
158 custom_data.arg = (unsigned long)&cache_inv_data; in buffer_invalidate()
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c148 struct ion_flush_data cache_inv_data; in buffer_invalidate() local
151 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in buffer_invalidate()
153 cache_inv_data.vaddr = p_buffer->addr; in buffer_invalidate()
154 cache_inv_data.fd = p_buffer->ion_info_fd.fd; in buffer_invalidate()
155 cache_inv_data.handle = p_buffer->ion_info_fd.handle; in buffer_invalidate()
156 cache_inv_data.length = (unsigned int)p_buffer->size; in buffer_invalidate()
158 custom_data.arg = (unsigned long)&cache_inv_data; in buffer_invalidate()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_app.c446 struct ion_flush_data cache_inv_data; in mm_stream_invalid_cache() local
479 cache_inv_data.vaddr = app_bufs->bufs[index].buffer; in mm_stream_invalid_cache()
480 cache_inv_data.fd = app_bufs->bufs[index].fd; in mm_stream_invalid_cache()
481 cache_inv_data.handle = app_bufs->ion_info_fd[index].handle; in mm_stream_invalid_cache()
482 cache_inv_data.length = app_bufs->alloc[index].len; in mm_stream_invalid_cache()
483 cache_inv_data.offset = 0; in mm_stream_invalid_cache()
485 custom_data.arg = (unsigned long)&cache_inv_data; in mm_stream_invalid_cache()
489 cache_inv_data.vaddr,cache_inv_data.fd,cache_inv_data.handle,cache_inv_data.length,ion_fd); in mm_stream_invalid_cache()
506 struct ion_flush_data cache_inv_data; in mm_stream_clear_invalid_cache() local
512 memset(&cache_inv_data, 0, sizeof(struct ion_flush_data)); in mm_stream_clear_invalid_cache()
[all …]
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Mem.cpp103 struct ion_flush_data cache_inv_data; in cacheOpsInternal() local
118 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in cacheOpsInternal()
120 cache_inv_data.vaddr = vaddr; in cacheOpsInternal()
121 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
122 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
123 cache_inv_data.length = mMemInfo[index].size; in cacheOpsInternal()
125 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
128 __func__, cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
129 (unsigned long)cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3Mem.cpp104 struct ion_flush_data cache_inv_data; in cacheOpsInternal() local
119 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in cacheOpsInternal()
121 cache_inv_data.vaddr = vaddr; in cacheOpsInternal()
122 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
123 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
124 cache_inv_data.length = (unsigned int)mMemInfo[index].size; in cacheOpsInternal()
126 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
129 __func__, cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
130 (unsigned long)cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3Mem.cpp104 struct ion_flush_data cache_inv_data; in cacheOpsInternal() local
119 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in cacheOpsInternal()
121 cache_inv_data.vaddr = vaddr; in cacheOpsInternal()
122 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
123 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
124 cache_inv_data.length = (unsigned int)mMemInfo[index].size; in cacheOpsInternal()
126 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
129 __func__, cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
130 (unsigned long)cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraMem.cpp107 struct ion_flush_data cache_inv_data; in cacheOpsInternal() local
116 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in cacheOpsInternal()
118 cache_inv_data.vaddr = vaddr; in cacheOpsInternal()
119 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
120 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
121 cache_inv_data.length = mMemInfo[index].size; in cacheOpsInternal()
123 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
126 __func__, cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
127 (unsigned long)cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraMem.cpp112 struct ion_flush_data cache_inv_data; in cacheOpsInternal() local
121 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in cacheOpsInternal()
123 cache_inv_data.vaddr = vaddr; in cacheOpsInternal()
124 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
125 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
126 cache_inv_data.length = in cacheOpsInternal()
130 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
133 __func__, cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
134 (unsigned long)cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraMem.cpp112 struct ion_flush_data cache_inv_data; in cacheOpsInternal() local
121 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in cacheOpsInternal()
123 cache_inv_data.vaddr = vaddr; in cacheOpsInternal()
124 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
125 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
126 cache_inv_data.length = in cacheOpsInternal()
130 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
133 __func__, cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
134 (unsigned long)cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQualcommUsbCamera.cpp1639 struct ion_flush_data cache_inv_data; in cache_ops() local
1649 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in cache_ops()
1651 cache_inv_data.vaddr = buf_ptr; in cache_ops()
1652 cache_inv_data.fd = mem_info->fd; in cache_ops()
1653 cache_inv_data.handle = mem_info->handle; in cache_ops()
1654 cache_inv_data.length = mem_info->size; in cache_ops()
1656 custom_data.arg = (unsigned long)&cache_inv_data; in cache_ops()
1659 __func__, cache_inv_data.vaddr, cache_inv_data.fd, in cache_ops()
1660 cache_inv_data.handle, cache_inv_data.length, in cache_ops()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c202 struct ion_flush_data cache_inv_data; in mm_app_cache_ops() local
212 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in mm_app_cache_ops()
214 cache_inv_data.vaddr = mem_info->data; in mm_app_cache_ops()
215 cache_inv_data.fd = mem_info->fd; in mm_app_cache_ops()
216 cache_inv_data.handle = mem_info->handle; in mm_app_cache_ops()
217 cache_inv_data.length = (unsigned int)mem_info->size; in mm_app_cache_ops()
219 custom_data.arg = (unsigned long)&cache_inv_data; in mm_app_cache_ops()
222 cache_inv_data.vaddr, cache_inv_data.fd, in mm_app_cache_ops()
223 (unsigned long)cache_inv_data.handle, cache_inv_data.length, in mm_app_cache_ops()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c202 struct ion_flush_data cache_inv_data; in mm_app_cache_ops() local
212 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in mm_app_cache_ops()
214 cache_inv_data.vaddr = mem_info->data; in mm_app_cache_ops()
215 cache_inv_data.fd = mem_info->fd; in mm_app_cache_ops()
216 cache_inv_data.handle = mem_info->handle; in mm_app_cache_ops()
217 cache_inv_data.length = (unsigned int)mem_info->size; in mm_app_cache_ops()
219 custom_data.arg = (unsigned long)&cache_inv_data; in mm_app_cache_ops()
222 cache_inv_data.vaddr, cache_inv_data.fd, in mm_app_cache_ops()
223 (unsigned long)cache_inv_data.handle, cache_inv_data.length, in mm_app_cache_ops()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c202 struct ion_flush_data cache_inv_data; in mm_app_cache_ops() local
212 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in mm_app_cache_ops()
214 cache_inv_data.vaddr = mem_info->data; in mm_app_cache_ops()
215 cache_inv_data.fd = mem_info->fd; in mm_app_cache_ops()
216 cache_inv_data.handle = mem_info->handle; in mm_app_cache_ops()
217 cache_inv_data.length = mem_info->size; in mm_app_cache_ops()
219 custom_data.arg = (unsigned long)&cache_inv_data; in mm_app_cache_ops()
222 cache_inv_data.vaddr, cache_inv_data.fd, in mm_app_cache_ops()
223 cache_inv_data.handle, cache_inv_data.length, in mm_app_cache_ops()
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp3339 struct ion_flush_data cache_inv_data; in cache_ops() local
3349 memset(&cache_inv_data, 0, sizeof(cache_inv_data)); in cache_ops()
3351 cache_inv_data.vaddr = buf_ptr; in cache_ops()
3352 cache_inv_data.fd = mem_info->fd; in cache_ops()
3353 cache_inv_data.handle = mem_info->handle; in cache_ops()
3354 cache_inv_data.length = mem_info->size; in cache_ops()
3356 custom_data.arg = (unsigned long)&cache_inv_data; in cache_ops()
3359 cache_inv_data.vaddr, cache_inv_data.fd, in cache_ops()
3360 cache_inv_data.handle, cache_inv_data.length, in cache_ops()
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraHWI.h497 int cache_ops(int ion_fd, struct ion_flush_data *cache_inv_data, int type);