Home
last modified time | relevance | path

Searched refs:m_fd (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Header.cpp47 m_fd = open(DEVICE_NAME, O_RDWR); in IPACM_Header()
48 if (-1 == m_fd) in IPACM_Header()
58 if (-1 != m_fd) in ~IPACM_Header()
60 close(m_fd); in ~IPACM_Header()
68 return (-1 != m_fd); in DeviceNodeIsOpened()
77 nRetVal = ioctl(m_fd, IPA_IOC_ADD_HDR, pHeaderTableToAdd); in AddHeader()
88 nRetVal = ioctl(m_fd, IPA_IOC_DEL_HDR, pHeaderTableToDelete); in DeleteHeader()
98 nRetVal = ioctl(m_fd, IPA_IOC_COMMIT_HDR); in Commit()
109 nRetVal = ioctl(m_fd, IPA_IOC_RESET_HDR); in Reset()
110 nRetVal |= ioctl(m_fd, IPA_IOC_COMMIT_HDR); in Reset()
[all …]
DIPACM_Routing.cpp53 m_fd = open(DEVICE_NAME, O_RDWR); in IPACM_Routing()
54 if (0 == m_fd) in IPACM_Routing()
62 close(m_fd); in ~IPACM_Routing()
67 int res = fcntl(m_fd, F_GETFL); in DeviceNodeIsOpened()
69 if (m_fd > 0 && res >= 0) return true; in DeviceNodeIsOpened()
99 retval = ioctl(m_fd, IPA_IOC_ADD_RT_RULE, ruleTable); in AddRoutingRule()
121 retval = ioctl(m_fd, IPA_IOC_DEL_RT_RULE, ruleTable); in DeleteRoutingRule()
138 retval = ioctl(m_fd, IPA_IOC_COMMIT_RT, ip); in Commit()
155 retval = ioctl(m_fd, IPA_IOC_RESET_RT, ip); in Reset()
156 retval |= ioctl(m_fd, IPA_IOC_COMMIT_RT, ip); in Reset()
[all …]
DIPACM_Config.cpp173 m_fd = open(DEVICE_NAME, O_RDWR); in Init()
174 if (0 > m_fd) in Init()
587 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
597 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
629 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
640 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
693 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
703 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
736 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
747 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Header.cpp47 m_fd = open(DEVICE_NAME, O_RDWR); in IPACM_Header()
48 if (-1 == m_fd) in IPACM_Header()
58 if (-1 != m_fd) in ~IPACM_Header()
60 close(m_fd); in ~IPACM_Header()
68 return (-1 != m_fd); in DeviceNodeIsOpened()
77 nRetVal = ioctl(m_fd, IPA_IOC_ADD_HDR, pHeaderTableToAdd); in AddHeader()
88 nRetVal = ioctl(m_fd, IPA_IOC_DEL_HDR, pHeaderTableToDelete); in DeleteHeader()
98 nRetVal = ioctl(m_fd, IPA_IOC_COMMIT_HDR); in Commit()
109 nRetVal = ioctl(m_fd, IPA_IOC_RESET_HDR); in Reset()
110 nRetVal |= ioctl(m_fd, IPA_IOC_COMMIT_HDR); in Reset()
[all …]
DIPACM_Routing.cpp53 m_fd = open(DEVICE_NAME, O_RDWR); in IPACM_Routing()
54 if (0 == m_fd) in IPACM_Routing()
62 close(m_fd); in ~IPACM_Routing()
67 int res = fcntl(m_fd, F_GETFL); in DeviceNodeIsOpened()
69 if (m_fd > 0 && res >= 0) return true; in DeviceNodeIsOpened()
99 retval = ioctl(m_fd, IPA_IOC_ADD_RT_RULE, ruleTable); in AddRoutingRule()
181 retval = ioctl(m_fd, IPA_IOC_ADD_RT_RULE_V2, ruleTable_v2); in AddRoutingRule_hw_index()
230 retval = ioctl(m_fd, IPA_IOC_DEL_RT_RULE, ruleTable); in DeleteRoutingRule()
247 retval = ioctl(m_fd, IPA_IOC_COMMIT_RT, ip); in Commit()
264 retval = ioctl(m_fd, IPA_IOC_RESET_RT, ip); in Reset()
[all …]
DIPACM_Config.cpp194 m_fd = open(DEVICE_NAME, O_RDWR); in Init()
195 if (0 > m_fd) in Init()
642 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
652 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
684 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
695 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
748 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
758 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
791 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
802 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
[all …]
/hardware/google/gfxstream/guest/android/
DGrallocMinigbm.cpp63 ManagedDrmGem(int fd, uint32_t handle) : m_fd(fd), m_prime_handle(handle) {} in getVirtioGpuResourceInfo()
69 int ret = drmIoctl(m_fd, DRM_IOCTL_GEM_CLOSE, &gem_close); in getVirtioGpuResourceInfo()
76 int m_fd; in getVirtioGpuResourceInfo() member
152 int ret = drmIoctl(m_fd, DRM_IOCTL_VIRTGPU_RESOURCE_CREATE, &res_create); in createColorBuffer()
188 if (!getVirtioGpuResourceInfo(m_fd, handle, &info)) { in getHostHandle()
238 if (!getVirtioGpuResourceInfo(m_fd, handle, &info)) { in getAllocatedSize()
DGrallocMinigbm.h53 void setFd(int fd) { m_fd = fd; } in setFd()
56 int m_fd;
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Header.h50 int m_fd;
DIPACM_Routing.h72 int m_fd; /* File descriptor of the IPA device node /dev/ipa */ variable
DIPACM_Config.h353 int m_fd; /* File descriptor of the IPA device node /dev/ipa */ variable
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Header.h50 int m_fd;
DIPACM_Routing.h76 int m_fd; /* File descriptor of the IPA device node /dev/ipa */ variable
DIPACM_Config.h374 int m_fd; /* File descriptor of the IPA device node /dev/ipa */ variable
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DVirtioGpuPipeStream.h59 int m_fd = -1; variable
DVirtioGpuPipeStream.cpp40 m_fd(fd), in VirtioGpuPipeStream()
65 m_device.reset(createPlatformVirtGpuDevice(kCapsetNone, m_fd)); in connect()