/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_ionbuf.c | 156 struct ion_custom_data custom_data; in buffer_invalidate() local 159 memset(&custom_data, 0, sizeof(custom_data)); in buffer_invalidate() 164 custom_data.cmd = (unsigned int)ION_IOC_INV_CACHES; in buffer_invalidate() 165 custom_data.arg = (unsigned long)&cache_inv_data; in buffer_invalidate() 167 lrc = ioctl(p_buffer->ion_fd, ION_IOC_CUSTOM, &custom_data); in buffer_invalidate() 190 struct ion_custom_data custom_data; in buffer_clean() local 193 memset(&custom_data, 0, sizeof(custom_data)); in buffer_clean() 198 custom_data.cmd = (unsigned int)ION_IOC_CLEAN_CACHES; in buffer_clean() 199 custom_data.arg = (unsigned long)&cache_clean_data; in buffer_clean() 201 lrc = ioctl(p_buffer->ion_fd, ION_IOC_CUSTOM, &custom_data); in buffer_clean()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 112 struct ion_custom_data custom_data; in cacheOpsInternal() local 127 memset(&custom_data, 0, sizeof(custom_data)); in cacheOpsInternal() 132 custom_data.cmd = cmd; in cacheOpsInternal() 133 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal() 139 ret = ioctl(main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.cpp | 127 struct ion_custom_data custom_data; in cacheOpsInternal() local 136 memset(&custom_data, 0, sizeof(custom_data)); in cacheOpsInternal() 143 custom_data.cmd = cmd; in cacheOpsInternal() 144 custom_data.arg = (unsigned long)&cache_inv_data; in cacheOpsInternal() 150 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
|
/hardware/qcom/camera/msm8998/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 1640 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()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 213 struct ion_custom_data custom_data; in mm_app_cache_ops() local 223 memset(&custom_data, 0, sizeof(custom_data)); in mm_app_cache_ops() 228 custom_data.cmd = (unsigned int)cmd; in mm_app_cache_ops() 229 custom_data.arg = (unsigned long)&cache_inv_data; in mm_app_cache_ops() 236 if(ioctl(mem_info->main_ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) { in mm_app_cache_ops()
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_swvdec.cpp | 4828 struct ion_custom_data custom_data; in ion_flush_op() local 4832 memset(&custom_data, 0, sizeof(custom_data)); in ion_flush_op() 4861 custom_data.cmd = ION_IOC_CLEAN_CACHES; in ion_flush_op() 4862 custom_data.arg = (unsigned long) &flush_data; in ion_flush_op() 4870 rc = ioctl(fd, ION_IOC_CUSTOM, &custom_data); in ion_flush_op()
|
D | omx_vdec_v4l2.cpp | 11593 struct ion_custom_data custom_data; in cache_ops() local 11596 memset(&custom_data, 0x0, sizeof(custom_data)); in cache_ops() 11602 custom_data.cmd = cmd; in cache_ops() 11603 custom_data.arg = (unsigned long)&flush_data; in cache_ops() 11609 int ret = ioctl(op_buf_ion_info[index].ion_device_fd, ION_IOC_CUSTOM, &custom_data); in cache_ops() 11889 … struct ion_custom_data *custom_data = (struct ion_custom_data*) malloc(sizeof(*custom_data)); in prefetchNewBuffers() local 11894 if (custom_data == NULL || prefetch_data == NULL || regions == NULL || sizes == NULL) { in prefetchNewBuffers() 11911 custom_data->cmd = ION_IOC_PREFETCH; in prefetchNewBuffers() 11912 custom_data->arg = (unsigned long )prefetch_data; in prefetchNewBuffers() 11914 rc = ioctl(ion_fd, ION_IOC_CUSTOM, custom_data); in prefetchNewBuffers() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 11892 struct ion_custom_data custom_data; in cache_ops() local 11895 memset(&custom_data, 0x0, sizeof(custom_data)); in cache_ops() 11901 custom_data.cmd = cmd; in cache_ops() 11902 custom_data.arg = (unsigned long)&flush_data; in cache_ops() 11908 int ret = ioctl(op_buf_ion_info[index].ion_device_fd, ION_IOC_CUSTOM, &custom_data); in cache_ops() 12384 … struct ion_custom_data *custom_data = (struct ion_custom_data*) malloc(sizeof(*custom_data)); in prefetchNewBuffers() local 12389 if (custom_data == NULL || prefetch_data == NULL || regions == NULL || sizes == NULL) { in prefetchNewBuffers() 12406 custom_data->cmd = ION_IOC_PREFETCH; in prefetchNewBuffers() 12407 custom_data->arg = (unsigned long )prefetch_data; in prefetchNewBuffers() 12409 rc = ioctl(ion_fd, ION_IOC_CUSTOM, custom_data); in prefetchNewBuffers() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 13095 struct ion_custom_data custom_data; in cache_ops() local 13098 memset(&custom_data, 0x0, sizeof(custom_data)); in cache_ops() 13104 custom_data.cmd = cmd; in cache_ops() 13105 custom_data.arg = (unsigned long)&flush_data; in cache_ops() 13111 int ret = ioctl(op_buf_ion_info[index].ion_device_fd, ION_IOC_CUSTOM, &custom_data); in cache_ops() 13598 … struct ion_custom_data *custom_data = (struct ion_custom_data*) malloc(sizeof(*custom_data)); in prefetchNewBuffers() local 13603 if (custom_data == NULL || prefetch_data == NULL || regions == NULL || sizes == NULL) { in prefetchNewBuffers() 13620 custom_data->cmd = ION_IOC_PREFETCH; in prefetchNewBuffers() 13621 custom_data->arg = (unsigned long )prefetch_data; in prefetchNewBuffers() 13623 rc = ioctl(ion_fd, ION_IOC_CUSTOM, custom_data); in prefetchNewBuffers() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_msm8974.cpp | 10597 struct ion_custom_data custom_data; in cache_ops() local 10600 memset(&custom_data, 0x0, sizeof(custom_data)); in cache_ops() 10606 custom_data.cmd = cmd; in cache_ops() 10607 custom_data.arg = (unsigned long)&flush_data; in cache_ops() 10613 int ret = ioctl(op_buf_ion_info[index].ion_device_fd, ION_IOC_CUSTOM, &custom_data); in cache_ops()
|