Home
last modified time | relevance | path

Searched refs:hmax (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/drivers/media/i2c/
Dimx274.c1147 u32 hmax; in imx274_apply_trimming() local
1160 hmax = max_t(u32, 260, (imx274->crop.width) / 16 + 23); in imx274_apply_trimming()
1169 err = imx274_write_mbreg(imx274, IMX274_HMAX_REG_LSB, hmax, 2); in imx274_apply_trimming()
1601 u16 hmax; in imx274_set_exposure() local
1617 hmax = (reg_val[1] << IMX274_SHIFT_8_BITS) + reg_val[0]; in imx274_set_exposure()
1618 if (hmax == 0) { in imx274_set_exposure()
1624 - priv->mode->nocpiop) / hmax; in imx274_set_exposure()
1634 (coarse_time * hmax + priv->mode->nocpiop) in imx274_set_exposure()
1753 u16 hmax; in imx274_set_frame_interval() local
1800 hmax = (reg_val[1] << IMX274_SHIFT_8_BITS) + reg_val[0]; in imx274_set_frame_interval()
[all …]
Dtvp5150.c893 int hmax; in tvp5150_set_selection() local
916 hmax = TVP5150_V_MAX_525_60; in tvp5150_set_selection()
918 hmax = TVP5150_V_MAX_OTHERS; in tvp5150_set_selection()
921 hmax - TVP5150_MAX_CROP_TOP - rect.top, in tvp5150_set_selection()
922 hmax - rect.top); in tvp5150_set_selection()
926 rect.top + rect.height - hmax); in tvp5150_set_selection()
Dtda1997x.c1116 u32 vmin, vmax, hmin, hmax, hsmin, hsmax; in tda1997x_detect_std() local
1130 hmax = ((27000000 / 100) * 101) / _hper; in tda1997x_detect_std()
1139 hmatch = ((hper <= hmax) && (hper >= hmin)) ? 1 : 0; in tda1997x_detect_std()
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-common.c325 u32 *h, unsigned int hmin, unsigned int hmax, in v4l_bound_align_image() argument
329 *h = clamp_align(*h, hmin, hmax, halign); in v4l_bound_align_image()
343 unsigned int hmaxa = __fls(hmax ^ (hmin - 1)); in v4l_bound_align_image()
352 *h = clamp_align(*h, hmin, hmax, halign + 1); in v4l_bound_align_image()
/Linux-v4.19/include/media/
Dv4l2-common.h315 unsigned int hmax, unsigned int halign,
/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-kthread-cap.c248 unsigned hmax = (img_height * tpg->perc_fill) / 100; in vivid_copy_buffer() local
291 for (y = 0; y < hmax / vdiv; y++, vcapbuf += stride_cap) in vivid_copy_buffer()
312 for (y = 0; y < hmax; y += vdiv, vcapbuf += stride_cap) { in vivid_copy_buffer()
/Linux-v4.19/tools/perf/util/
Djitdump.c69 #define hmax(a, b) ((a) > (b) ? (a) : (b)) macro
144 bsz = hmax(sizeof(header), sizeof(*prefix)); in jit_open()
/Linux-v4.19/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c162 unsigned int hmax, unsigned int align_h) in mtk_mdp_bound_align_image() argument
171 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in mtk_mdp_bound_align_image()
177 if (*h < org_h && (*h + step_h) <= hmax) in mtk_mdp_bound_align_image()
/Linux-v4.19/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_core.c171 unsigned int hmax, unsigned int halign) in mtk_jpeg_bound_align_image() argument
180 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in mtk_jpeg_bound_align_image()
183 if (*h < height && (*h + h_step) <= hmax) in mtk_jpeg_bound_align_image()
/Linux-v4.19/drivers/video/fbdev/
Datafb.c2965 int vmin, vmax, hmin, hmax; in atafb_setup_mcap() local
2988 hmax = 1000 * simple_strtoul(p, NULL, 10); in atafb_setup_mcap()
2989 if (hmax <= 0 || hmax <= hmin) in atafb_setup_mcap()
2995 fb_info.monspecs.hfmax = hmax; in atafb_setup_mcap()
Damifb.c2310 int vmin, vmax, hmin, hmax; in amifb_setup_mcap() local
2334 hmax = 1000 * simple_strtoul(p, NULL, 10); in amifb_setup_mcap()
2335 if (hmax <= 0 || hmax <= hmin) in amifb_setup_mcap()
2339 amifb_hfmax = hmax; in amifb_setup_mcap()
/Linux-v4.19/drivers/video/fbdev/sis/
Dsis_main.c488 monitor->hmax = buffer[j + 8]; in sisfb_interpret_edid()
505 monitor->hmin = 65535; monitor->hmax = 0; in sisfb_interpret_edid()
512 if(monitor->hmax < sisfb_ddcsmodes[i].h) monitor->hmax = sisfb_ddcsmodes[i].h + 1; in sisfb_interpret_edid()
534 if(monitor->hmax < sisfb_ddcfmodes[j].h) monitor->hmax = sisfb_ddcfmodes[j].h + 1; in sisfb_interpret_edid()
543 if((monitor->hmin <= monitor->hmax) && (monitor->vmin <= monitor->vmax)) { in sisfb_interpret_edid()
590 monitor->hmin, monitor->hmax, monitor->vmin, monitor->vmax, in sisfb_handle_ddc()
652 if(hsync > (monitor->hmax + 1)) in sisfb_verify_rate()
Dsis.h509 u16 hmax; member
/Linux-v4.19/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1424 u32 *h, unsigned int hmin, unsigned int hmax, in jpeg_bound_align_image() argument
1445 hmax = height; in jpeg_bound_align_image()
1449 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in jpeg_bound_align_image()
1453 if (*h < height && (*h + h_step) < hmax) in jpeg_bound_align_image()
/Linux-v4.19/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c2059 unsigned hmax; member
2251 if (h >= params->hmax) { in tpg_fill_plane_pattern()
2252 if (params->hmax == tpg->compose.height) in tpg_fill_plane_pattern()
2390 params.hmax = (tpg->compose.height * tpg->perc_fill) / 100; in tpg_fill_plane_buffer()
/Linux-v4.19/Documentation/m68k/
Dkernel-options.txt502 Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax>
509 your monitor can work with, in Hz. <hmin> and <hmax> are the same for
752 Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax>
758 your monitor can work with, in Hz. <hmin> and <hmax> are the same for
/Linux-v4.19/drivers/gpu/drm/
Ddrm_edid.c2323 int hsync, hmin, hmax; in mode_in_hsync_range() local
2328 hmax = t[8]; in mode_in_hsync_range()
2330 hmax += ((t[4] & 0x08) ? 255 : 0); in mode_in_hsync_range()
2333 return (hsync <= hmax && hsync >= hmin); in mode_in_hsync_range()