Lines Matching refs:ctrl_fd
162 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev);
254 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK);
255 CDBG("%s: ctrl_fd = %d, errno == %d", __func__, my_obj->ctrl_fd, errno);
256 if((my_obj->ctrl_fd > 0) || (errno != EIO) || (n_try <= 0 )) {
265 if (my_obj->ctrl_fd <= 0) {
317 if (my_obj->ctrl_fd > 0) {
318 close(my_obj->ctrl_fd);
319 my_obj->ctrl_fd = 0;
356 if(my_obj->ctrl_fd > 0) {
357 close(my_obj->ctrl_fd);
358 my_obj->ctrl_fd = 0;
505 rc = ioctl(my_obj->ctrl_fd, VIDIOC_QUERYCAP, &cap);
537 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value);
567 rc = mm_camera_util_g_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value);
591 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_DO_AUTO_FOCUS, &value);
612 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_CANCEL_AUTO_FOCUS, &value);
635 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PREPARE_SNAPSHOT, &value);
657 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
680 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1430 rc = ioctl(my_obj->ctrl_fd, VIDIOC_UNSUBSCRIBE_EVENT, &sub);
1440 rc = ioctl(my_obj->ctrl_fd, VIDIOC_SUBSCRIBE_EVENT, &sub);
1448 my_obj->ctrl_fd,