Home
last modified time | relevance | path

Searched refs:custom_data (Results 1 – 13 of 13) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c147 struct ion_custom_data custom_data; in buffer_invalidate() local
150 memset(&custom_data, 0, sizeof(custom_data)); in buffer_invalidate()
155 custom_data.cmd = ION_IOC_INV_CACHES; in buffer_invalidate()
156 custom_data.arg = (unsigned long)&cache_inv_data; in buffer_invalidate()
158 lrc = ioctl(p_buffer->ion_info_fd.fd, ION_IOC_CUSTOM, &custom_data); in buffer_invalidate()
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3Mem.cpp100 struct ion_custom_data custom_data; in cacheOpsInternal() local
109 memset(&custom_data, 0, sizeof(custom_data)); in cacheOpsInternal()
114 custom_data.cmd = cmd; in cacheOpsInternal()
115 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
121 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_app.c447 struct ion_custom_data custom_data; in mm_stream_invalid_cache() local
484 custom_data.cmd = ION_IOC_INV_CACHES; in mm_stream_invalid_cache()
485 custom_data.arg = (unsigned long)&cache_inv_data; in mm_stream_invalid_cache()
491 if(ioctl(ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) in mm_stream_invalid_cache()
507 struct ion_custom_data custom_data; in mm_stream_clear_invalid_cache() local
540 custom_data.cmd = ION_IOC_CLEAN_INV_CACHES; in mm_stream_clear_invalid_cache()
541 custom_data.arg = (unsigned long)&cache_inv_data; in mm_stream_clear_invalid_cache()
544 if(ioctl(ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) in mm_stream_clear_invalid_cache()
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Mem.cpp100 struct ion_custom_data custom_data; in cacheOpsInternal() local
109 memset(&custom_data, 0, sizeof(custom_data)); in cacheOpsInternal()
114 custom_data.cmd = cmd; in cacheOpsInternal()
115 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
121 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Mem.cpp104 struct ion_custom_data custom_data; in cacheOpsInternal() local
119 memset(&custom_data, 0, sizeof(custom_data)); in cacheOpsInternal()
124 custom_data.cmd = cmd; in cacheOpsInternal()
125 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
131 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
/device/asus/flo/camera/QCamera2/HAL/
DQCameraMem.cpp109 struct ion_custom_data custom_data; in cacheOpsInternal() local
118 memset(&custom_data, 0, sizeof(custom_data)); in cacheOpsInternal()
123 custom_data.cmd = cmd; in cacheOpsInternal()
124 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
130 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraMem.cpp109 struct ion_custom_data custom_data; in cacheOpsInternal() local
118 memset(&custom_data, 0, sizeof(custom_data)); in cacheOpsInternal()
123 custom_data.cmd = cmd; in cacheOpsInternal()
124 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
130 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c202 struct ion_custom_data custom_data; in mm_app_cache_ops() local
212 memset(&custom_data, 0, sizeof(custom_data)); in mm_app_cache_ops()
217 custom_data.cmd = cmd; in mm_app_cache_ops()
218 custom_data.arg = (unsigned long)&cache_inv_data; in mm_app_cache_ops()
225 if(ioctl(mem_info->main_ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) { in mm_app_cache_ops()
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c202 struct ion_custom_data custom_data; in mm_app_cache_ops() local
212 memset(&custom_data, 0, sizeof(custom_data)); in mm_app_cache_ops()
217 custom_data.cmd = cmd; in mm_app_cache_ops()
218 custom_data.arg = (unsigned long)&cache_inv_data; in mm_app_cache_ops()
225 if(ioctl(mem_info->main_ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) { in mm_app_cache_ops()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraMem.cpp108 struct ion_custom_data custom_data; in cacheOpsInternal() local
117 memset(&custom_data, 0, sizeof(custom_data)); in cacheOpsInternal()
122 custom_data.cmd = cmd; in cacheOpsInternal()
123 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal()
129 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQualcommUsbCamera.cpp1640 struct ion_custom_data custom_data; in cache_ops() local
1650 memset(&custom_data, 0, sizeof(custom_data)); in cache_ops()
1655 custom_data.cmd = cmd; in cache_ops()
1656 custom_data.arg = (unsigned long)&cache_inv_data; in cache_ops()
1663 if(ioctl(mem_info->main_ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) { in cache_ops()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c203 struct ion_custom_data custom_data; in mm_app_cache_ops() local
213 memset(&custom_data, 0, sizeof(custom_data)); in mm_app_cache_ops()
218 custom_data.cmd = cmd; in mm_app_cache_ops()
219 custom_data.arg = (unsigned long)&cache_inv_data; in mm_app_cache_ops()
226 if(ioctl(mem_info->main_ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) { in mm_app_cache_ops()
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp3340 struct ion_custom_data custom_data; in cache_ops() local
3350 memset(&custom_data, 0, sizeof(custom_data)); in cache_ops()
3355 custom_data.cmd = cmd; in cache_ops()
3356 custom_data.arg = (unsigned long)&cache_inv_data; in cache_ops()
3363 if(ioctl(mem_info->main_ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) { in cache_ops()