Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/i2c/
Dimx274.c1146 u32 hmax; in imx274_apply_trimming() local
1159 hmax = max_t(u32, 260, (imx274->crop.width) / 16 + 23); in imx274_apply_trimming()
1168 err = imx274_write_mbreg(imx274, IMX274_HMAX_REG_LSB, hmax, 2); in imx274_apply_trimming()
1582 u32 hmax; in imx274_set_exposure() local
1590 err = imx274_read_mbreg(priv, IMX274_HMAX_REG_LSB, &hmax, 2); in imx274_set_exposure()
1594 if (hmax == 0) { in imx274_set_exposure()
1600 - priv->mode->nocpiop) / hmax; in imx274_set_exposure()
1610 (coarse_time * hmax + priv->mode->nocpiop) in imx274_set_exposure()
1729 u32 hmax; in imx274_set_frame_interval() local
1764 err = imx274_read_mbreg(priv, IMX274_HMAX_REG_LSB, &hmax, 2); in imx274_set_frame_interval()
[all …]
Dimx290.c58 u32 hmax; member
311 .hmax = 0x1130,
319 .hmax = 0x19c8,
330 .hmax = 0x0898,
338 .hmax = 0x0ce4,
740 ret = imx290_set_hmax(imx290, imx290->current_mode->hmax); in imx290_start_streaming()
Dtvp5150.c1090 unsigned int hmax = tvp5150_get_hmax(sd); in tvp5150_set_hw_selection() local
1094 rect->top + rect->height - hmax); in tvp5150_set_hw_selection()
1113 unsigned int hmax; in tvp5150_set_selection() local
1124 hmax = tvp5150_get_hmax(sd); in tvp5150_set_selection()
1134 hmax - TVP5150_MAX_CROP_TOP - rect->top, in tvp5150_set_selection()
1135 hmax - rect->top, 0, 0); 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/media/
Dv4l2-common.h389 unsigned int hmax, unsigned int halign,
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c249 unsigned hmax = (img_height * tpg->perc_fill) / 100; in vivid_copy_buffer() local
292 for (y = 0; y < hmax / vdiv; y++, vcapbuf += stride_cap) in vivid_copy_buffer()
313 for (y = 0; y < hmax; y += vdiv, vcapbuf += stride_cap) { in vivid_copy_buffer()
/kernel/linux/linux-5.10/tools/perf/util/
Djitdump.c71 #define hmax(a, b) ((a) > (b) ? (a) : (b)) macro
146 bsz = hmax(sizeof(header), sizeof(*prefix)); in jit_open()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c154 unsigned int hmax, unsigned int align_h) 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()
169 if (*h < org_h && (*h + step_h) <= hmax) in mtk_mdp_bound_align_image()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Datafb.c2943 int vmin, vmax, hmin, hmax; in atafb_setup_mcap() local
2966 hmax = 1000 * simple_strtoul(p, NULL, 10); in atafb_setup_mcap()
2967 if (hmax <= 0 || hmax <= hmin) in atafb_setup_mcap()
2973 fb_info.monspecs.hfmax = hmax; in atafb_setup_mcap()
Damifb.c2314 int vmin, vmax, hmin, hmax; in amifb_setup_mcap() local
2338 hmax = 1000 * simple_strtoul(p, NULL, 10); in amifb_setup_mcap()
2339 if (hmax <= 0 || hmax <= hmin) in amifb_setup_mcap()
2343 amifb_hfmax = hmax; in amifb_setup_mcap()
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/
Dsis_main.c474 monitor->hmax = buffer[j + 8]; in sisfb_interpret_edid()
491 monitor->hmin = 65535; monitor->hmax = 0; in sisfb_interpret_edid()
498 if(monitor->hmax < sisfb_ddcsmodes[i].h) monitor->hmax = sisfb_ddcsmodes[i].h + 1; in sisfb_interpret_edid()
520 if(monitor->hmax < sisfb_ddcfmodes[j].h) monitor->hmax = sisfb_ddcfmodes[j].h + 1; 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()
638 if(hsync > (monitor->hmax + 1)) in sisfb_verify_rate()
Dsis.h496 u16 hmax; member
/kernel/linux/linux-5.10/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c2239 unsigned hmax; member
2431 if (h >= params->hmax) { in tpg_fill_plane_pattern()
2432 if (params->hmax == tpg->compose.height) in tpg_fill_plane_pattern()
2570 params.hmax = (tpg->compose.height * tpg->perc_fill) / 100; in tpg_fill_plane_buffer()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1395 u32 *h, unsigned int hmin, unsigned int hmax, in jpeg_bound_align_image() argument
1416 hmax = height; in jpeg_bound_align_image()
1420 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in jpeg_bound_align_image()
1424 if (*h < height && (*h + h_step) < hmax) in jpeg_bound_align_image()
/kernel/linux/linux-5.10/Documentation/m68k/
Dkernel-options.rst524 :Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax>
531 your monitor can work with, in Hz. <hmin> and <hmax> are the same for
784 :Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax>
790 your monitor can work with, in Hz. <hmin> and <hmax> are the same for
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_edid.c2715 int hsync, hmin, hmax; in mode_in_hsync_range() local
2720 hmax = t[8]; in mode_in_hsync_range()
2722 hmax += ((t[4] & 0x08) ? 255 : 0); in mode_in_hsync_range()
2725 return (hsync <= hmax && hsync >= hmin); in mode_in_hsync_range()