Home
last modified time | relevance | path

Searched refs:ion_info (Results 1 – 14 of 14) sorted by relevance

/hardware/qcom/msm8998/original-kernel-headers/linux/
Dspcom.h106 struct spcom_ion_info ion_info[SPCOM_MAX_ION_BUF]; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dspcom.h84 struct spcom_ion_info ion_info[SPCOM_MAX_ION_BUF]; member
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp5067 bool omx_video::alloc_map_ion_memory(int size, venc_ion *ion_info, int flag) in alloc_map_ion_memory() argument
5072 if (size <=0 || !ion_info) { in alloc_map_ion_memory()
5077 ion_info->data_fd = -1; in alloc_map_ion_memory()
5078 ion_info->dev_fd = ion_open(); in alloc_map_ion_memory()
5079 if (ion_info->dev_fd <= 0) { in alloc_map_ion_memory()
5085 ion_info->alloc_data.len = (size + (SECURE_ALIGN - 1)) & ~(SECURE_ALIGN - 1); in alloc_map_ion_memory()
5086 ion_info->alloc_data.flags = flag; in alloc_map_ion_memory()
5087 ion_info->alloc_data.heap_id_mask = ION_HEAP(MEM_HEAP_ID); in alloc_map_ion_memory()
5088 if (ion_info->alloc_data.flags & ION_FLAG_CP_BITSTREAM) { in alloc_map_ion_memory()
5089 ion_info->alloc_data.heap_id_mask |= ION_HEAP(ION_SECURE_DISPLAY_HEAP_ID); in alloc_map_ion_memory()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp3283 m_buffer_array_ip[ii].ion_info.ion_fd_device = in buffer_allocate_ip()
3284 ion_memory_alloc_map(&m_buffer_array_ip[ii].ion_info.ion_alloc_data, in buffer_allocate_ip()
3285 &m_buffer_array_ip[ii].ion_info.ion_fd_data, in buffer_allocate_ip()
3289 if (m_buffer_array_ip[ii].ion_info.ion_fd_device < 0) in buffer_allocate_ip()
3295 pmem_fd = m_buffer_array_ip[ii].ion_info.ion_fd_data.fd; in buffer_allocate_ip()
3310 ion_memory_free(&m_buffer_array_ip[ii].ion_info); in buffer_allocate_ip()
3420 m_buffer_array_op[ii].ion_info.ion_fd_device = in buffer_allocate_op()
3421 ion_memory_alloc_map(&m_buffer_array_op[ii].ion_info.ion_alloc_data, in buffer_allocate_op()
3422 &m_buffer_array_op[ii].ion_info.ion_fd_data, in buffer_allocate_op()
3426 if (m_buffer_array_op[ii].ion_info.ion_fd_device < 0) in buffer_allocate_op()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp3588 m_buffer_array_ip[ii].ion_info.ion_fd_device = in buffer_allocate_ip()
3589 ion_memory_alloc_map(&m_buffer_array_ip[ii].ion_info.ion_alloc_data, in buffer_allocate_ip()
3590 &m_buffer_array_ip[ii].ion_info.ion_fd_data, in buffer_allocate_ip()
3594 if (m_buffer_array_ip[ii].ion_info.ion_fd_device < 0) in buffer_allocate_ip()
3600 pmem_fd = m_buffer_array_ip[ii].ion_info.ion_fd_data.fd; in buffer_allocate_ip()
3616 ion_memory_free(&m_buffer_array_ip[ii].ion_info); in buffer_allocate_ip()
3727 m_buffer_array_op[ii].ion_info.ion_fd_device = in buffer_allocate_op()
3728 ion_memory_alloc_map(&m_buffer_array_op[ii].ion_info.ion_alloc_data, in buffer_allocate_op()
3729 &m_buffer_array_op[ii].ion_info.ion_fd_data, in buffer_allocate_op()
3733 if (m_buffer_array_op[ii].ion_info.ion_fd_device < 0) in buffer_allocate_op()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp3640 m_buffer_array_ip[ii].ion_info.ion_fd_device = in buffer_allocate_ip()
3641 ion_memory_alloc_map(&m_buffer_array_ip[ii].ion_info.ion_alloc_data, in buffer_allocate_ip()
3642 &m_buffer_array_ip[ii].ion_info.ion_fd_data, in buffer_allocate_ip()
3646 if (m_buffer_array_ip[ii].ion_info.ion_fd_device < 0) in buffer_allocate_ip()
3652 pmem_fd = m_buffer_array_ip[ii].ion_info.ion_fd_data.fd; in buffer_allocate_ip()
3668 ion_memory_free(&m_buffer_array_ip[ii].ion_info); in buffer_allocate_ip()
3780 m_buffer_array_op[ii].ion_info.ion_fd_device = in buffer_allocate_op()
3781 ion_memory_alloc_map(&m_buffer_array_op[ii].ion_info.ion_alloc_data, in buffer_allocate_op()
3782 &m_buffer_array_op[ii].ion_info.ion_fd_data, in buffer_allocate_op()
3786 if (m_buffer_array_op[ii].ion_info.ion_fd_device < 0) in buffer_allocate_op()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp3651 m_buffer_array_ip[ii].ion_info.dev_fd= in buffer_allocate_ip()
3652 ion_memory_alloc_map(&m_buffer_array_ip[ii].ion_info,size, in buffer_allocate_ip()
3655 if (m_buffer_array_ip[ii].ion_info.dev_fd< 0) in buffer_allocate_ip()
3661 pmem_fd = m_buffer_array_ip[ii].ion_info.data_fd; in buffer_allocate_ip()
3672 ion_memory_free(&m_buffer_array_ip[ii].ion_info); in buffer_allocate_ip()
3799 m_buffer_array_op[ii].ion_info.dev_fd= in buffer_allocate_op()
3800 ion_memory_alloc_map(&m_buffer_array_op[ii].ion_info,size, in buffer_allocate_op()
3803 if (m_buffer_array_op[ii].ion_info.dev_fd < 0) in buffer_allocate_op()
3809 pmem_fd = m_buffer_array_op[ii].ion_info.data_fd; in buffer_allocate_op()
3820 ion_memory_free(&m_buffer_array_op[ii].ion_info); in buffer_allocate_op()
[all …]
Domx_vdec_v4l2.cpp9812 bool omx_vdec::alloc_map_ion_memory(OMX_U32 buffer_size, vdec_ion *ion_info, int flag) in alloc_map_ion_memory() argument
9819 if (!ion_info || buffer_size <= 0) { in alloc_map_ion_memory()
9824 ion_info->dev_fd = ion_open(); in alloc_map_ion_memory()
9825 if (ion_info->dev_fd < 0) { in alloc_map_ion_memory()
9826 DEBUG_PRINT_ERROR("opening ion device failed with ion_fd = %d", ion_info->dev_fd); in alloc_map_ion_memory()
9830 ion_info->alloc_data.flags = flag; in alloc_map_ion_memory()
9831 ion_info->alloc_data.len = buffer_size; in alloc_map_ion_memory()
9833 ion_info->alloc_data.heap_id_mask = ION_HEAP(ION_SYSTEM_HEAP_ID); in alloc_map_ion_memory()
9834 if (secure_mode && (ion_info->alloc_data.flags & ION_FLAG_SECURE)) { in alloc_map_ion_memory()
9835 ion_info->alloc_data.heap_id_mask = ION_HEAP(MEM_HEAP_ID); in alloc_map_ion_memory()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h107 struct vdec_ion ion_info; member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h101 struct vdec_ion ion_info; member
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h108 struct vdec_ion ion_info; member
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h113 struct vdec_ion ion_info; member
Domx_vdec.h994 bool alloc_map_ion_memory(OMX_U32 buffer_size, vdec_ion *ion_info, int flag);
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h648 bool alloc_map_ion_memory(int size, venc_ion *ion_info,