/drivers/media/usb/gspca/ |
D | w996Xcf.c | 408 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/ |
D | atmel_hlcdc_dc.c | 52 .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()
|
D | atmel_hlcdc_dc.h | 272 int max_width; member 336 int max_width; member
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_cfg.c | 86 .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/ |
D | ispresizer.c | 792 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/ |
D | tinydrm-helpers.c | 40 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/ |
D | sdhci-s3c.c | 431 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/ |
D | soc_scale_crop.c | 230 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()
|
D | sh_mobile_ceu_camera.c | 117 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/ |
D | vsp1_sru.c | 149 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,
|
D | vsp1_entity.c | 273 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()
|
D | vsp1_wpf.c | 473 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()
|
D | vsp1_uds.c | 155 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,
|
D | vsp1_rwpf.h | 45 unsigned int max_width; member
|
D | vsp1_rwpf.c | 59 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/ |
D | ia_css_acc_types.h | 105 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/ |
D | binary.c | 1613 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/ |
D | xilinx-vip.c | 308 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/ |
D | tilcdc_drv.c | 165 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()
|
D | tilcdc_crtc.c | 764 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/ |
D | sun4i_framebuffer.c | 38 drm->mode_config.max_width = 8192; in sun4i_framebuffer_init()
|
/drivers/gpu/drm/fsl-dcu/ |
D | fsl_dcu_drm_kms.c | 34 fsl_dev->drm->mode_config.max_width = 2031; in fsl_dcu_drm_modeset_init()
|
/drivers/staging/vc04_services/bcm2835-camera/ |
D | bcm2835-camera.c | 721 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/ |
D | vmwgfx_kms.h | 282 uint32_t max_width, uint32_t max_height); 323 u32 max_width,
|
D | vmwgfx_kms.c | 1668 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()
|