Lines Matching refs:ctrl_fd
143 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev);
216 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK);
217 CDBG("%s: ctrl_fd = %d, errno == %d", __func__, my_obj->ctrl_fd, errno);
218 if((my_obj->ctrl_fd > 0) || (errno != EIO) || (n_try <= 0 )) {
227 if (my_obj->ctrl_fd <= 0) {
256 /* set ctrl_fd to be the mem_mapping fd */
257 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
298 if (my_obj->ctrl_fd > 0) {
299 close(my_obj->ctrl_fd);
300 my_obj->ctrl_fd = -1;
323 if(my_obj->ctrl_fd > 0) {
324 close(my_obj->ctrl_fd);
325 my_obj->ctrl_fd = -1;
510 if(0 != (rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1216 rc = ioctl(my_obj->ctrl_fd, VIDIOC_S_CTRL, &ctrl);
1232 if (-1 == ioctl (my_obj->ctrl_fd, VIDIOC_QUERYCTRL, &queryctrl)) {
1237 if(0 != (rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1282 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, id, value);
1298 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1303 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1308 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1313 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1318 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1326 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1331 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1336 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1341 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1350 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd,
1643 rc = mm_camera_util_private_s_ctrl(my_obj->ctrl_fd,
1667 rc = ioctl(my_obj->ctrl_fd, VIDIOC_UNSUBSCRIBE_EVENT, &sub);
1670 rc = ioctl(my_obj->ctrl_fd, VIDIOC_UNSUBSCRIBE_EVENT, &sub);
1681 rc = ioctl(my_obj->ctrl_fd, VIDIOC_SUBSCRIBE_EVENT, &sub);
1686 rc = ioctl(my_obj->ctrl_fd, VIDIOC_SUBSCRIBE_EVENT, &sub);
1696 my_obj->ctrl_fd,