Lines Matching refs:hscale
356 return em28xx_scaler_set(dev, v4l2->hscale, v4l2->vscale); in em28xx_resolution_set()
1356 unsigned int *hscale, unsigned int *vscale) in size_to_scale() argument
1361 *hscale = (((unsigned long)maxw) << 12) / width - 4096L; in size_to_scale()
1362 if (*hscale > EM28XX_HVSCALE_MAX) in size_to_scale()
1363 *hscale = EM28XX_HVSCALE_MAX; in size_to_scale()
1371 unsigned int hscale, unsigned int vscale, in scale_to_size() argument
1377 *width = (((unsigned long)maxw) << 12) / (hscale + 4096L); in scale_to_size()
1433 unsigned int hscale, vscale; in vidioc_try_fmt_vid_cap() local
1466 size_to_scale(dev, width, height, &hscale, &vscale); in vidioc_try_fmt_vid_cap()
1467 scale_to_size(dev, hscale, vscale, &width, &height); in vidioc_try_fmt_vid_cap()
1501 &v4l2->hscale, &v4l2->vscale); in em28xx_set_video_format()
1564 &v4l2->hscale, &v4l2->vscale); in vidioc_s_std()