Lines Matching refs:ion_device_fd
2527 m_pInput_ion[i].ion_device_fd =-1;
2557 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize,
2562 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize,
2566 if (m_pInput_ion[i].ion_device_fd < 0) {
2721 m_pOutput_ion[i].ion_device_fd =-1;
2748 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size,
2753 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(
2758 if (m_pOutput_ion[i].ion_device_fd < 0) {
3149 m_pInput_ion[i].ion_device_fd =-1;
3174 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize,
3179 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize,
3183 if (m_pInput_ion[i].ion_device_fd < 0) {
3319 m_pOutput_ion[i].ion_device_fd =-1;
3342 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size,
3347 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sOutPortDef.nBufferSize,
3351 if (m_pOutput_ion[i].ion_device_fd < 0) {
4728 int ion_device_fd =-1,rc=0,ion_dev_flags = 0;
4735 ion_device_fd = open (MEM_DEVICE,ion_dev_flags);
4736 if (ion_device_fd < 0) {
4738 return ion_device_fd;
4767 rc = ioctl(ion_device_fd,ION_IOC_ALLOC,alloc_data);
4771 close(ion_device_fd);
4772 ion_device_fd = -1;
4773 return ion_device_fd;
4776 rc = ioctl(ion_device_fd,ION_IOC_MAP,fd_data);
4780 buf_ion_info.ion_device_fd = ion_device_fd;
4784 ion_device_fd =-1;
4786 return ion_device_fd;
4795 if (ioctl(buf_ion_info->ion_device_fd,ION_IOC_FREE,
4800 close(buf_ion_info->ion_device_fd);
4802 buf_ion_info->ion_device_fd = -1;