Lines Matching refs:ctrl_fd
163 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev);
255 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK);
256 CDBG("%s: ctrl_fd = %d, errno == %d", __func__, my_obj->ctrl_fd, errno);
257 if((my_obj->ctrl_fd > 0) || (errno != EIO) || (n_try <= 0 )) {
266 if (my_obj->ctrl_fd <= 0) {
318 if (my_obj->ctrl_fd > 0) {
319 close(my_obj->ctrl_fd);
320 my_obj->ctrl_fd = 0;
357 if(my_obj->ctrl_fd > 0) {
358 close(my_obj->ctrl_fd);
359 my_obj->ctrl_fd = 0;
506 rc = ioctl(my_obj->ctrl_fd, VIDIOC_QUERYCAP, &cap);
538 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value);
568 rc = mm_camera_util_g_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value);
592 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_DO_AUTO_FOCUS, &value);
613 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_CANCEL_AUTO_FOCUS, &value);
636 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PREPARE_SNAPSHOT, &value);
658 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
681 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1431 rc = ioctl(my_obj->ctrl_fd, VIDIOC_UNSUBSCRIBE_EVENT, &sub);
1441 rc = ioctl(my_obj->ctrl_fd, VIDIOC_SUBSCRIBE_EVENT, &sub);
1449 my_obj->ctrl_fd,