Home
last modified time | relevance | path

Searched refs:ioctl (Results 1 – 25 of 166) sorted by relevance

1234567

/hardware/qcom/display/msm8084/liboverlay/
DmdpWrapper.h125 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/
DmdpWrapper.h123 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/
DmdpWrapper.h125 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/
DmdpWrapper.h125 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/akm/AK8975_FS/akmdfs/
DAK8975Driver.c99 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/
DmdpWrapper.h102 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/msm8996/libgralloc/
Dionalloc.cpp85 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/msm8994/libgralloc/
Dionalloc.cpp95 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/msm8084/libgralloc/
Dionalloc.cpp86 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/display/msm8226/libgralloc/
Dionalloc.cpp86 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/msm8909/libgralloc/
Dionalloc.cpp89 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/msm8960/libgralloc/
Dionalloc.cpp86 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/bt/msm8996/libbt-vendor/src/
Dhci_uart.c191 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/msm8992/libbt-vendor/src/
Dhci_uart.c191 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/msm8909/libbt-vendor/src/
Dhci_uart.c190 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/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device.cpp179 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 …]
Dvideo_encoder_device_copper.cpp190 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); in async_venc_message_thread()
207 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); in async_venc_message_thread()
217 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); in async_venc_message_thread()
319 ret = ioctl(m_nDriver_fd, VIDIOC_SUBSCRIBE_EVENT, &sub); in venc_open()
329 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open()
341 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open()
349 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open()
364 ret = ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt); in venc_open()
374 ret = ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt); in venc_open()
384 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open()
[all …]
/hardware/akm/AK8975_FS/libsensors/
DKionixSensor.cpp65 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/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp181 … 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/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp182 … 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/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c74 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()
/hardware/bsp/intel/peripheral/libmraa/src/spi/
Dspi.c146 if ((ioctl(dev->devfd, SPI_IOC_RD_MAX_SPEED_HZ, &speed) != -1) && (speed < 4000000)) { in mraa_spi_init_raw()
192 if (ioctl(dev->devfd, SPI_IOC_WR_MODE, &spi_mode) < 0) { in mraa_spi_mode()
206 if (ioctl(dev->devfd, SPI_IOC_RD_MAX_SPEED_HZ, &speed) != -1) { in mraa_spi_frequency()
223 if (ioctl(dev->devfd, SPI_IOC_WR_LSB_FIRST, &lsb_mode) < 0) { in mraa_spi_lsbmode()
227 if (ioctl(dev->devfd, SPI_IOC_RD_LSB_FIRST, &lsb_mode) < 0) { in mraa_spi_lsbmode()
238 if (ioctl(dev->devfd, SPI_IOC_WR_BITS_PER_WORD, &bits) < 0) { in mraa_spi_bit_per_word()
261 if (ioctl(dev->devfd, SPI_IOC_MESSAGE(1), &msg) < 0) { in mraa_spi_write()
283 if (ioctl(dev->devfd, SPI_IOC_MESSAGE(1), &msg) < 0) { in mraa_spi_write_word()
302 if (ioctl(dev->devfd, SPI_IOC_MESSAGE(1), &msg) < 0) { in mraa_spi_transfer_buf()
321 if (ioctl(dev->devfd, SPI_IOC_MESSAGE(1), &msg) < 0) { in mraa_spi_transfer_buf_word()
/hardware/broadcom/libbt/src/
Duserial_vendor.c145 if (ioctl(vnd_userial.fd, TIOCSETD, &ldisc) < 0) in userial_ioctl_init_bt_wake()
155 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_ioctl_init_bt_wake()
156 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); in userial_ioctl_init_bt_wake()
294 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_close()
342 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_vendor_ioctl()
347 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); in userial_vendor_ioctl()
351 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_GET_ST, p_data); in userial_vendor_ioctl()
/hardware/libhardware/modules/input/evdev/
DInputHub.cpp170 if (TEMP_FAILURE_RETRY(ioctl(fd, EVIOCSCLOCKID, &clockId)) < 0) { in openDeviceNode()
188 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGNAME(sizeof(buffer) - 1), buffer)) < 1) { in queryProperties()
196 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGVERSION, &driverVersion))) { in queryProperties()
202 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGID, &inputId))) { in queryProperties()
211 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGPHYS(sizeof(buffer) - 1), buffer)) < 1) { in queryProperties()
218 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGUNIQ(sizeof(buffer) - 1), buffer)) < 1) { in queryProperties()
239 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_KEY, sizeof(mKeyBitmask)), mKeyBitmask)); in queryProperties()
240 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_ABS, sizeof(mAbsBitmask)), mAbsBitmask)); in queryProperties()
241 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_REL, sizeof(mRelBitmask)), mRelBitmask)); in queryProperties()
242 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_SW, sizeof(mSwBitmask)), mSwBitmask)); in queryProperties()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
Dvideo_encoder_test.c262 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_BASE_CFG, in init_encoder()
274 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_RATE_CTRL_CFG, in init_encoder()
287 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_CODEC_PROFILE, in init_encoder()
298 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_PROFILE_LEVEL, in init_encoder()
311 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_CODEC_PROFILE, in init_encoder()
322 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_PROFILE_LEVEL, in init_encoder()
339 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_GET_INPUT_BUFFER_REQ, in init_encoder()
356 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_INPUT_BUFFER_REQ, in init_encoder()
368 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_GET_OUTPUT_BUFFER_REQ, in init_encoder()
598 if (ioctl (encoder_context->video_driver_fd,VEN_IOCTL_SET_OUTPUT_BUFFER, in allocate_buffer()
[all …]

1234567