Lines Matching refs:ion_device_fd
2435 m_pInput_ion[i].ion_device_fd =-1;
2463 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize,
2467 if (m_pInput_ion[i].ion_device_fd < 0) {
2620 m_pOutput_ion[i].ion_device_fd =-1;
2646 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size,
2650 if (m_pOutput_ion[i].ion_device_fd < 0) {
3039 m_pInput_ion[i].ion_device_fd =-1;
3063 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize,
3067 if (m_pInput_ion[i].ion_device_fd < 0) {
3203 m_pOutput_ion[i].ion_device_fd =-1;
3225 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size,
3229 if (m_pOutput_ion[i].ion_device_fd < 0) {
4467 int ion_device_fd =-1,rc=0,ion_dev_flags = 0;
4474 ion_device_fd = open (MEM_DEVICE,ion_dev_flags);
4475 if (ion_device_fd < 0) {
4477 return ion_device_fd;
4502 rc = ioctl(ion_device_fd,ION_IOC_ALLOC,alloc_data);
4506 close(ion_device_fd);
4507 ion_device_fd = -1;
4508 return ion_device_fd;
4511 rc = ioctl(ion_device_fd,ION_IOC_MAP,fd_data);
4515 buf_ion_info.ion_device_fd = ion_device_fd;
4519 ion_device_fd =-1;
4521 return ion_device_fd;
4530 if (ioctl(buf_ion_info->ion_device_fd,ION_IOC_FREE,
4535 close(buf_ion_info->ion_device_fd);
4537 buf_ion_info->ion_device_fd = -1;