Home
last modified time | relevance | path

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

/linux/drivers/media/i2c/
H A 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()
1501 * frame_length = vmax x (svr + 1), in unit of hmax.
1699 u32 hmax; in imx274_set_exposure() local
1707 err = imx274_read_mbreg(priv, IMX274_HMAX_REG_LSB, &hmax, 2); in imx274_set_exposure()
1711 if (hmax == 0) { in imx274_set_exposure()
1717 - priv->mode->nocpiop) / hmax; in imx274_set_exposure()
1727 (coarse_time * hmax + priv->mode->nocpiop) in imx274_set_exposure()
1846 u32 hmax; in __imx274_set_frame_interval() local
[all...]
H A Dimx283.c218 * hmax = [hmax in 72MHz units] * 480 / 72
221 * hmax = [hmax in 72MHz units] * 576 / 72
570 u16 hmax; member
659 /* Determine the exposure based on current hmax, vmax and a given SHR */
669 numerator = (imx283->vmax * (svr + 1) - shr) * imx283->hmax + offset; in imx283_exposure()
671 do_div(numerator, imx283->hmax); in imx283_exposure()
704 temp = ((u64)exposure * imx283->hmax - offset); in imx283_shr()
705 do_div(temp, imx283->hmax); in imx283_shr()
[all...]
H A 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/drivers/media/platform/mediatek/mdp3/
H A Dmdp_cfg_data.c1262 .hmax = 8176,
1268 .hmax = 8176,
1281 .hmax = 8192,
1287 .hmax = 8192,
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-cap.c230 unsigned hmax = (img_height * tpg->perc_fill) / 100; in vivid_copy_buffer() local
273 for (y = 0; y < hmax / vdiv; y++, vcapbuf += stride_cap) in vivid_copy_buffer()
294 for (y = 0; y < hmax; y += vdiv, vcapbuf += stride_cap) { in vivid_copy_buffer()
/linux/include/media/
H A Dv4l2-common.h359 * @hmax: maximum height.
365 * @hmin and @hmax, inclusive.
376 * #. @hmax must not be smaller than @hmin.
389 unsigned int hmax, unsigned int halign,
/linux/drivers/media/platform/mediatek/mdp/
H A 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/tools/perf/util/
H A Djitdump.c66 #define hmax(a, b) ((a) > (b) ? (a) : (b)) macro
152 bsz = hmax(sizeof(header), sizeof(*prefix)); in jit_open()
/linux/drivers/video/fbdev/sis/
H A Dsis_main.c444 monitor->hmax = buffer[j + 8]; in sisfb_interpret_edid()
461 monitor->hmin = 65535; monitor->hmax = 0; in sisfb_interpret_edid()
468 if(monitor->hmax < sisfb_ddcsmodes[i].h) monitor->hmax = sisfb_ddcsmodes[i].h + 1; in sisfb_interpret_edid()
490 if(monitor->hmax < sisfb_ddcfmodes[j].h) monitor->hmax = sisfb_ddcfmodes[j].h + 1; in sisfb_interpret_edid()
499 if((monitor->hmin <= monitor->hmax) && (monitor->vmin <= monitor->vmax)) { in sisfb_interpret_edid()
546 monitor->hmin, monitor->hmax, monitor->vmin, monitor->vmax, in sisfb_handle_ddc()
608 if(hsync > (monitor->hmax + 1)) in sisfb_verify_rate()
H A Dsis.h495 u16 hmax; member
/linux/drivers/video/fbdev/
H A 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/Documentation/arch/m68k/
H A 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/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c2280 unsigned hmax; member
2510 if (h >= params->hmax) { in tpg_fill_plane_pattern()
2511 if (params->hmax == tpg->compose.height) in tpg_fill_plane_pattern()
2649 params.hmax = (tpg->compose.height * tpg->perc_fill) / 100; in tpg_fill_plane_buffer()
/linux/drivers/gpu/drm/
H A Ddrm_edid.c3608 int hsync, hmin, hmax; in mode_in_hsync_range() local
3613 hmax = t[8]; in mode_in_hsync_range()
3615 hmax += ((t[4] & 0x08) ? 255 : 0); in mode_in_hsync_range()
3618 return (hsync <= hmax && hsync >= hmin); in mode_in_hsync_range()