Home | History | Annotate | Download | only in src

Lines Matching refs:control

296         LOGE("cannot open control fd of '%s' (%s)\n",
2049 * @id : control id
2063 struct v4l2_control control;
2064 memset(&control, 0, sizeof(control));
2065 control.id = id;
2067 control.value = *value;
2069 rc = ioctl(fd, VIDIOC_S_CTRL, &control);
2075 *value = control.value;
2104 * @id : control id
2115 struct v4l2_control control;
2117 memset(&control, 0, sizeof(control));
2118 control.id = id;
2120 control.value = *value;
2124 rc = ioctl(fd, VIDIOC_G_CTRL, &control);
2127 *value = control.value;
2342 struct v4l2_control control;
2343 memset(&control, 0, sizeof(control));
2344 control.id = MSM_CAMERA_PRIV_G_SESSION_ID;
2345 control.value = value;
2347 rc = ioctl(my_obj->ctrl_fd, VIDIOC_G_CTRL, &control);
2348 value = control.value;