Home
last modified time | relevance | path

Searched refs:max_height (Results 1 – 96 of 96) sorted by relevance

/linux-4.1.27/drivers/media/usb/gspca/
Dw996Xcf.c399 max_width, max_height; in w9968cf_set_crop_window() local
403 max_height = 288; in w9968cf_set_crop_window()
406 max_height = 480; in w9968cf_set_crop_window()
434 fh = SC(sd->gspca_dev.pixfmt.height) / max_height; in w9968cf_set_crop_window()
437 ch = (fw >= fh) ? SC(sd->gspca_dev.pixfmt.height) / fw : max_height; in w9968cf_set_crop_window()
440 sd->sensor_height = max_height; in w9968cf_set_crop_window()
443 y = (max_height - ch) / 2; in w9968cf_set_crop_window()
Dstk1135.c640 fsize->stepwise.max_height = 1024; in stk1135_enum_framesizes()
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_rwpf.c61 fse->max_height = rwpf->max_height; in vsp1_rwpf_enum_frame_size()
69 fse->max_height = format->height; in vsp1_rwpf_enum_frame_size()
127 RWPF_MIN_HEIGHT, rwpf->max_height); in vsp1_rwpf_set_format()
Dvsp1_hsit.c92 fse->max_height = HSIT_MAX_SIZE; in hsit_enum_frame_size()
100 fse->max_height = format->height; in hsit_enum_frame_size()
Dvsp1_sru.c216 fse->max_height = SRU_MAX_SIZE; in sru_enum_frame_size()
223 fse->max_height = format->height * 2; in sru_enum_frame_size()
226 fse->max_height = format->height; in sru_enum_frame_size()
Dvsp1_lut.c133 fse->max_height = LUT_MAX_SIZE; in lut_enum_frame_size()
141 fse->max_height = format->height; in lut_enum_frame_size()
Dvsp1_lif.c125 fse->max_height = LIF_MAX_SIZE; in lif_enum_frame_size()
130 fse->max_height = format->height; in lif_enum_frame_size()
Dvsp1_rwpf.h33 unsigned int max_height; member
Dvsp1_uds.c220 fse->max_height = UDS_MAX_SIZE; in uds_enum_frame_size()
225 &fse->max_height); in uds_enum_frame_size()
Dvsp1_wpf.c231 wpf->max_height = WPF_MAX_HEIGHT; in vsp1_wpf_create()
Dvsp1_rpf.c231 rpf->max_height = RPF_MAX_HEIGHT; in vsp1_rpf_create()
Dvsp1_bru.c227 fse->max_height = BRU_MAX_SIZE; in bru_enum_frame_size()
/linux-4.1.27/drivers/media/platform/soc_camera/
Dsoc_scale_crop.c217 unsigned int max_width, unsigned int max_height, in client_s_fmt() argument
253 if (max_height > cap.bounds.height) in client_s_fmt()
254 max_height = cap.bounds.height; in client_s_fmt()
262 tmp_w < max_width && tmp_h < max_height) { in client_s_fmt()
264 tmp_h = min(2 * tmp_h, max_height); in client_s_fmt()
Dsh_mobile_ceu_camera.c125 int max_height; member
1103 mf.height > pcdev->max_height) && shift < 4) { in sh_mobile_ceu_get_formats()
1251 if (mf.width > pcdev->max_width || mf.height > pcdev->max_height) in sh_mobile_ceu_set_crop()
1368 ceu_sub_height = pcdev->max_height; in sh_mobile_ceu_set_fmt()
1515 &pix->height, 4, pcdev->max_height, 2, 0); in sh_mobile_ceu_try_fmt()
1551 mf.height = pcdev->max_height; in sh_mobile_ceu_try_fmt()
1760 pcdev->max_height = pcdev->pdata->max_height; in sh_mobile_ceu_probe()
1773 if (!pcdev->max_height) { in sh_mobile_ceu_probe()
1777 pcdev->max_height = v; in sh_mobile_ceu_probe()
1779 if (!pcdev->max_height) in sh_mobile_ceu_probe()
[all …]
Dsoc_camera.c1917 fse.min_height == fse.max_height) { in default_enum_framesizes()
1927 fsize->stepwise.max_height = fse.max_height; in default_enum_framesizes()
/linux-4.1.27/include/media/
Dsh_mobile_ceu.h23 int max_height; member
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_fbc.c509 unsigned int max_width, max_height; in intel_fbc_update() local
558 max_height = 4096; in intel_fbc_update()
561 max_height = 2048; in intel_fbc_update()
564 max_height = 1536; in intel_fbc_update()
567 intel_crtc->config->pipe_src_h > max_height) { in intel_fbc_update()
Dintel_display.c13813 dev->mode_config.max_height = 2048; in intel_modeset_init()
13816 dev->mode_config.max_height = 4096; in intel_modeset_init()
13819 dev->mode_config.max_height = 8192; in intel_modeset_init()
/linux-4.1.27/drivers/media/platform/xilinx/
Dxilinx-vip.c310 fse->max_height = XVIP_MAX_HEIGHT; in xvip_enum_frame_size()
318 fse->max_height = format->height; in xvip_enum_frame_size()
Dxilinx-tpg.c341 fse->max_height = XVIP_MAX_HEIGHT; in xtpg_enum_frame_size()
346 fse->max_height = format->height; in xtpg_enum_frame_size()
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c112 .max_height = 128,
130 .max_height = 2048,
272 dev->mode_config.max_height = dc->desc->max_height; in atmel_hlcdc_dc_modeset_init()
Datmel_hlcdc_dc.h60 int max_height; member
Datmel_hlcdc_layer.h269 int max_height; member
Datmel_hlcdc_plane.c691 if (plane->layer.desc->max_height && in atmel_hlcdc_plane_atomic_check()
692 state->crtc_h > plane->layer.desc->max_height) in atmel_hlcdc_plane_atomic_check()
/linux-4.1.27/drivers/media/platform/s3c-camif/
Dcamif-core.c580 .max_height = 4096,
587 .max_height = 480,
608 .max_height = 4096,
615 .max_height = 4096,
Dcamif-core.h139 u16 max_height; member
Dcamif-capture.c767 &pix->height, hmin, pix_lim->max_height, 0, 0); in __camif_video_try_format()
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispresizer.c793 unsigned int max_height; in resizer_calc_ratios() local
804 max_height = ((input->height - 4) * 256 + 255 - 16 - 32 * spv) / 64 + 1; in resizer_calc_ratios()
805 max_height = min_t(unsigned int, max_height, MAX_OUT_HEIGHT); in resizer_calc_ratios()
806 output->height = clamp(output->height, min_height, max_height); in resizer_calc_ratios()
1200 unsigned int max_height = in resizer_try_crop() local
1204 crop->height = clamp_t(u32, crop->height, min_height, max_height); in resizer_try_crop()
1466 fse->max_height = format.height; in resizer_enum_frame_size()
Dispccp2.c738 fse->max_height = format.height; in ccp2_enum_frame_size()
Dispcsi2.c965 fse->max_height = format.height; in csi2_enum_frame_size()
Disppreview.c1920 fse->max_height = format.height; in preview_enum_frame_size()
Dispccdc.c2210 fse->max_height = format.height; in ccdc_enum_frame_size()
/linux-4.1.27/include/uapi/linux/
Dv4l2-subdev.h96 __u32 max_height; member
Dvideodev2.h582 __u32 max_height; /* Maximum frame height [pixel] */ member
1254 __u32 max_height; member
/linux-4.1.27/drivers/media/pci/ivtv/
Divtvfb.c980 int max_height; in ivtvfb_init_vidmode() local
1019 max_height = itv->is_out_50hz ? 576 : 480; in ivtvfb_init_vidmode()
1021 if (osd_yres > max_height) in ivtvfb_init_vidmode()
1022 osd_yres = max_height; in ivtvfb_init_vidmode()
1028 if (osd_upper + start_window.height > max_height + 1) { in ivtvfb_init_vidmode()
1036 start_window.top = osd_upper >= 0 ? osd_upper : ((max_height - start_window.height) / 2); in ivtvfb_init_vidmode()
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dfimc-lite.h67 unsigned short max_height; member
Dfimc-lite.c581 &mf->height, 0, dd->max_height, 0, 0); in fimc_lite_subdev_try_fmt()
741 &pixm->height, 0, dd->max_height, 0, 0); in fimc_lite_try_fmt()
1686 .max_height = 8192,
1697 .max_height = 8192,
/linux-4.1.27/drivers/gpu/drm/shmobile/
Dshmob_drm_kms.c154 sdev->ddev->mode_config.max_height = 4095; in shmob_drm_modeset_init()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h142 uint32_t max_width, uint32_t max_height);
Dvmwgfx_fb.c52 unsigned max_height; member
144 (var->yoffset + var->yres) > par->max_height) { in vmw_fb_check_var()
452 par->max_height = fb_height; in vmw_fb_init()
Dvmwgfx_kms.c1475 dev->mode_config.max_height = 8192; in vmw_kms_init()
1938 uint32_t max_width, uint32_t max_height) in vmw_du_connector_fill_modes() argument
1990 bmode->vdisplay > max_height) in vmw_du_connector_fill_modes()
2060 rects[i].y + rects[i].h > mode_config->max_height) { in vmw_kms_update_layout_ioctl()
/linux-4.1.27/drivers/media/platform/ti-vpe/
Dvpdma_priv.h299 static inline u32 dtd_max_width_height(int max_width, int max_height) in dtd_max_width_height() argument
301 return (max_width << DTD_MAX_WIDTH_SHFT) | max_height; in dtd_max_width_height()
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_main.c458 dev->mode_config.max_height = 2048; in ast_driver_load()
461 dev->mode_config.max_height = 1200; in ast_driver_load()
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c198 dev->mode_config.max_height = 4096; in rockchip_drm_mode_config_init()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_fb.c284 dev->mode_config.max_height = 4096; in exynos_drm_mode_config_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_display.c459 dev->mode_config.max_height = 2048; in nouveau_display_create()
463 dev->mode_config.max_height = 4096; in nouveau_display_create()
466 dev->mode_config.max_height = 8192; in nouveau_display_create()
/linux-4.1.27/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c1244 fse->max_height = s5c73m3_resolutions[idx][fse->index].height; in s5c73m3_enum_frame_size()
1245 fse->min_height = fse->max_height; in s5c73m3_enum_frame_size()
1282 fse->max_height = fse->min_height = h; in s5c73m3_oif_enum_frame_size()
1303 fse->max_height = s5c73m3_resolutions[idx][fse->index].height; in s5c73m3_oif_enum_frame_size()
1304 fse->min_height = fse->max_height; in s5c73m3_oif_enum_frame_size()
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_drm_drv.c127 dev->mode_config.max_height = STI_MAX_FB_WIDTH; in sti_drm_mode_config_init()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_fb_helper.c1639 height = dev->mode_config.max_height; in drm_setup_crtcs()
1754 dev->mode_config.max_height); in drm_fb_helper_initial_config()
1792 u32 max_width, max_height; in drm_fb_helper_hotplug_event() local
1803 max_height = fb_helper->fb->height; in drm_fb_helper_hotplug_event()
1805 drm_fb_helper_probe_connector_modes(fb_helper, max_width, max_height); in drm_fb_helper_hotplug_event()
Ddrm_crtc.c1874 card_res->max_height = dev->mode_config.max_height; in drm_mode_getresources()
2148 dev->mode_config.max_height); in drm_mode_getconnector()
3334 if ((config->min_height > r->height) || (r->height > config->max_height)) { in internal_framebuffer_create()
3336 r->height, config->min_height, config->max_height); in internal_framebuffer_create()
/linux-4.1.27/drivers/gpu/drm/bochs/
Dbochs_kms.c280 bochs->dev->mode_config.max_height = 8192; in bochs_kms_init()
/linux-4.1.27/include/uapi/drm/
Ddrm_mode.h128 __u32 min_height, max_height; member
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_modeset.c446 dev->mode_config.max_height = 2048; in udl_modeset_init()
/linux-4.1.27/drivers/media/platform/davinci/
Dvpbe_display.c580 int max_height; in vpbe_try_format() local
607 max_height = vpbe_dev->current_timings.yres; in vpbe_try_format()
617 (pixfmt->height > max_height)) { in vpbe_try_format()
Dvpfe_capture.c818 u32 min_height = 1, min_width = 32, max_width, max_height; in vpfe_check_format() local
894 max_height = vpfe_dev->std_info.active_lines; in vpfe_check_format()
901 pixfmt->height = clamp((pixfmt->height), min_height, max_height); in vpfe_check_format()
/linux-4.1.27/drivers/media/i2c/
Dov2659.c1037 fse->max_height = ov2659_framesizes[fse->index].height; in ov2659_enum_frame_sizes()
1038 fse->min_height = fse->max_height; in ov2659_enum_frame_sizes()
Dov9650.c1097 fse->max_height = ov965x_framesizes[fse->index].height; in ov965x_enum_frame_sizes()
1098 fse->min_height = fse->max_height; in ov965x_enum_frame_sizes()
Dmt9m032.c340 fse->max_height = MT9M032_ROW_SIZE_DEF; in mt9m032_enum_frame_size()
Dmt9t001.c350 fse->max_height = fse->min_height; in mt9t001_enum_frame_size()
Ds5k5baf.c1237 fse->max_height = S5K5BAF_CIS_HEIGHT; in s5k5baf_enum_frame_size()
1248 fse->max_height = S5K5BAF_WIN_HEIGHT_MIN; in s5k5baf_enum_frame_size()
Dmt9v032.c474 fse->max_height = fse->min_height; in mt9v032_enum_frame_size()
Dmt9p031.c502 fse->max_height = fse->min_height; in mt9p031_enum_frame_size()
Dov7670.c1113 fse->min_height = fse->max_height = win->height; in ov7670_enum_frame_size()
Ds5k6aa.c1052 fse->max_height = S5K6AA_WIN_HEIGHT_MIN; in s5k6aa_enum_frame_size()
Dadv7604.c1405 cap->bt.max_height = 1200; in adv76xx_dv_timings_cap()
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-driver.c2004 __s32 max_height; in limit_scaled_size_lock() local
2029 max_height = b->height; in limit_scaled_size_lock()
2035 max_height -= btv->vbi_end - b->top; in limit_scaled_size_lock()
2037 if (min_height > max_height) in limit_scaled_size_lock()
2048 max_height = c->max_scaled_height; in limit_scaled_size_lock()
2059 max_height >>= !V4L2_FIELD_HAS_BOTH(field); in limit_scaled_size_lock()
2063 *height = clamp(*height, min_height, max_height); in limit_scaled_size_lock()
2081 *height > max_height || in limit_scaled_size_lock()
/linux-4.1.27/drivers/staging/media/omap4iss/
Diss_ipipe.c295 fse->max_height = format.height; in ipipe_enum_frame_size()
Diss_ipipeif.c507 fse->max_height = format.height; in ipipeif_enum_frame_size()
Diss_resizer.c569 fse->max_height = format.height; in resizer_enum_frame_size()
Diss_csi2.c958 fse->max_height = format.height; in csi2_enum_frame_size()
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_drv.c154 dev->mode_config.max_height = 2048; in armada_drm_load()
/linux-4.1.27/include/drm/
Ddrm_crtc.h535 int (*fill_modes)(struct drm_connector *connector, uint32_t max_width, uint32_t max_height);
1096 int max_width, max_height; member
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_mode.c579 cdev->dev->mode_config.max_height = CIRRUS_MAX_FB_HEIGHT; in cirrus_modeset_init()
/linux-4.1.27/drivers/gpu/drm/imx/
Dimx-drm-core.c267 drm->mode_config.max_height = 4096; in imx_drm_driver_load()
/linux-4.1.27/drivers/media/platform/marvell-ccic/
Dmcam-core.c1588 fse.min_height == fse.max_height) { in mcam_vidioc_enum_framesizes()
1598 sizes->stepwise.max_height = fse.max_height; in mcam_vidioc_enum_framesizes()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_display.c1582 rdev->ddev->mode_config.max_height = 16384; in radeon_modeset_init()
1585 rdev->ddev->mode_config.max_height = 8192; in radeon_modeset_init()
1588 rdev->ddev->mode_config.max_height = 4096; in radeon_modeset_init()
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c670 dev->mode_config.max_height = 2047; in rcar_du_modeset_init()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-dv-timings.c162 bt->height > cap->max_height || in v4l2_valid_dv_timings()
Dv4l2-ioctl.c725 p->bt.min_height, p->bt.max_height, in v4l_print_dv_timings_cap()
755 p->stepwise.max_width, p->stepwise.max_height); in v4l_print_frmsizeenum()
/linux-4.1.27/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c93 dev->mode_config.max_height = 2048; in modeset_init()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_drv.c324 dev->mode_config.max_height = 2048; in omap_modeset_init()
/linux-4.1.27/drivers/gpu/drm/gma500/
Dframebuffer.c789 dev->mode_config.max_height = 4096; in psb_modeset_init()
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_drv.c337 dev->mode_config.max_height = 2048; in msm_load()
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
Ddm365_ipipeif.c668 fse->max_height = format.height; in ipipeif_enum_frame_size()
Ddm365_ipipe.c1563 fse->max_height = format.height; in ipipe_enum_frame_size()
Ddm365_isif.c1507 fse->max_height = format.format.height; in isif_enum_frame_size()
Ddm365_resizer.c1498 fse->max_height = format.height; in resizer_enum_frame_size()
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddrm.c152 drm->mode_config.max_height = 4096; in tegra_drm_load()
/linux-4.1.27/drivers/media/platform/s5p-tv/
Dhdmi_drv.c701 cap->bt.max_height = 1080; in hdmi_dv_timings_cap()
/linux-4.1.27/drivers/media/usb/hdpvr/
Dhdpvr-video.c739 cap->bt.max_height = 1080; in vidioc_dv_timings_cap()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_display.c1105 qdev->ddev->mode_config.max_height = 8192; in qxl_modeset_init()
/linux-4.1.27/drivers/media/platform/
Dvia-camera.c1141 sizes->stepwise.max_height = VGA_HEIGHT; in viacam_enum_framesizes()
/linux-4.1.27/drivers/media/platform/am437x/
Dam437x-vpfe.c1665 fse.min_height, fse.max_height); in vpfe_enum_size()
1669 fsize->discrete.height = fse.max_height; in vpfe_enum_size()
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_mode.c1628 mdev->dev->mode_config.max_height = MGAG200_MAX_FB_HEIGHT; in mgag200_modeset_init()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-vid-cap.c1736 fsize->stepwise.max_height = MAX_HEIGHT * MAX_ZOOM; in vidioc_enum_framesizes()
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-video.c1788 fsize->stepwise.max_height = maxh; in vidioc_enum_framesizes()