Lines Matching refs:hscale
344 return em28xx_scaler_set(dev, v4l2->hscale, v4l2->vscale); in em28xx_resolution_set()
1377 unsigned int *hscale, unsigned int *vscale) in size_to_scale() argument
1382 *hscale = (((unsigned long)maxw) << 12) / width - 4096L; in size_to_scale()
1383 if (*hscale > EM28XX_HVSCALE_MAX) in size_to_scale()
1384 *hscale = EM28XX_HVSCALE_MAX; in size_to_scale()
1392 unsigned int hscale, unsigned int vscale, in scale_to_size() argument
1398 *width = (((unsigned long)maxw) << 12) / (hscale + 4096L); in scale_to_size()
1454 unsigned int hscale, vscale; in vidioc_try_fmt_vid_cap() local
1489 size_to_scale(dev, width, height, &hscale, &vscale); in vidioc_try_fmt_vid_cap()
1490 scale_to_size(dev, hscale, vscale, &width, &height); in vidioc_try_fmt_vid_cap()
1523 &v4l2->hscale, &v4l2->vscale); in em28xx_set_video_format()
1586 &v4l2->hscale, &v4l2->vscale); in vidioc_s_std()