Home
last modified time | relevance | path

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

/openbmc/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()
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
1888 "%s : register HMAX = %d\n", __func__, hmax); in imx274_set_frame_interval()
1890 if (hmax == 0 || frame_interval.denominator == 0) { in imx274_set_frame_interval()
[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()
/openbmc/u-boot/common/
H A Dedid.c45 unsigned int *hmax, unsigned int *vmin, in edid_get_ranges() argument
51 *hmin = *hmax = *vmin = *vmax = 0; in edid_get_ranges()
59 *hmax = monitor->data.range_data.horizontal_max; in edid_get_ranges()
/openbmc/linux/drivers/media/platform/mediatek/mdp3/
H A Dmdp_cfg_data.c390 .hmax = 8176,
396 .hmax = 8176,
H A Dmtk-mdp3-regs.h270 u32 hmax; member
H A Dmtk-mdp3-regs.c170 s.max_height = pix_limit->hmax; in mdp_try_fmt_mplane()
/openbmc/linux/drivers/media/v4l2-core/
H A 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()
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-cap.c229 unsigned hmax = (img_height * tpg->perc_fill) / 100; in vivid_copy_buffer() local
272 for (y = 0; y < hmax / vdiv; y++, vcapbuf += stride_cap) in vivid_copy_buffer()
293 for (y = 0; y < hmax; y += vdiv, vcapbuf += stride_cap) { in vivid_copy_buffer()
/openbmc/u-boot/include/
H A Dedid.h304 unsigned int *hmax, unsigned int *vmin,
/openbmc/linux/include/media/
H A Dv4l2-common.h389 unsigned int hmax, unsigned int halign,
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/video/fbdev/
H A 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()
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()
/openbmc/linux/drivers/video/fbdev/sis/
H A 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()
H A Dsis.h495 u16 hmax; member
/openbmc/linux/drivers/media/platform/samsung/s5p-jpeg/
H A 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()
/openbmc/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c2277 unsigned hmax; member
2507 if (h >= params->hmax) { in tpg_fill_plane_pattern()
2508 if (params->hmax == tpg->compose.height) in tpg_fill_plane_pattern()
2646 params.hmax = (tpg->compose.height * tpg->perc_fill) / 100; in tpg_fill_plane_buffer()
/openbmc/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
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_edid.c3552 int hsync, hmin, hmax; in mode_in_hsync_range() local
3557 hmax = t[8]; in mode_in_hsync_range()
3559 hmax += ((t[4] & 0x08) ? 255 : 0); in mode_in_hsync_range()
3562 return (hsync <= hmax && hsync >= hmin); in mode_in_hsync_range()