Home
last modified time | relevance | path

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

/drivers/media/v4l2-core/
Dv4l2-common.c121 u32 *h, unsigned int hmin, unsigned int hmax, in v4l_bound_align_image() argument
125 *h = clamp_align(*h, hmin, hmax, halign); in v4l_bound_align_image()
139 unsigned int hmaxa = __fls(hmax ^ (hmin - 1)); in v4l_bound_align_image()
148 *h = clamp_align(*h, hmin, hmax, halign + 1); in v4l_bound_align_image()
/drivers/media/platform/s3c-camif/
Dcamif-capture.c714 unsigned int wmin, hmin, sc_hrmax, sc_vrmax; in __camif_video_try_format() local
740 hmin = max_t(u32, 8, crop->height / sc_vrmax); in __camif_video_try_format()
741 hmin = round_up(hmin, 8); in __camif_video_try_format()
745 &pix->height, hmin, pix_lim->max_height, 0, 0); in __camif_video_try_format()
754 pix->width, pix->height, wmin, hmin, sc_hrmax, sc_vrmax); in __camif_video_try_format()
/drivers/video/fbdev/
Datafb.c2935 int vmin, vmax, hmin, hmax; in atafb_setup_mcap() local
2953 hmin = 1000 * simple_strtoul(p, NULL, 10); in atafb_setup_mcap()
2954 if (hmin <= 0) in atafb_setup_mcap()
2959 if (hmax <= 0 || hmax <= hmin) in atafb_setup_mcap()
2964 fb_info.monspecs.hfmin = hmin; in atafb_setup_mcap()
Damifb.c2314 int vmin, vmax, hmin, hmax; in amifb_setup_mcap() local
2333 hmin = 1000 * simple_strtoul(p, NULL, 10); in amifb_setup_mcap()
2334 if (hmin <= 0) in amifb_setup_mcap()
2339 if (hmax <= 0 || hmax <= hmin) in amifb_setup_mcap()
2342 amifb_hfmin = hmin; in amifb_setup_mcap()
/drivers/video/fbdev/sis/
Dsis_main.c473 monitor->hmin = buffer[j + 7]; in sisfb_interpret_edid()
491 monitor->hmin = 65535; monitor->hmax = 0; in sisfb_interpret_edid()
497 if(monitor->hmin > sisfb_ddcsmodes[i].h) monitor->hmin = sisfb_ddcsmodes[i].h; in sisfb_interpret_edid()
519 if(monitor->hmin > sisfb_ddcfmodes[j].h) monitor->hmin = sisfb_ddcfmodes[j].h; in sisfb_interpret_edid()
529 if((monitor->hmin <= monitor->hmax) && (monitor->vmin <= monitor->vmax)) { in sisfb_interpret_edid()
576 monitor->hmin, monitor->hmax, monitor->vmin, monitor->vmax, in sisfb_handle_ddc()
636 if(hsync < (monitor->hmin - 1)) in sisfb_verify_rate()
Dsis.h494 u16 hmin; member
/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c153 u32 *h, unsigned int hmin, in mtk_mdp_bound_align_image() argument
163 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in mtk_mdp_bound_align_image()
/drivers/media/i2c/
Dtda1997x.c1117 u32 vmin, vmax, hmin, hmax, hsmin, hsmax; in tda1997x_detect_std() local
1130 hmin = ((27000000 / 100) * 99) / _hper; in tda1997x_detect_std()
1140 hmatch = ((hper <= hmax) && (hper >= hmin)) ? 1 : 0; in tda1997x_detect_std()
/drivers/gpu/drm/
Ddrm_edid.c2718 int hsync, hmin, hmax; in mode_in_hsync_range() local
2720 hmin = t[7]; in mode_in_hsync_range()
2722 hmin += ((t[4] & 0x04) ? 255 : 0); in mode_in_hsync_range()
2728 return (hsync <= hmax && hsync >= hmin); in mode_in_hsync_range()
/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1395 u32 *h, unsigned int hmin, unsigned int hmax, in jpeg_bound_align_image() argument
1420 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in jpeg_bound_align_image()