Home
last modified time | relevance | path

Searched refs:max_width (Results 1 – 25 of 171) sorted by relevance

1234567

/drivers/media/usb/gspca/
Dw996Xcf.c408 max_width, max_height; in w9968cf_set_crop_window() local
411 max_width = 352; in w9968cf_set_crop_window()
414 max_width = 640; in w9968cf_set_crop_window()
442 fw = SC(sd->gspca_dev.pixfmt.width) / max_width; in w9968cf_set_crop_window()
445 cw = (fw >= fh) ? max_width : SC(sd->gspca_dev.pixfmt.width) / fh; in w9968cf_set_crop_window()
448 sd->sensor_width = max_width; in w9968cf_set_crop_window()
451 x = (max_width - cw) / 2; in w9968cf_set_crop_window()
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c52 .max_width = 1280,
126 .max_width = 128,
145 .max_width = 800,
242 .max_width = 128,
263 .max_width = 2048,
359 .max_width = 2048,
598 dev->mode_config.max_width = dc->desc->max_width; in atmel_hlcdc_dc_modeset_init()
Datmel_hlcdc_dc.h272 int max_width; member
336 int max_width; member
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_cfg.c86 .max_width = 2048,
164 .max_width = 2048,
258 .max_width = 2048,
335 .max_width = 2048,
420 .max_width = 2048,
521 .max_width = 2560,
/drivers/media/platform/omap3isp/
Dispresizer.c792 unsigned int max_width; in resizer_calc_ratios() local
836 max_width = MAX_4TAP_OUT_WIDTH_ES1; in resizer_calc_ratios()
841 max_width = MAX_4TAP_OUT_WIDTH_ES2; in resizer_calc_ratios()
845 max_width = MAX_4TAP_OUT_WIDTH_3630; in resizer_calc_ratios()
851 max_width = MAX_7TAP_OUT_WIDTH_ES1; in resizer_calc_ratios()
856 max_width = MAX_7TAP_OUT_WIDTH_ES2; in resizer_calc_ratios()
860 max_width = MAX_7TAP_OUT_WIDTH_3630; in resizer_calc_ratios()
864 max_width = min(((input->width - 7) * 256 + 255 - 16 - 32 * sph) / 64 in resizer_calc_ratios()
865 + 1, max_width); in resizer_calc_ratios()
876 max_width & ~(width_alignment - 1)); in resizer_calc_ratios()
[all …]
/drivers/gpu/drm/tinydrm/core/
Dtinydrm-helpers.c40 unsigned int flags, u32 max_width, u32 max_height) in tinydrm_merge_clips() argument
46 dst->x2 = max_width; in tinydrm_merge_clips()
66 if (dst->x2 > max_width || dst->y2 > max_height || in tinydrm_merge_clips()
72 dst->x2 = max_width; in tinydrm_merge_clips()
76 return (dst->x2 - dst->x1) == max_width && in tinydrm_merge_clips()
/drivers/mmc/host/
Dsdhci-s3c.c431 u32 max_width; in sdhci_s3c_parse_dt() local
434 if (of_property_read_u32(node, "bus-width", &max_width)) in sdhci_s3c_parse_dt()
435 max_width = 1; in sdhci_s3c_parse_dt()
436 pdata->max_width = max_width; in sdhci_s3c_parse_dt()
572 pdata->cfg_gpio(pdev, pdata->max_width); in sdhci_s3c_probe()
614 switch (pdata->max_width) { in sdhci_s3c_probe()
/drivers/media/platform/soc_camera/
Dsoc_scale_crop.c230 unsigned int max_width, unsigned int max_height, in client_set_fmt() argument
266 if (max_width > sdsel.r.width) in client_set_fmt()
267 max_width = sdsel.r.width; in client_set_fmt()
277 tmp_w < max_width && tmp_h < max_height) { in client_set_fmt()
278 tmp_w = min(2 * tmp_w, max_width); in client_set_fmt()
Dsh_mobile_ceu_camera.c117 int max_width; member
1009 while ((mf->width > pcdev->max_width || in sh_mobile_ceu_get_formats()
1160 if (mf->width > pcdev->max_width || mf->height > pcdev->max_height) in sh_mobile_ceu_set_selection()
1275 unsigned int ceu_sub_width = pcdev->max_width, in sh_mobile_ceu_set_fmt()
1426 v4l_bound_align_image(&pix->width, 2, pcdev->max_width, 2, in sh_mobile_ceu_try_fmt()
1462 mf->width = pcdev->max_width; in sh_mobile_ceu_try_fmt()
1673 pcdev->max_width = pcdev->pdata->max_width; in sh_mobile_ceu_probe()
1679 if (!pcdev->max_width) { in sh_mobile_ceu_probe()
1683 pcdev->max_width = v; in sh_mobile_ceu_probe()
1685 if (!pcdev->max_width) in sh_mobile_ceu_probe()
[all …]
/drivers/media/platform/vsp1/
Dvsp1_sru.c149 fse->max_width = SRU_MAX_SIZE; in sru_enum_frame_size()
157 fse->max_width = format->width * 2; in sru_enum_frame_size()
160 fse->max_width = format->width; in sru_enum_frame_size()
355 .max_width = sru_max_width,
Dvsp1_entity.c273 unsigned int max_width, unsigned int max_height) in vsp1_subdev_enum_frame_size() argument
295 fse->max_width = max_width; in vsp1_subdev_enum_frame_size()
304 fse->max_width = format->width; in vsp1_subdev_enum_frame_size()
Dvsp1_wpf.c473 return wpf->flip.rotate ? 256 : wpf->max_width; in wpf_max_width()
488 .max_width = wpf_max_width,
507 wpf->max_width = WPF_GEN2_MAX_WIDTH; in vsp1_wpf_create()
510 wpf->max_width = WPF_GEN3_MAX_WIDTH; in vsp1_wpf_create()
Dvsp1_uds.c155 fse->max_width = UDS_MAX_SIZE; in uds_enum_frame_size()
160 &fse->max_width); in uds_enum_frame_size()
388 .max_width = uds_max_width,
Dvsp1_rwpf.h45 unsigned int max_width; member
Dvsp1_rwpf.c59 RWPF_MIN_HEIGHT, rwpf->max_width, in vsp1_rwpf_enum_frame_size()
100 RWPF_MIN_WIDTH, rwpf->max_width); in vsp1_rwpf_set_format()
/drivers/staging/media/atomisp/pci/atomisp2/css2400/
Dia_css_acc_types.h105 uint32_t max_width; member
113 uint32_t max_width; member
120 uint32_t max_width; member
/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/binary/src/
Dbinary.c1613 if (internal_res.width > candidate->internal.max_width) { in ia_css_binary_find()
1617 candidate->internal.max_width); in ia_css_binary_find()
1655 req_bin_out_info->res.width > candidate->output.max_width) { in ia_css_binary_find()
1662 candidate->output.max_width); in ia_css_binary_find()
1667 if (req_vf_info->res.width > candidate->output.max_width) { in ia_css_binary_find()
1672 candidate->output.max_width); in ia_css_binary_find()
1676 if (req_in_info->padded_width > candidate->input.max_width) { in ia_css_binary_find()
1680 candidate->input.max_width); in ia_css_binary_find()
1727 if (req_vf_info->res.width > candidate->output.max_width) { in ia_css_binary_find()
1732 candidate->output.max_width); in ia_css_binary_find()
[all …]
/drivers/media/platform/xilinx/
Dxilinx-vip.c308 fse->max_width = XVIP_MAX_WIDTH; in xvip_enum_frame_size()
316 fse->max_width = format->width; in xvip_enum_frame_size()
/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c165 dev->mode_config.max_width = tilcdc_crtc_max_width(priv->crtc); in modeset_init()
290 if (of_property_read_u32(node, "max-width", &priv->max_width)) in tilcdc_init()
291 priv->max_width = TILCDC_DEFAULT_MAX_WIDTH; in tilcdc_init()
293 DBG("Maximum Horizontal Pixel Width Value %dpixels", priv->max_width); in tilcdc_init()
Dtilcdc_crtc.c764 int max_width = 0; in tilcdc_crtc_max_width() local
767 max_width = 1024; in tilcdc_crtc_max_width()
769 max_width = 2048; in tilcdc_crtc_max_width()
771 return max_width; in tilcdc_crtc_max_width()
848 if (mode->hdisplay > priv->max_width) in tilcdc_crtc_mode_valid()
/drivers/gpu/drm/sun4i/
Dsun4i_framebuffer.c38 drm->mode_config.max_width = 8192; in sun4i_framebuffer_init()
/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_kms.c34 fsl_dev->drm->mode_config.max_width = 2031; in fsl_dcu_drm_modeset_init()
/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c721 v4l_bound_align_image(&f->fmt.win.w.width, MIN_WIDTH, dev->max_width, 1, in vidioc_try_fmt_vid_overlay()
724 v4l_bound_align_image(&f->fmt.win.w.left, MIN_WIDTH, dev->max_width, 1, in vidioc_try_fmt_vid_overlay()
955 v4l_bound_align_image(&f->fmt.pix.width, MIN_WIDTH, dev->max_width, 1, in vidioc_try_fmt_vid_cap()
1320 fsize->stepwise.max_width = dev->max_width; in vidioc_enum_framesizes()
1342 if (fival->width < MIN_WIDTH || fival->width > dev->max_width || in vidioc_enum_frameintervals()
1496 resolutions[i][0] = cam_info.cameras[i].max_width; in get_num_cameras()
1512 .max_stills_w = dev->max_width, in set_camera_parameters()
1869 dev->max_width = resolutions[camera][0]; in bm2835_mmal_init()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h282 uint32_t max_width, uint32_t max_height);
323 u32 max_width,
Dvmwgfx_kms.c1668 dev->mode_config.max_width = dev_priv->texture_max_width; in vmw_kms_init()
2074 uint32_t max_width, uint32_t max_height) in vmw_du_connector_fill_modes() argument
2093 max_width = min(max_width, dev_priv->stdu_max_width); in vmw_du_connector_fill_modes()
2094 max_width = min(max_width, dev_priv->texture_max_width); in vmw_du_connector_fill_modes()
2127 if (bmode->hdisplay > max_width || in vmw_du_connector_fill_modes()
2268 rects[i].x + rects[i].w > mode_config->max_width || in vmw_kms_update_layout_ioctl()
2691 u32 max_width, in vmw_kms_fbdev_init_data() argument
2716 (void) vmw_du_connector_fill_modes(con, max_width, max_height); in vmw_kms_fbdev_init_data()

1234567