Home
last modified time | relevance | path

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

/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/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()
639 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
649 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
681 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
692 retval = ioctl(m_fd, IPA_IOC_RM_ADD_DEPENDENCY, &dep); in AddRmDepend()
745 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
755 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
788 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
799 retval = ioctl(m_fd, IPA_IOC_RM_DEL_DEPENDENCY, &dep); in DelRmDepend()
[all …]
/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/inc/
DIPACM_Header.h50 int m_fd;
DIPACM_Routing.h72 int m_fd; /* File descriptor of the IPA device node /dev/ipa */ variable
/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.h367 int m_fd; /* File descriptor of the IPA device node /dev/ipa */ variable