Home
last modified time | relevance | path

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

/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c166 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); in mm_camera_event_notify()
286 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_camera_open()
288 LOGD("ctrl_fd = %d, errno == %d", my_obj->ctrl_fd, l_errno); in mm_camera_open()
289 if((my_obj->ctrl_fd >= 0) || (errno != EIO && errno != ETIMEDOUT) || (n_try <= 0 )) { in mm_camera_open()
297 if (my_obj->ctrl_fd < 0) { in mm_camera_open()
384 if (my_obj->ctrl_fd >= 0) { in mm_camera_open()
385 close(my_obj->ctrl_fd); in mm_camera_open()
386 my_obj->ctrl_fd = -1; in mm_camera_open()
432 if(my_obj->ctrl_fd >= 0) { in mm_camera_close()
433 close(my_obj->ctrl_fd); in mm_camera_close()
[all …]
Dmm_camera_interface.c2121 cam_obj->ctrl_fd = -1; in camera_open()
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h522 int32_t ctrl_fd; member