Lines Matching refs:parm

377 		struct v4l2_streamparm *parm)  in uvc_v4l2_get_streamparm()  argument
381 if (parm->type != stream->type) in uvc_v4l2_get_streamparm()
391 memset(parm, 0, sizeof(*parm)); in uvc_v4l2_get_streamparm()
392 parm->type = stream->type; in uvc_v4l2_get_streamparm()
395 parm->parm.capture.capability = V4L2_CAP_TIMEPERFRAME; in uvc_v4l2_get_streamparm()
396 parm->parm.capture.capturemode = 0; in uvc_v4l2_get_streamparm()
397 parm->parm.capture.timeperframe.numerator = numerator; in uvc_v4l2_get_streamparm()
398 parm->parm.capture.timeperframe.denominator = denominator; in uvc_v4l2_get_streamparm()
399 parm->parm.capture.extendedmode = 0; in uvc_v4l2_get_streamparm()
400 parm->parm.capture.readbuffers = 0; in uvc_v4l2_get_streamparm()
402 parm->parm.output.capability = V4L2_CAP_TIMEPERFRAME; in uvc_v4l2_get_streamparm()
403 parm->parm.output.outputmode = 0; in uvc_v4l2_get_streamparm()
404 parm->parm.output.timeperframe.numerator = numerator; in uvc_v4l2_get_streamparm()
405 parm->parm.output.timeperframe.denominator = denominator; in uvc_v4l2_get_streamparm()
412 struct v4l2_streamparm *parm) in uvc_v4l2_set_streamparm() argument
422 if (parm->type != stream->type) in uvc_v4l2_set_streamparm()
425 if (parm->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) in uvc_v4l2_set_streamparm()
426 timeperframe = parm->parm.capture.timeperframe; in uvc_v4l2_set_streamparm()
428 timeperframe = parm->parm.output.timeperframe; in uvc_v4l2_set_streamparm()
487 if (parm->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) { in uvc_v4l2_set_streamparm()
488 parm->parm.capture.timeperframe = timeperframe; in uvc_v4l2_set_streamparm()
489 parm->parm.capture.capability = V4L2_CAP_TIMEPERFRAME; in uvc_v4l2_set_streamparm()
491 parm->parm.output.timeperframe = timeperframe; in uvc_v4l2_set_streamparm()
492 parm->parm.output.capability = V4L2_CAP_TIMEPERFRAME; in uvc_v4l2_set_streamparm()
1176 struct v4l2_streamparm *parm) in uvc_ioctl_g_parm() argument
1181 return uvc_v4l2_get_streamparm(stream, parm); in uvc_ioctl_g_parm()
1185 struct v4l2_streamparm *parm) in uvc_ioctl_s_parm() argument
1195 return uvc_v4l2_set_streamparm(stream, parm); in uvc_ioctl_s_parm()