Lines Matching refs:maxw
1389 unsigned int maxw = norm_maxw(dev); in size_to_scale() local
1392 *hscale = (((unsigned long)maxw) << 12) / width - 4096L; in size_to_scale()
1405 unsigned int maxw = norm_maxw(dev); in scale_to_size() local
1408 *width = (((unsigned long)maxw) << 12) / (hscale + 4096L); in scale_to_size()
1462 unsigned int maxw = norm_maxw(dev); in vidioc_try_fmt_vid_cap() local
1477 width = width > (3 * maxw / 4) ? maxw : maxw / 2; in vidioc_try_fmt_vid_cap()
1483 if (width == maxw && height == maxh) in vidioc_try_fmt_vid_cap()
1490 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, in vidioc_try_fmt_vid_cap()
2016 unsigned int maxw = norm_maxw(dev); in vidioc_enum_framesizes() local
2030 fsize->discrete.width = maxw / (1 + fsize->index); in vidioc_enum_framesizes()
2046 fsize->stepwise.max_width = maxw; in vidioc_enum_framesizes()
2524 unsigned int maxw; in em28xx_v4l2_init() local
2695 maxw = norm_maxw(dev); in em28xx_v4l2_init()
2701 maxw /= 2; in em28xx_v4l2_init()
2704 maxw, norm_maxh(dev)); in em28xx_v4l2_init()