/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Header.cpp | 47 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 …]
|
D | IPACM_Routing.cpp | 53 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 …]
|
D | IPACM_Config.cpp | 173 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/ |
D | IPACM_Header.cpp | 47 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 …]
|
D | IPACM_Routing.cpp | 53 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 …]
|
D | IPACM_Config.cpp | 182 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/ |
D | IPACM_Header.h | 50 int m_fd;
|
D | IPACM_Routing.h | 72 int m_fd; /* File descriptor of the IPA device node /dev/ipa */ variable
|
D | IPACM_Config.h | 353 int m_fd; /* File descriptor of the IPA device node /dev/ipa */ variable
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Header.h | 50 int m_fd;
|
D | IPACM_Routing.h | 72 int m_fd; /* File descriptor of the IPA device node /dev/ipa */ variable
|
D | IPACM_Config.h | 358 int m_fd; /* File descriptor of the IPA device node /dev/ipa */ variable
|