Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A 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 …]
H A 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()
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()
H A 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/
H A 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()
/OK3568_Linux_fs/kernel/include/media/
H A Dv4l2-common.h389 unsigned int hmax, unsigned int halign,
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Djitdump.c71 #define hmax(a, b) ((a) > (b) ? (a) : (b)) macro
146 bsz = hmax(sizeof(header), sizeof(*prefix)); in jit_open()
/OK3568_Linux_fs/kernel/drivers/media/platform/mtk-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()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A 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()
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()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/sis/
H A 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()
H A Dsis.h496 u16 hmax; member
/OK3568_Linux_fs/u-boot/common/
H A Dedid.c1732 unsigned int *hmax, unsigned int *vmin, in edid_get_ranges() argument
1738 *hmin = *hmax = *vmin = *vmax = 0; in edid_get_ranges()
1746 *hmax = monitor->data.range_data.horizontal_max; in edid_get_ranges()
5037 int hsync, hmin, hmax; in mode_in_hsync_range() local
5042 hmax = t[8]; in mode_in_hsync_range()
5044 hmax += ((t[4] & 0x08) ? 255 : 0); in mode_in_hsync_range()
5047 return (hsync <= hmax && hsync >= hmin); in mode_in_hsync_range()
/OK3568_Linux_fs/kernel/drivers/media/platform/s5p-jpeg/
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/common/v4l2-tpg/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/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
/OK3568_Linux_fs/u-boot/include/
H A Dedid.h985 unsigned int *hmax, unsigned int *vmin,
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/experimental/
H A Dsimd173 template <class T, class Abi> T hmax(const simd<T, Abi>&);
174 template <class M, class V> T hmax(const const_where_expression<M, V>&);
1272 _Tp hmax(const simd<_Tp, _Abi>&);
1275 hmax(const const_where_expression<_MaskType, _SimdType>&);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/experimental/
H A Dsimd173 template <class T, class Abi> T hmax(const simd<T, Abi>&);
174 template <class M, class V> T hmax(const const_where_expression<M, V>&);
1272 _Tp hmax(const simd<_Tp, _Abi>&);
1275 hmax(const const_where_expression<_MaskType, _SimdType>&);
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_edid.c2900 int hsync, hmin, hmax; in mode_in_hsync_range() local
2905 hmax = t[8]; in mode_in_hsync_range()
2907 hmax += ((t[4] & 0x08) ? 255 : 0); in mode_in_hsync_range()
2910 return (hsync <= hmax && hsync >= hmin); in mode_in_hsync_range()