Lines Matching refs:ion_device_fd
2604 m_pInput_ion[i].ion_device_fd =-1;
2633 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize,
2638 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize,
2642 if (m_pInput_ion[i].ion_device_fd < 0) {
2797 m_pOutput_ion[i].ion_device_fd =-1;
2824 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size,
2829 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(
2834 if (m_pOutput_ion[i].ion_device_fd < 0) {
3233 m_pInput_ion[i].ion_device_fd =-1;
3258 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize,
3263 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize,
3267 if (m_pInput_ion[i].ion_device_fd < 0) {
3404 m_pOutput_ion[i].ion_device_fd =-1;
3427 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size,
3432 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sOutPortDef.nBufferSize,
3436 if (m_pOutput_ion[i].ion_device_fd < 0) {
4847 int ion_device_fd =-1,rc=0,ion_dev_flags = 0;
4854 ion_device_fd = open (MEM_DEVICE,ion_dev_flags);
4855 if (ion_device_fd < 0) {
4857 return ion_device_fd;
4886 rc = ioctl(ion_device_fd,ION_IOC_ALLOC,alloc_data);
4890 close(ion_device_fd);
4891 ion_device_fd = -1;
4892 return ion_device_fd;
4895 rc = ioctl(ion_device_fd,ION_IOC_MAP,fd_data);
4899 buf_ion_info.ion_device_fd = ion_device_fd;
4903 ion_device_fd =-1;
4905 return ion_device_fd;
4914 if (ioctl(buf_ion_info->ion_device_fd,ION_IOC_FREE,
4919 close(buf_ion_info->ion_device_fd);
4921 buf_ion_info->ion_device_fd = -1;