Home
last modified time | relevance | path

Searched refs:m_fd (Results 1 – 12 of 12) 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/sdm845/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()
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.cpp182 m_fd = open(DEVICE_NAME, O_RDWR); in Init()
183 if (0 > m_fd) in Init()
627 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
637 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
669 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
680 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
733 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
743 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
776 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
787 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
[all …]
/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/sdm845/data/ipacfg-mgr/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.h358 int m_fd; /* File descriptor of the IPA device node /dev/ipa */ variable