/hardware/qcom/display/msm8084/liboverlay/ |
D | mdpWrapper.h | 125 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo() 134 if (ioctl(fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { in getVScreenInfo() 143 if (ioctl(fd, FBIOPUT_VSCREENINFO, &vinfo) < 0) { in setVScreenInfo() 152 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ in startRotator() 161 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { in rotate() 170 if (ioctl(fd, MSMFB_OVERLAY_SET, &ov) < 0) { in setOverlay() 179 if (ioctl(fd, MSMFB_OVERLAY_PREPARE, &list) < 0) { in validateAndSet() 188 if (ioctl(fd, MSM_ROTATOR_IOCTL_FINISH, &sessionId) < 0) { in endRotator() 197 if (ioctl(fd, MSMFB_OVERLAY_UNSET, &ovId) < 0) { in unsetOverlay() 206 if (ioctl(fd, MSMFB_OVERLAY_GET, &ov) < 0) { in getOverlay() [all …]
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | mdpWrapper.h | 123 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo() 133 if (ioctl(fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { in getVScreenInfo() 143 if (ioctl(fd, FBIOPUT_VSCREENINFO, &vinfo) < 0) { in setVScreenInfo() 153 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ in startRotator() 163 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { in rotate() 173 if (ioctl(fd, MSMFB_OVERLAY_SET, &ov) < 0) { in setOverlay() 183 if (ioctl(fd, MSMFB_OVERLAY_PREPARE, &list) < 0) { in validateAndSet() 193 if (ioctl(fd, MSM_ROTATOR_IOCTL_FINISH, &sessionId) < 0) { in endRotator() 203 if (ioctl(fd, MSMFB_OVERLAY_UNSET, &ovId) < 0) { in unsetOverlay() 213 if (ioctl(fd, MSMFB_OVERLAY_GET, &ov) < 0) { in getOverlay() [all …]
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | mdpWrapper.h | 125 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo() 135 if (ioctl(fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { in getVScreenInfo() 145 if (ioctl(fd, FBIOPUT_VSCREENINFO, &vinfo) < 0) { in setVScreenInfo() 155 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ in startRotator() 165 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { in rotate() 175 if (ioctl(fd, MSMFB_OVERLAY_SET, &ov) < 0) { in setOverlay() 198 if (ioctl(fd, MSMFB_OVERLAY_PREPARE, &list) < 0) { in validateAndSet() 217 if (ioctl(fd, MSM_ROTATOR_IOCTL_FINISH, &sessionId) < 0) { in endRotator() 230 if (ioctl(fd, MSMFB_OVERLAY_UNSET, &ovId) < 0) { in unsetOverlay() 240 if (ioctl(fd, MSMFB_OVERLAY_GET, &ov) < 0) { in getOverlay() [all …]
|
/hardware/qcom/display/msm8909/liboverlay/ |
D | mdpWrapper.h | 125 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo() 135 if (ioctl(fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { in getVScreenInfo() 145 if (ioctl(fd, FBIOPUT_VSCREENINFO, &vinfo) < 0) { in setVScreenInfo() 155 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ in startRotator() 165 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { in rotate() 175 if (ioctl(fd, MSMFB_OVERLAY_SET, &ov) < 0) { in setOverlay() 198 if (ioctl(fd, MSMFB_OVERLAY_PREPARE, &list) < 0) { in validateAndSet() 217 if (ioctl(fd, MSM_ROTATOR_IOCTL_FINISH, &sessionId) < 0) { in endRotator() 230 if (ioctl(fd, MSMFB_OVERLAY_UNSET, &ovId) < 0) { in unsetOverlay() 240 if (ioctl(fd, MSMFB_OVERLAY_GET, &ov) < 0) { in getOverlay() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Header.cpp | 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() 123 retval = ioctl(m_fd, IPA_IOC_GET_HDR, pHeaderStruct); in GetHeaderHandle() 142 retval = ioctl(m_fd, IPA_IOC_COPY_HDR, pCopyHeaderStruct); in CopyHeader() 205 ret = ioctl(m_fd, IPA_IOC_ADD_HDR_PROC_CTX, pHeader); in AddHeaderProcCtx() 227 ret = ioctl(m_fd, IPA_IOC_DEL_HDR_PROC_CTX, pHeaderTable); in DeleteHeaderProcCtx()
|
D | IPACM_Routing.cpp | 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() 173 retval = ioctl(m_fd, IPA_IOC_GET_RT_TBL, routingTable); in GetRoutingTable() 192 retval = ioctl(m_fd, IPA_IOC_PUT_RT_TBL, routingTableHandle); in PutRoutingTable() 259 retval = ioctl(m_fd, IPA_IOC_MDFY_RT_RULE, mdfyRules); in ModifyRoutingRule()
|
/hardware/akm/AK8975_FS/akmdfs/ |
D | AK8975Driver.c | 99 if (ioctl(s_fdDev, ECS_IOCTL_WRITE, buf) < 0) { in AKD_TxData() 149 if (ioctl(s_fdDev, ECS_IOCTL_READ, buf) < 0) { in AKD_RxData() 184 if (ioctl(s_fdDev, ECS_IOCTL_GETDATA, data) < 0) { in AKD_GetMagneticData() 205 if (ioctl(s_fdDev, ECS_IOCTL_SET_YPR, buf) < 0) { in AKD_SetYPR() 219 if (ioctl(s_fdDev, ECS_IOCTL_GET_OPEN_STATUS, status) < 0) { in AKD_GetOpenStatus() 234 if (ioctl(s_fdDev, ECS_IOCTL_GET_CLOSE_STATUS, status) < 0) { in AKD_GetCloseStatus() 255 if (ioctl(s_fdDev, ECS_IOCTL_SET_MODE, &mode) < 0) { in AKD_SetMode() 275 if (ioctl(s_fdDev, ECS_IOCTL_GET_DELAY, delay) < 0) { in AKD_GetDelay() 294 if (ioctl(s_fdDev, ECS_IOCTL_GET_LAYOUT, &tmp) < 0) { in AKD_GetLayout() 310 if (ioctl(s_fdDev, ECS_IOCTL_GET_ACCEL, data) < 0) { in AKD_GetAccelerationData()
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | mdpWrapper.h | 102 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo() 111 if (ioctl(fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { in getVScreenInfo() 120 if (ioctl(fd, FBIOPUT_VSCREENINFO, &vinfo) < 0) { in setVScreenInfo() 129 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ in startRotator() 138 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { in rotate() 147 if (ioctl(fd, MSMFB_OVERLAY_SET, &ov) < 0) { in setOverlay() 156 if (ioctl(fd, MSM_ROTATOR_IOCTL_FINISH, &sessionId) < 0) { in endRotator() 165 if (ioctl(fd, MSMFB_OVERLAY_UNSET, &ovId) < 0) { in unsetOverlay() 174 if (ioctl(fd, MSMFB_OVERLAY_GET, &ov) < 0) { in getOverlay() 183 if (ioctl(fd, MSMFB_OVERLAY_PLAY, &od) < 0) { in play() [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | ionalloc.cpp | 95 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 103 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 107 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 118 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 125 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 205 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer() 234 if(ioctl(mIonFd, ION_IOC_CUSTOM, &d)) { in clean_buffer() 239 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 242 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | ionalloc.cpp | 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 109 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 116 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 191 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer() 220 if(ioctl(mIonFd, ION_IOC_CUSTOM, &d)) { in clean_buffer() 225 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 228 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/display/sdm845/libgralloc/ |
D | ionalloc.cpp | 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 109 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 116 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 196 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer() 225 if(ioctl(mIonFd, ION_IOC_CUSTOM, &d)) { in clean_buffer() 230 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 233 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | ionalloc.cpp | 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 109 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 120 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 191 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer() 219 if(ioctl(mIonFd, ION_IOC_CUSTOM, &d)) { in clean_buffer() 224 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 227 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | ionalloc.cpp | 89 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 97 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 101 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 112 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 119 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 199 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer() 228 if(ioctl(mIonFd, ION_IOC_CUSTOM, &d)) { in clean_buffer() 233 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 236 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | ionalloc.cpp | 85 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 93 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 97 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 108 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 115 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 195 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer() 224 if(ioctl(mIonFd, ION_IOC_CUSTOM, &d)) { in clean_buffer() 229 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 232 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | ionalloc.cpp | 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 109 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 116 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 187 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer() 216 if(ioctl(mIonFd, ION_IOC_CUSTOM, &d)) { in clean_buffer() 221 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 224 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
D | hci_uart.c | 190 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_ioctl_init_bt_wake() 191 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); in userial_ioctl_init_bt_wake() 329 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_close() 401 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_vendor_ioctl() 406 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_ioctl() 410 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_GET_ST, p_data); in userial_vendor_ioctl() 416 err = ioctl(vnd_userial.fd, TIOCMSET, p_data); in userial_vendor_ioctl() 421 ioctl(vnd_userial.fd, TIOCMGET, p_data); in userial_vendor_ioctl() 423 err = ioctl(vnd_userial.fd, TIOCMSET, p_data); in userial_vendor_ioctl() 513 ioctl(fd, cmd); in userial_clock_operation() [all …]
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
D | hci_uart.c | 193 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_ioctl_init_bt_wake() 194 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); in userial_ioctl_init_bt_wake() 332 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_close() 404 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_vendor_ioctl() 409 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_ioctl() 413 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_GET_ST, p_data); in userial_vendor_ioctl() 419 err = ioctl(vnd_userial.fd, TIOCMSET, p_data); in userial_vendor_ioctl() 424 ioctl(vnd_userial.fd, TIOCMGET, p_data); in userial_vendor_ioctl() 426 err = ioctl(vnd_userial.fd, TIOCMSET, p_data); in userial_vendor_ioctl() 518 ioctl(fd, cmd); in userial_clock_operation() [all …]
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
D | hci_uart.c | 191 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_ioctl_init_bt_wake() 192 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); in userial_ioctl_init_bt_wake() 330 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_close() 401 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_vendor_ioctl() 406 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_ioctl() 410 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_GET_ST, p_data); in userial_vendor_ioctl() 416 err = ioctl(vnd_userial.fd, TIOCMSET, p_data); in userial_vendor_ioctl() 421 ioctl(vnd_userial.fd, TIOCMGET, p_data); in userial_vendor_ioctl() 423 err = ioctl(vnd_userial.fd, TIOCMSET, p_data); in userial_vendor_ioctl() 513 ioctl(fd, cmd); in userial_clock_operation() [all …]
|
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
D | hci_uart.c | 196 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_ioctl_init_bt_wake() 197 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); in userial_ioctl_init_bt_wake() 336 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_close() 408 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_vendor_ioctl() 413 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_ioctl() 417 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_GET_ST, p_data); in userial_vendor_ioctl() 423 err = ioctl(vnd_userial.fd, TIOCMSET, p_data); in userial_vendor_ioctl() 428 ioctl(vnd_userial.fd, TIOCMGET, p_data); in userial_vendor_ioctl() 430 err = ioctl(vnd_userial.fd, TIOCMSET, p_data); in userial_vendor_ioctl() 522 ioctl(fd, cmd); in userial_clock_operation() [all …]
|
/hardware/qcom/bt/sdm845/libbt-vendor/src/ |
D | hci_uart.c | 192 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_ioctl_init_bt_wake() 193 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); in userial_ioctl_init_bt_wake() 332 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_close() 404 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_vendor_ioctl() 409 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_ioctl() 413 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_GET_ST, p_data); in userial_vendor_ioctl() 419 err = ioctl(vnd_userial.fd, TIOCMSET, p_data); in userial_vendor_ioctl() 424 ioctl(vnd_userial.fd, TIOCMGET, p_data); in userial_vendor_ioctl() 426 err = ioctl(vnd_userial.fd, TIOCMSET, p_data); in userial_vendor_ioctl() 518 ioctl(fd, cmd); in userial_clock_operation() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device.cpp | 179 error_code = ioctl(omx->handle->m_nDriver_fd,VEN_IOCTL_CMD_READ_NEXT_MSG,(void *)&ioctl_msg); in async_venc_message_thread() 227 if(ioctl (m_nDriver_fd, VEN_IOCTL_GET_NUMBER_INSTANCES, (void*)&ioctl_msg) < 0 ) in venc_open() 280 if(ioctl (m_nDriver_fd,VEN_IOCTL_SET_BASE_CFG,(void*)&ioctl_msg) < 0 ) in venc_open() 294 if(ioctl (m_nDriver_fd,VEN_IOCTL_GET_INPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) in venc_open() 301 if(ioctl (m_nDriver_fd,VEN_IOCTL_GET_OUTPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) in venc_open() 324 (void)ioctl(m_nDriver_fd, VEN_IOCTL_CMD_STOP_READ_MSG, in venc_close() 354 if(ioctl (m_nDriver_fd,VEN_IOCTL_SET_INPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) in venc_set_buf_req() 371 if(ioctl (m_nDriver_fd,VEN_IOCTL_SET_OUTPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) in venc_set_buf_req() 389 if(ioctl (m_nDriver_fd,VEN_IOCTL_CMD_START, NULL) < 0) in venc_loaded_start() 421 if(ioctl (m_nDriver_fd,VEN_IOCTL_CMD_STOP, NULL) < 0) in venc_loaded_stop() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device.cpp | 182 … error_code = ioctl(omx->handle->m_nDriver_fd,VEN_IOCTL_CMD_READ_NEXT_MSG,(void *)&ioctl_msg); in async_venc_message_thread() 333 if (ioctl (m_nDriver_fd, VEN_IOCTL_GET_NUMBER_INSTANCES, (void*)&ioctl_msg) < 0 ) { in venc_open() 382 if (ioctl (m_nDriver_fd,VEN_IOCTL_SET_BASE_CFG,(void*)&ioctl_msg) < 0 ) { in venc_open() 391 if (ioctl (m_nDriver_fd,VEN_IOCTL_GET_INPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_open() 399 if (ioctl (m_nDriver_fd,VEN_IOCTL_GET_OUTPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_open() 426 (void)ioctl(m_nDriver_fd, VEN_IOCTL_CMD_STOP_READ_MSG, in venc_close() 459 if (ioctl (m_nDriver_fd,VEN_IOCTL_SET_INPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_set_buf_req() 474 if (ioctl (m_nDriver_fd,VEN_IOCTL_SET_OUTPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_set_buf_req() 493 if (ioctl (m_nDriver_fd,VEN_IOCTL_CMD_START, NULL) < 0) { in venc_loaded_start() 527 if (ioctl (m_nDriver_fd,VEN_IOCTL_CMD_STOP, NULL) < 0) { in venc_loaded_stop() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device.cpp | 181 … error_code = ioctl(omx->handle->m_nDriver_fd,VEN_IOCTL_CMD_READ_NEXT_MSG,(void *)&ioctl_msg); in async_venc_message_thread() 332 if (ioctl (m_nDriver_fd, VEN_IOCTL_GET_NUMBER_INSTANCES, (void*)&ioctl_msg) < 0 ) { in venc_open() 381 if (ioctl (m_nDriver_fd,VEN_IOCTL_SET_BASE_CFG,(void*)&ioctl_msg) < 0 ) { in venc_open() 390 if (ioctl (m_nDriver_fd,VEN_IOCTL_GET_INPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_open() 398 if (ioctl (m_nDriver_fd,VEN_IOCTL_GET_OUTPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_open() 425 (void)ioctl(m_nDriver_fd, VEN_IOCTL_CMD_STOP_READ_MSG, in venc_close() 458 if (ioctl (m_nDriver_fd,VEN_IOCTL_SET_INPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_set_buf_req() 473 if (ioctl (m_nDriver_fd,VEN_IOCTL_SET_OUTPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_set_buf_req() 492 if (ioctl (m_nDriver_fd,VEN_IOCTL_CMD_START, NULL) < 0) { in venc_loaded_start() 526 if (ioctl (m_nDriver_fd,VEN_IOCTL_CMD_STOP, NULL) < 0) { in venc_loaded_stop() [all …]
|
/hardware/akm/AK8975_FS/libsensors/ |
D | KionixSensor.cpp | 65 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_X), &absinfo)) { in setInitialState() 68 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Y), &absinfo)) { in setInitialState() 71 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Z), &absinfo)) { in setInitialState() 94 err = ioctl(dev_fd, KIONIX_IOCTL_ENABLE_OUTPUT); in setEnable() 99 err = ioctl(dev_fd, KIONIX_IOCTL_DISABLE_OUTPUT); in setEnable() 137 if (ioctl(dev_fd, KIONIX_IOCTL_UPDATE_ODR, &ms)) { in setDelay()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_ionbuf.c | 74 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); in buffer_allocate() 82 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE, in buffer_allocate() 104 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); in buffer_allocate() 134 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); in buffer_deallocate() 167 lrc = ioctl(p_buffer->ion_fd, ION_IOC_CUSTOM, &custom_data); in buffer_invalidate() 201 lrc = ioctl(p_buffer->ion_fd, ION_IOC_CUSTOM, &custom_data); in buffer_clean()
|