Lines Matching refs:parm
962 struct v4l2_streamparm *parm) in pwc_g_parm() argument
966 if (parm->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in pwc_g_parm()
969 memset(parm, 0, sizeof(*parm)); in pwc_g_parm()
971 parm->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in pwc_g_parm()
972 parm->parm.capture.readbuffers = MIN_FRAMES; in pwc_g_parm()
973 parm->parm.capture.capability |= V4L2_CAP_TIMEPERFRAME; in pwc_g_parm()
974 parm->parm.capture.timeperframe.denominator = pdev->vframes; in pwc_g_parm()
975 parm->parm.capture.timeperframe.numerator = 1; in pwc_g_parm()
981 struct v4l2_streamparm *parm) in pwc_s_parm() argument
987 if (parm->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in pwc_s_parm()
993 if (parm->parm.capture.timeperframe.numerator == 0 || in pwc_s_parm()
994 parm->parm.capture.timeperframe.denominator == 0) in pwc_s_parm()
997 fps = parm->parm.capture.timeperframe.denominator / in pwc_s_parm()
998 parm->parm.capture.timeperframe.numerator; in pwc_s_parm()
1006 pwc_g_parm(file, fh, parm); in pwc_s_parm()