Home
last modified time | relevance | path

Searched refs:hmin (Results 1 – 8 of 8) sorted by relevance

/drivers/media/v4l2-core/
Dv4l2-common.c464 u32 *h, unsigned int hmin, unsigned int hmax, in v4l_bound_align_image() argument
468 *h = clamp_align(*h, hmin, hmax, halign); in v4l_bound_align_image()
482 unsigned int hmaxa = __fls(hmax ^ (hmin - 1)); in v4l_bound_align_image()
491 *h = clamp_align(*h, hmin, hmax, halign + 1); in v4l_bound_align_image()
/drivers/media/platform/s3c-camif/
Dcamif-capture.c748 unsigned int wmin, hmin, sc_hrmax, sc_vrmax; in __camif_video_try_format() local
774 hmin = max_t(u32, 8, crop->height / sc_vrmax); in __camif_video_try_format()
775 hmin = round_up(hmin, 8); in __camif_video_try_format()
779 &pix->height, hmin, pix_lim->max_height, 0, 0); in __camif_video_try_format()
788 pix->width, pix->height, wmin, hmin, sc_hrmax, sc_vrmax); in __camif_video_try_format()
/drivers/video/fbdev/sis/
Dsis.h428 u16 hmin; member
Dsis_main.c439 monitor->hmin = buffer[j + 7]; in sisfb_interpret_edid()
457 monitor->hmin = 65535; monitor->hmax = 0; in sisfb_interpret_edid()
463 if(monitor->hmin > sisfb_ddcsmodes[i].h) monitor->hmin = sisfb_ddcsmodes[i].h; in sisfb_interpret_edid()
485 if(monitor->hmin > sisfb_ddcfmodes[j].h) monitor->hmin = sisfb_ddcfmodes[j].h; in sisfb_interpret_edid()
495 if((monitor->hmin <= monitor->hmax) && (monitor->vmin <= monitor->vmax)) { in sisfb_interpret_edid()
542 monitor->hmin, monitor->hmax, monitor->vmin, monitor->vmax, in sisfb_handle_ddc()
602 if(hsync < (monitor->hmin - 1)) in sisfb_verify_rate()
/drivers/video/fbdev/
Datafb.c2968 int vmin, vmax, hmin, hmax; in atafb_setup_mcap() local
2986 hmin = 1000 * simple_strtoul(p, NULL, 10); in atafb_setup_mcap()
2987 if (hmin <= 0) in atafb_setup_mcap()
2992 if (hmax <= 0 || hmax <= hmin) in atafb_setup_mcap()
2997 fb_info.monspecs.hfmin = hmin; in atafb_setup_mcap()
Damifb.c2312 int vmin, vmax, hmin, hmax; in amifb_setup_mcap() local
2331 hmin = 1000 * simple_strtoul(p, NULL, 10); in amifb_setup_mcap()
2332 if (hmin <= 0) in amifb_setup_mcap()
2337 if (hmax <= 0 || hmax <= hmin) in amifb_setup_mcap()
2340 amifb_hfmin = hmin; in amifb_setup_mcap()
/drivers/gpu/drm/
Ddrm_edid.c1881 int hsync, hmin, hmax; in mode_in_hsync_range() local
1883 hmin = t[7]; in mode_in_hsync_range()
1885 hmin += ((t[4] & 0x04) ? 255 : 0); in mode_in_hsync_range()
1891 return (hsync <= hmax && hsync >= hmin); in mode_in_hsync_range()
/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1139 u32 *h, unsigned int hmin, unsigned int hmax, in jpeg_bound_align_image() argument
1164 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in jpeg_bound_align_image()