Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/i2c/
Dimx274.c1281 u32 hmax; in imx274_apply_trimming() local
1294 hmax = max_t(u32, 260, (imx274->crop.width) / 16 + 23); in imx274_apply_trimming()
1303 err = imx274_write_mbreg(imx274, IMX274_HMAX_REG_LSB, hmax, 2); in imx274_apply_trimming()
1701 u32 hmax; in imx274_set_exposure() local
1709 err = imx274_read_mbreg(priv, IMX274_HMAX_REG_LSB, &hmax, 2); in imx274_set_exposure()
1713 if (hmax == 0) { in imx274_set_exposure()
1719 - priv->mode->nocpiop) / hmax; in imx274_set_exposure()
1729 (coarse_time * hmax + priv->mode->nocpiop) in imx274_set_exposure()
1848 u32 hmax; in imx274_set_frame_interval() local
1883 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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.c244 .hmax = 8176,
250 .hmax = 8176,
410 s.max_height = pix_limit->hmax; in mdp_try_fmt_mplane()
Dmtk-mdp3-regs.h269 u32 hmax; member
/linux-6.1.9/include/media/
Dv4l2-common.h389 unsigned int hmax, unsigned int halign,
/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c250 unsigned hmax = (img_height * tpg->perc_fill) / 100; in vivid_copy_buffer() local
293 for (y = 0; y < hmax / vdiv; y++, vcapbuf += stride_cap) in vivid_copy_buffer()
314 for (y = 0; y < hmax; y += vdiv, vcapbuf += stride_cap) { in vivid_copy_buffer()
/linux-6.1.9/drivers/media/platform/mediatek/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()
/linux-6.1.9/tools/perf/util/
Djitdump.c66 #define hmax(a, b) ((a) > (b) ? (a) : (b)) macro
152 bsz = hmax(sizeof(header), sizeof(*prefix)); in jit_open()
/linux-6.1.9/drivers/video/fbdev/
Datafb.c2875 int vmin, vmax, hmin, hmax; in atafb_setup_mcap() local
2898 hmax = 1000 * simple_strtoul(p, NULL, 10); in atafb_setup_mcap()
2899 if (hmax <= 0 || hmax <= hmin) in atafb_setup_mcap()
2905 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()
/linux-6.1.9/drivers/video/fbdev/sis/
Dsis_main.c475 monitor->hmax = buffer[j + 8]; in sisfb_interpret_edid()
492 monitor->hmin = 65535; monitor->hmax = 0; in sisfb_interpret_edid()
499 if(monitor->hmax < sisfb_ddcsmodes[i].h) monitor->hmax = sisfb_ddcsmodes[i].h + 1; in sisfb_interpret_edid()
521 if(monitor->hmax < sisfb_ddcfmodes[j].h) monitor->hmax = sisfb_ddcfmodes[j].h + 1; in sisfb_interpret_edid()
530 if((monitor->hmin <= monitor->hmax) && (monitor->vmin <= monitor->vmax)) { in sisfb_interpret_edid()
577 monitor->hmin, monitor->hmax, monitor->vmin, monitor->vmax, in sisfb_handle_ddc()
639 if(hsync > (monitor->hmax + 1)) in sisfb_verify_rate()
Dsis.h495 u16 hmax; member
/linux-6.1.9/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c2245 unsigned hmax; member
2475 if (h >= params->hmax) { in tpg_fill_plane_pattern()
2476 if (params->hmax == tpg->compose.height) in tpg_fill_plane_pattern()
2614 params.hmax = (tpg->compose.height * tpg->perc_fill) / 100; in tpg_fill_plane_buffer()
/linux-6.1.9/drivers/media/platform/samsung/s5p-jpeg/
Djpeg-core.c1393 u32 *h, unsigned int hmin, unsigned int hmax, in jpeg_bound_align_image() argument
1414 hmax = height; in jpeg_bound_align_image()
1418 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in jpeg_bound_align_image()
1422 if (*h < height && (*h + h_step) < hmax) in jpeg_bound_align_image()
/linux-6.1.9/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
/linux-6.1.9/drivers/gpu/drm/
Ddrm_edid.c3388 int hsync, hmin, hmax; in mode_in_hsync_range() local
3393 hmax = t[8]; in mode_in_hsync_range()
3395 hmax += ((t[4] & 0x08) ? 255 : 0); in mode_in_hsync_range()
3398 return (hsync <= hmax && hsync >= hmin); in mode_in_hsync_range()