Home
last modified time | relevance | path

Searched refs:ctrl_fd (Results 1 – 12 of 12) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c158 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); in mm_camera_event_notify()
258 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_camera_open()
259 CDBG("%s: ctrl_fd = %d, errno == %d", __func__, my_obj->ctrl_fd, errno); in mm_camera_open()
260 if((my_obj->ctrl_fd >= 0) || (errno != EIO && errno != ETIMEDOUT) || (n_try <= 0 )) { in mm_camera_open()
269 if (my_obj->ctrl_fd < 0) { in mm_camera_open()
325 if (my_obj->ctrl_fd >= 0) { in mm_camera_open()
326 close(my_obj->ctrl_fd); in mm_camera_open()
327 my_obj->ctrl_fd = -1; in mm_camera_open()
365 if(my_obj->ctrl_fd >= 0) { in mm_camera_close()
366 close(my_obj->ctrl_fd); in mm_camera_close()
[all …]
Dmm_camera_interface.c1663 cam_obj->ctrl_fd = -1; in camera_open()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c162 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); in mm_camera_event_notify()
291 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_camera_open()
292 CDBG("%s: ctrl_fd = %d, errno == %d", __func__, my_obj->ctrl_fd, errno); in mm_camera_open()
293 if((my_obj->ctrl_fd >= 0) || in mm_camera_open()
297 if (my_obj->ctrl_fd < 0) { in mm_camera_open()
308 if (my_obj->ctrl_fd < 0) { in mm_camera_open()
376 if (my_obj->ctrl_fd >= 0) { in mm_camera_open()
377 close(my_obj->ctrl_fd); in mm_camera_open()
378 my_obj->ctrl_fd = -1; in mm_camera_open()
417 if(my_obj->ctrl_fd >= 0) { in mm_camera_close()
[all …]
Dmm_camera_interface.c1800 cam_obj->ctrl_fd = -1; in camera_open()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c162 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); in mm_camera_event_notify()
291 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_camera_open()
292 CDBG("%s: ctrl_fd = %d, errno == %d", __func__, my_obj->ctrl_fd, errno); in mm_camera_open()
293 if((my_obj->ctrl_fd >= 0) || in mm_camera_open()
297 if (my_obj->ctrl_fd < 0) { in mm_camera_open()
308 if (my_obj->ctrl_fd < 0) { in mm_camera_open()
376 if (my_obj->ctrl_fd >= 0) { in mm_camera_open()
377 close(my_obj->ctrl_fd); in mm_camera_open()
378 my_obj->ctrl_fd = -1; in mm_camera_open()
417 if(my_obj->ctrl_fd >= 0) { in mm_camera_close()
[all …]
Dmm_camera_interface.c1800 cam_obj->ctrl_fd = -1; in camera_open()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera.c143 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); in mm_camera_event_notify()
192 rc = ioctl(my_obj->ctrl_fd, MSM_CAM_V4L2_IOCTL_GET_EVENT_PAYLOAD, in mm_camera_event_notify()
282 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_camera_open()
283 CDBG("%s: ctrl_fd = %d, errno == %d", __func__, my_obj->ctrl_fd, errno); in mm_camera_open()
284 if((my_obj->ctrl_fd > 0) || (errno != EIO) || (n_try <= 0 )) { in mm_camera_open()
293 if (my_obj->ctrl_fd <= 0) { in mm_camera_open()
323 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, in mm_camera_open()
358 if (my_obj->ctrl_fd > 0) { in mm_camera_open()
359 close(my_obj->ctrl_fd); in mm_camera_open()
360 my_obj->ctrl_fd = -1; in mm_camera_open()
[all …]
Dmm_camera_interface.c1292 cam_obj->ctrl_fd = -1; in camera_open()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h420 int32_t ctrl_fd; member
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h469 int32_t ctrl_fd; member
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h469 int32_t ctrl_fd; member
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h434 int32_t ctrl_fd; member