Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_cfg.c141 .max_height = 0xFFFF,
219 .max_height = 0xFFFF,
290 .max_height = 0xFFFF,
359 .max_height = 0xFFFF,
434 .max_height = 0xFFFF,
Dmdp5_cfg.h46 uint32_t max_height; member
Dmdp5_kms.c636 dev->mode_config.max_height = config->hw->lm.max_height; in mdp5_kms_init()
/linux-4.4.14/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.c217 fse->max_height = SRU_MAX_SIZE; in sru_enum_frame_size()
224 fse->max_height = format->height * 2; in sru_enum_frame_size()
227 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_rpf.c231 rpf->max_height = RPF_MAX_HEIGHT; in vsp1_rpf_create()
Dvsp1_wpf.c231 wpf->max_height = WPF_MAX_HEIGHT; in vsp1_wpf_create()
Dvsp1_bru.c227 fse->max_height = BRU_MAX_SIZE; in bru_enum_frame_size()
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c52 .max_height = 860,
119 .max_height = 128,
136 .max_height = 600,
221 .max_height = 128,
239 .max_height = 2048,
322 .max_height = 2048,
475 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.4.14/drivers/media/platform/soc_camera/
Dsoc_scale_crop.c217 unsigned int max_width, unsigned int max_height, in client_set_fmt() argument
254 if (max_height > cap.bounds.height) in client_set_fmt()
255 max_height = cap.bounds.height; in client_set_fmt()
263 tmp_w < max_width && tmp_h < max_height) { in client_set_fmt()
265 tmp_h = min(2 * tmp_h, max_height); in client_set_fmt()
Dsh_mobile_ceu_camera.c125 int max_height; member
1120 mf->height > pcdev->max_height) && shift < 4) { in sh_mobile_ceu_get_formats()
1271 if (mf->width > pcdev->max_width || mf->height > pcdev->max_height) in sh_mobile_ceu_set_crop()
1388 ceu_sub_height = pcdev->max_height; in sh_mobile_ceu_set_fmt()
1539 &pix->height, 4, pcdev->max_height, 2, 0); in sh_mobile_ceu_try_fmt()
1575 mf->height = pcdev->max_height; in sh_mobile_ceu_try_fmt()
1786 pcdev->max_height = pcdev->pdata->max_height; in sh_mobile_ceu_probe()
1800 if (!pcdev->max_height) { in sh_mobile_ceu_probe()
1804 pcdev->max_height = v; in sh_mobile_ceu_probe()
1806 if (!pcdev->max_height) in sh_mobile_ceu_probe()
[all …]
Dsoc_camera.c1935 fse.min_height == fse.max_height) { in default_enum_framesizes()
1945 fsize->stepwise.max_height = fse.max_height; in default_enum_framesizes()
/linux-4.4.14/include/media/
Dsh_mobile_ceu.h23 int max_height; member
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_kms.c33 fsl_dev->drm->mode_config.max_height = 2047; in fsl_dcu_drm_modeset_init()
/linux-4.4.14/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.4.14/drivers/gpu/drm/vc4/
Dvc4_kms.c51 dev->mode_config.max_height = 2048; in vc4_kms_load()
/linux-4.4.14/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.c766 &pix->height, hmin, pix_lim->max_height, 0, 0); in __camif_video_try_format()
/linux-4.4.14/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.c1916 fse->max_height = format.height; in preview_enum_frame_size()
Dispccdc.c2210 fse->max_height = format.height; in ccdc_enum_frame_size()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h208 uint32_t max_width, uint32_t max_height);
252 u32 max_height,
Dvmwgfx_fb.c58 unsigned max_height; member
145 (var->yoffset + var->yres) > par->max_height) { in vmw_fb_check_var()
671 par->max_height = fb_height; in vmw_fb_init()
675 par->max_height, &par->con, in vmw_fb_init()
Dvmwgfx_kms.c1122 dev->mode_config.max_height = dev_priv->texture_max_height; in vmw_kms_init()
1528 uint32_t max_width, uint32_t max_height) in vmw_du_connector_fill_modes() argument
1552 max_height = min(max_height, dev_priv->stdu_max_height); in vmw_du_connector_fill_modes()
1583 bmode->vdisplay > max_height) in vmw_du_connector_fill_modes()
1653 rects[i].y + rects[i].h > mode_config->max_height) { in vmw_kms_update_layout_ioctl()
2064 u32 max_height, in vmw_kms_fbdev_init_data() argument
2088 (void) vmw_du_connector_fill_modes(con, max_width, max_height); in vmw_kms_fbdev_init_data()
/linux-4.4.14/include/uapi/linux/
Dv4l2-subdev.h96 __u32 max_height; member
Dvideodev2.h674 __u32 max_height; /* Maximum frame height [pixel] */ member
1348 __u32 max_height; member
/linux-4.4.14/drivers/media/pci/ivtv/
Divtvfb.c981 int max_height; in ivtvfb_init_vidmode() local
1020 max_height = itv->is_out_50hz ? 576 : 480; in ivtvfb_init_vidmode()
1022 if (osd_yres > max_height) in ivtvfb_init_vidmode()
1023 osd_yres = max_height; in ivtvfb_init_vidmode()
1029 if (osd_upper + start_window.height > max_height + 1) { in ivtvfb_init_vidmode()
1037 start_window.top = osd_upper >= 0 ? osd_upper : ((max_height - start_window.height) / 2); in ivtvfb_init_vidmode()
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-lite.h67 unsigned short max_height; member
Dfimc-lite.c578 &mf->height, 0, dd->max_height, 0, 0); in fimc_lite_subdev_try_fmt()
738 &pixm->height, 0, dd->max_height, 0, 0); in fimc_lite_try_fmt()
1683 .max_height = 8192,
1694 .max_height = 8192,
/linux-4.4.14/drivers/gpu/drm/shmobile/
Dshmob_drm_kms.c154 sdev->ddev->mode_config.max_height = 4095; in shmob_drm_modeset_init()
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/
Dnouveau_display.c470 dev->mode_config.max_height = 2048; in nouveau_display_create()
474 dev->mode_config.max_height = 4096; in nouveau_display_create()
478 dev->mode_config.max_height = 8192; in nouveau_display_create()
481 dev->mode_config.max_height = 16384; in nouveau_display_create()
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_main.c459 dev->mode_config.max_height = 2048; in ast_driver_load()
462 dev->mode_config.max_height = 1200; in ast_driver_load()
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c199 dev->mode_config.max_height = 4096; in rockchip_drm_mode_config_init()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_fb.c238 dev->mode_config.max_height = 4096; in exynos_drm_mode_config_init()
/linux-4.4.14/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.4.14/drivers/gpu/drm/sti/
Dsti_drv.c127 dev->mode_config.max_height = STI_MAX_FB_HEIGHT; in sti_mode_config_init()
/linux-4.4.14/drivers/gpu/drm/bochs/
Dbochs_kms.c280 bochs->dev->mode_config.max_height = 8192; in bochs_kms_init()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_fb_helper.c1989 height = dev->mode_config.max_height; in drm_setup_crtcs()
2107 dev->mode_config.max_height); in drm_fb_helper_initial_config()
2145 u32 max_width, max_height; in drm_fb_helper_hotplug_event() local
2159 max_height = fb_helper->fb->height; in drm_fb_helper_hotplug_event()
2161 drm_fb_helper_probe_connector_modes(fb_helper, max_width, max_height); in drm_fb_helper_hotplug_event()
Ddrm_crtc.c1794 card_res->max_height = dev->mode_config.max_height; in drm_mode_getresources()
2027 dev->mode_config.max_height); in drm_mode_getconnector()
3255 if ((config->min_height > r->height) || (r->height > config->max_height)) { in internal_framebuffer_create()
3257 r->height, config->min_height, config->max_height); in internal_framebuffer_create()
/linux-4.4.14/include/uapi/drm/
Ddrm_mode.h138 __u32 max_height; member
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_drv.c100 dev->mode_config.max_height = 2048; in armada_drm_load()
/linux-4.4.14/drivers/gpu/drm/udl/
Dudl_modeset.c446 dev->mode_config.max_height = 2048; in udl_modeset_init()
/linux-4.4.14/drivers/media/platform/davinci/
Dvpbe_display.c581 int max_height; in vpbe_try_format() local
608 max_height = vpbe_dev->current_timings.yres; in vpbe_try_format()
618 (pixfmt->height > max_height)) { in vpbe_try_format()
Dvpfe_capture.c821 u32 min_height = 1, min_width = 32, max_width, max_height; in vpfe_check_format() local
897 max_height = vpfe_dev->std_info.active_lines; in vpfe_check_format()
904 pixfmt->height = clamp((pixfmt->height), min_height, max_height); in vpfe_check_format()
/linux-4.4.14/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.4.14/drivers/gpu/drm/imx/
Dimx-drm-core.c267 drm->mode_config.max_height = 4096; in imx_drm_driver_load()
/linux-4.4.14/drivers/staging/media/omap4iss/
Diss_ipipe.c301 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.c568 fse->max_height = format.height; in resizer_enum_frame_size()
Diss_csi2.c962 fse->max_height = format.height; in csi2_enum_frame_size()
/linux-4.4.14/drivers/media/platform/marvell-ccic/
Dmcam-core.c1514 fse.min_height == fse.max_height) { in mcam_vidioc_enum_framesizes()
1524 sizes->stepwise.max_height = fse.max_height; in mcam_vidioc_enum_framesizes()
/linux-4.4.14/drivers/media/i2c/
Dov2659.c1033 fse->max_height = ov2659_framesizes[fse->index].height; in ov2659_enum_frame_sizes()
1034 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.c1143 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.c1449 cap->bt.max_height = 1200; in adv76xx_dv_timings_cap()
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_mode.c579 cdev->dev->mode_config.max_height = CIRRUS_MAX_FB_HEIGHT; in cirrus_modeset_init()
/linux-4.4.14/include/drm/
Ddrm_crtc.h532 int (*fill_modes)(struct drm_connector *connector, uint32_t max_width, uint32_t max_height);
1085 int max_width, max_height; member
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_display.c511 vgdev->ddev->mode_config.max_height = YRES_MAX; in virtio_gpu_modeset_init()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_display.c1635 rdev->ddev->mode_config.max_height = 16384; in radeon_modeset_init()
1638 rdev->ddev->mode_config.max_height = 8192; in radeon_modeset_init()
1641 rdev->ddev->mode_config.max_height = 4096; in radeon_modeset_init()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_kms.c548 dev->mode_config.max_height = 2048; in mdp4_kms_init()
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c755 dev->mode_config.max_height = 2047; in rcar_du_modeset_init()
/linux-4.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c82 dev->mode_config.max_height = 2048; in modeset_init()
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-dv-timings.c163 bt->height > cap->max_height || in v4l2_valid_dv_timings()
Dv4l2-ioctl.c728 p->bt.min_height, p->bt.max_height, in v4l_print_dv_timings_cap()
758 p->stepwise.max_width, p->stepwise.max_height); in v4l_print_frmsizeenum()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dframebuffer.c773 dev->mode_config.max_height = 4096; in psb_modeset_init()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_drv.c497 dev->mode_config.max_height = 2048; in omap_modeset_init()
/linux-4.4.14/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.c1499 fse->max_height = format.height; in resizer_enum_frame_size()
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddrm.c160 drm->mode_config.max_height = 4096; in tegra_drm_load()
/linux-4.4.14/drivers/media/platform/s5p-tv/
Dhdmi_drv.c706 cap->bt.max_height = 1080; in hdmi_dv_timings_cap()
/linux-4.4.14/drivers/media/platform/
Dvia-camera.c1146 sizes->stepwise.max_height = VGA_HEIGHT; in viacam_enum_framesizes()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_display.c1113 qdev->ddev->mode_config.max_height = 8192; in qxl_modeset_init()
/linux-4.4.14/drivers/media/usb/hdpvr/
Dhdpvr-video.c739 cap->bt.max_height = 1080; in vidioc_dv_timings_cap()
/linux-4.4.14/drivers/media/platform/am437x/
Dam437x-vpfe.c1654 fse.min_height, fse.max_height); in vpfe_enum_size()
1658 fsize->discrete.height = fse.max_height; in vpfe_enum_size()
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_mode.c1735 mdev->dev->mode_config.max_height = MGAG200_MAX_FB_HEIGHT; in mgag200_modeset_init()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c2900 adev->ddev->mode_config.max_height = 16384; in dce_v8_0_sw_init()
2912 adev->ddev->mode_config.max_height = 16384; in dce_v8_0_sw_init()
Ddce_v11_0.c2983 adev->ddev->mode_config.max_height = 16384; in dce_v11_0_sw_init()
2995 adev->ddev->mode_config.max_height = 16384; in dce_v11_0_sw_init()
Ddce_v10_0.c2990 adev->ddev->mode_config.max_height = 16384; in dce_v10_0_sw_init()
3002 adev->ddev->mode_config.max_height = 16384; in dce_v10_0_sw_init()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-vid-cap.c1749 fsize->stepwise.max_height = MAX_HEIGHT * MAX_ZOOM; in vidioc_enum_framesizes()
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-video.c1794 fsize->stepwise.max_height = maxh; in vidioc_enum_framesizes()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_display.c14923 dev->mode_config.max_height = 2048; in intel_modeset_init()
14926 dev->mode_config.max_height = 4096; in intel_modeset_init()
14929 dev->mode_config.max_height = 8192; in intel_modeset_init()