Lines Matching refs:a
187 struct v4l2_subdev *sd, struct v4l2_streamparm *a) in v4l2_g_parm_cap() argument
192 if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE && in v4l2_g_parm_cap()
193 a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) in v4l2_g_parm_cap()
197 a->parm.capture.readbuffers = 2; in v4l2_g_parm_cap()
199 a->parm.capture.capability = V4L2_CAP_TIMEPERFRAME; in v4l2_g_parm_cap()
202 a->parm.capture.timeperframe = ival.interval; in v4l2_g_parm_cap()
208 struct v4l2_subdev *sd, struct v4l2_streamparm *a) in v4l2_s_parm_cap() argument
211 .interval = a->parm.capture.timeperframe in v4l2_s_parm_cap()
215 if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE && in v4l2_s_parm_cap()
216 a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) in v4l2_s_parm_cap()
219 memset(&a->parm, 0, sizeof(a->parm)); in v4l2_s_parm_cap()
221 a->parm.capture.readbuffers = 2; in v4l2_s_parm_cap()
223 a->parm.capture.readbuffers = 0; in v4l2_s_parm_cap()
226 a->parm.capture.capability = V4L2_CAP_TIMEPERFRAME; in v4l2_s_parm_cap()
229 a->parm.capture.timeperframe = ival.interval; in v4l2_s_parm_cap()