/linux/drivers/media/i2c/ |
A D | imx274.c | 1282 u32 hmax; in imx274_apply_trimming() local 1295 hmax = max_t(u32, 260, (imx274->crop.width) / 16 + 23); in imx274_apply_trimming() 1697 u32 hmax; in imx274_set_exposure() local 1705 err = imx274_read_mbreg(priv, IMX274_HMAX_REG_LSB, &hmax, 2); in imx274_set_exposure() 1709 if (hmax == 0) { in imx274_set_exposure() 1715 - priv->mode->nocpiop) / hmax; in imx274_set_exposure() 1725 (coarse_time * hmax + priv->mode->nocpiop) in imx274_set_exposure() 1844 u32 hmax; in imx274_set_frame_interval() local 1884 "%s : register HMAX = %d\n", __func__, hmax); in imx274_set_frame_interval() 1886 if (hmax == 0 || frame_interval.denominator == 0) { in imx274_set_frame_interval() [all …]
|
A D | imx290.c | 58 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()
|
A D | tvp5150.c | 1090 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/v4l2-core/ |
A D | v4l2-common.c | 121 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/drivers/media/test-drivers/vivid/ |
A D | vivid-kthread-cap.c | 249 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()
|
/linux/include/media/ |
A D | v4l2-common.h | 388 unsigned int hmax, unsigned int halign,
|
/linux/drivers/media/platform/mtk-mdp/ |
A D | mtk_mdp_m2m.c | 154 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/ |
A D | jitdump.c | 73 #define hmax(a, b) ((a) > (b) ? (a) : (b)) macro 159 bsz = hmax(sizeof(header), sizeof(*prefix)); in jit_open()
|
/linux/drivers/video/fbdev/ |
A D | atafb.c | 2935 int vmin, vmax, hmin, hmax; in atafb_setup_mcap() local 2958 hmax = 1000 * simple_strtoul(p, NULL, 10); in atafb_setup_mcap() 2959 if (hmax <= 0 || hmax <= hmin) in atafb_setup_mcap() 2965 fb_info.monspecs.hfmax = hmax; in atafb_setup_mcap()
|
A D | amifb.c | 2314 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/drivers/video/fbdev/sis/ |
A D | sis_main.c | 474 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()
|
A D | sis.h | 495 u16 hmax; member
|
/linux/drivers/media/platform/s5p-jpeg/ |
A D | jpeg-core.c | 1395 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()
|
/linux/drivers/media/common/v4l2-tpg/ |
A D | v4l2-tpg-core.c | 2239 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()
|
/linux/Documentation/m68k/ |
A D | kernel-options.rst | 524 :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/gpu/drm/ |
A D | drm_edid.c | 2798 int hsync, hmin, hmax; in mode_in_hsync_range() local 2803 hmax = t[8]; in mode_in_hsync_range() 2805 hmax += ((t[4] & 0x08) ? 255 : 0); in mode_in_hsync_range() 2808 return (hsync <= hmax && hsync >= hmin); in mode_in_hsync_range()
|