Home
last modified time | relevance | path

Searched refs:ion_alloc_data (Results 1 – 15 of 15) sorted by relevance

/hardware/qcom/keymaster/
Dkeymaster_qcom.cpp199 struct ion_allocation_data ion_alloc_data; in qcom_km_ION_memalloc() local
221 ion_alloc_data.len = (size + 4095) & (~4095); in qcom_km_ION_memalloc()
224 ion_alloc_data.align = 4096; in qcom_km_ION_memalloc()
227 ion_alloc_data.ION_HEAP_MASK = ION_HEAP(ION_QSECOM_HEAP_ID); in qcom_km_ION_memalloc()
230 ion_alloc_data.flags = 0; in qcom_km_ION_memalloc()
233 rc = ioctl(ion_fd, ION_IOC_ALLOC, &ion_alloc_data); in qcom_km_ION_memalloc()
239 if (ion_alloc_data.handle != NULL) { in qcom_km_ION_memalloc()
240 ifd_data.handle = ion_alloc_data.handle; in qcom_km_ION_memalloc()
253 v_addr = (unsigned char *)mmap(NULL, ion_alloc_data.len, in qcom_km_ION_memalloc()
264 handle->ion_alloc_handle.handle = ion_alloc_data.handle; in qcom_km_ION_memalloc()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
Domx_video_common.h78 struct ion_allocation_data ion_alloc_data; member
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_common.h98 struct ion_allocation_data ion_alloc_data; member
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp2124 m_pInput_ion[i].ion_alloc_data.handle = 0; in use_input_buffer()
2152 &m_pInput_ion[i].ion_alloc_data, in use_input_buffer()
2156 &m_pInput_ion[i].ion_alloc_data, in use_input_buffer()
2315 m_pOutput_ion[i].ion_alloc_data.handle = 0; in use_output_buffer()
2342 &m_pOutput_ion[i].ion_alloc_data, in use_output_buffer()
2347 &m_pOutput_ion[i].ion_alloc_data, in use_output_buffer()
2718 m_pInput_ion[i].ion_alloc_data.handle = 0; in allocate_input_buffer()
2742 &m_pInput_ion[i].ion_alloc_data, in allocate_input_buffer()
2746 &m_pInput_ion[i].ion_alloc_data, in allocate_input_buffer()
2882 m_pOutput_ion[i].ion_alloc_data.handle = 0; in allocate_output_buffer()
[all …]
Dvideo_encoder_device_v4l2.cpp560 if (extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata()
570 &extradata_info.ion.ion_alloc_data, in allocate_extradata()
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Domx_video_base.cpp2104 m_pInput_ion[i].ion_alloc_data.handle=NULL; in use_input_buffer()
2135 &m_pInput_ion[i].ion_alloc_data, in use_input_buffer()
2301 m_pOutput_ion[i].ion_alloc_data.handle =NULL; in use_output_buffer()
2334 &m_pOutput_ion[i].ion_alloc_data, in use_output_buffer()
2729 m_pInput_ion[i].ion_alloc_data.handle=NULL; in allocate_input_buffer()
2753 &m_pInput_ion[i].ion_alloc_data, in allocate_input_buffer()
2886 m_pOutput_ion[i].ion_alloc_data.handle =NULL; in allocate_output_buffer()
2912 &m_pOutput_ion[i].ion_alloc_data, in allocate_output_buffer()
4343 buf_ion_info.ion_alloc_data = *alloc_data; in alloc_map_ion_memory()
4360 &buf_ion_info->ion_alloc_data.handle)) { in free_ion_memory()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec.cpp3973 &drv_ctx.op_buf_ion_info[i].ion_alloc_data, in use_output_buffer()
4573 &drv_ctx.ip_buf_ion_info[i].ion_alloc_data, in allocate_input_buffer()
4702 struct ion_allocation_data ion_alloc_data; in allocate_output_buffer() local
4901 &drv_ctx.op_buf_ion_info[i].ion_alloc_data, in allocate_output_buffer()
4970 ion_alloc_data.handle, in allocate_output_buffer()
7358 ion_buf_info.ion_alloc_data = *alloc_data; in alloc_map_ion_memory()
7383 buf_ion_info->ion_alloc_data.handle, in free_ion_memory()
7384 buf_ion_info->ion_alloc_data.len, in free_ion_memory()
7388 &buf_ion_info->ion_alloc_data.handle)) { in free_ion_memory()
7394 buf_ion_info->ion_alloc_data.handle = NULL; in free_ion_memory()
[all …]
Domx_vdec_hevc_swvdec.cpp4320 if (drv_ctx.extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata()
4333 &drv_ctx.extradata_info.ion.ion_alloc_data, in allocate_extradata()
4496 &drv_ctx.op_buf_ion_info[i].ion_alloc_data, in use_output_buffer()
5130 &drv_ctx.ip_buf_ion_info[i].ion_alloc_data, in allocate_input_buffer()
5276 struct ion_allocation_data ion_alloc_data; in allocate_output_buffer() local
5325 &ion_alloc_data, &fd_ion_data,flags, heap_id); in allocate_output_buffer()
5448 drv_ctx.op_buf_ion_info[i].ion_alloc_data = ion_alloc_data; in allocate_output_buffer()
7927 ion_buf_info.ion_alloc_data = *alloc_data; in alloc_map_ion_memory()
7946 &buf_ion_info->ion_alloc_data.handle)) { in free_ion_memory()
7952 buf_ion_info->ion_alloc_data.handle = 0; in free_ion_memory()
[all …]
Domx_vdec_hevc.cpp3592 if (drv_ctx.extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata()
3601 &drv_ctx.extradata_info.ion.ion_alloc_data, in allocate_extradata()
3726 &drv_ctx.op_buf_ion_info[i].ion_alloc_data, in use_output_buffer()
4272 &drv_ctx.ip_buf_ion_info[i].ion_alloc_data, in allocate_input_buffer()
4402 struct ion_allocation_data ion_alloc_data; in allocate_output_buffer() local
4443 &ion_alloc_data, &fd_ion_data, secure_mode ? ION_SECURE : 0); in allocate_output_buffer()
4555 drv_ctx.op_buf_ion_info[i].ion_alloc_data = ion_alloc_data; in allocate_output_buffer()
6963 ion_buf_info.ion_alloc_data = *alloc_data; in alloc_map_ion_memory()
6982 &buf_ion_info->ion_alloc_data.handle)) { in free_ion_memory()
6987 buf_ion_info->ion_alloc_data.handle = NULL; in free_ion_memory()
[all …]
Domx_vdec_msm8974.cpp4238 if (drv_ctx.extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata()
4246 &drv_ctx.extradata_info.ion.ion_alloc_data, in allocate_extradata()
4403 &drv_ctx.op_buf_ion_info[i].ion_alloc_data, in use_output_buffer()
4961 &drv_ctx.ip_buf_ion_info[i].ion_alloc_data, in allocate_input_buffer()
5094 struct ion_allocation_data ion_alloc_data; in allocate_output_buffer() local
5134 &ion_alloc_data, &fd_ion_data, secure_mode ? ION_SECURE : 0); in allocate_output_buffer()
5246 drv_ctx.op_buf_ion_info[i].ion_alloc_data = ion_alloc_data; in allocate_output_buffer()
7966 ion_buf_info.ion_alloc_data = *alloc_data; in alloc_map_ion_memory()
7985 &buf_ion_info->ion_alloc_data.handle)) { in free_ion_memory()
7990 buf_ion_info->ion_alloc_data.handle = 0; in free_ion_memory()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Domx_vdec.cpp4169 &drv_ctx.op_buf_ion_info[i].ion_alloc_data, in use_output_buffer()
4762 &drv_ctx.ip_buf_ion_info[i].ion_alloc_data, in allocate_input_buffer()
4890 struct ion_allocation_data ion_alloc_data; in allocate_output_buffer() local
5081 &drv_ctx.op_buf_ion_info[i].ion_alloc_data, in allocate_output_buffer()
5150 ion_alloc_data.handle, in allocate_output_buffer()
7630 ion_buf_info.ion_alloc_data = *alloc_data; in alloc_map_ion_memory()
7649 &buf_ion_info->ion_alloc_data.handle)) { in free_ion_memory()
7654 buf_ion_info->ion_alloc_data.handle = NULL; in free_ion_memory()
8926 &drv_ctx.h264_mv.ion_alloc_data, in vdec_alloc_h264_mv()
9323 &op_buf_ion_info[i].ion_alloc_data,&op_buf_ion_info[i].fd_ion_data, in allocate_buffers_color_convert()
[all …]
Domx_vdec_copper.cpp3849 &drv_ctx.op_buf_ion_info[i].ion_alloc_data, in use_output_buffer()
4407 &drv_ctx.ip_buf_ion_info[i].ion_alloc_data, in allocate_input_buffer()
4545 struct ion_allocation_data ion_alloc_data; in allocate_output_buffer() local
4586 &ion_alloc_data, &fd_ion_data, 0); in allocate_output_buffer()
4704 drv_ctx.op_buf_ion_info[i].ion_alloc_data = ion_alloc_data; in allocate_output_buffer()
7110 ion_buf_info.ion_alloc_data = *alloc_data; in alloc_map_ion_memory()
7129 &buf_ion_info->ion_alloc_data.handle)) { in free_ion_memory()
7134 buf_ion_info->ion_alloc_data.handle = NULL; in free_ion_memory()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
Domx_vdec.h223 struct ion_allocation_data ion_alloc_data; member
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h208 struct ion_allocation_data ion_alloc_data; member
Domx_vdec.h237 struct ion_allocation_data ion_alloc_data; member