Home
last modified time | relevance | path

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

12345678

/drivers/staging/media/meson/vdec/
Dvdec_platform.c18 .max_width = 1920,
28 .max_width = 1920,
42 .max_width = 1920,
52 .max_width = 1920,
66 .max_width = 1920,
76 .max_width = 1920,
/drivers/staging/media/hantro/
Drk3288_vpu_hw.c50 .max_width = 8192,
70 .max_width = 3840,
83 .max_width = 1920,
96 .max_width = 3840,
Drk3399_vpu_hw.c49 .max_width = 8192,
69 .max_width = 1920,
82 .max_width = 3840,
/drivers/dma/
Dstm32-mdma.c399 enum dma_slave_buswidth max_width = DMA_SLAVE_BUSWIDTH_8_BYTES; in stm32_mdma_get_max_width() local
401 for (max_width = DMA_SLAVE_BUSWIDTH_8_BYTES; in stm32_mdma_get_max_width()
402 max_width > DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_mdma_get_max_width()
403 max_width >>= 1) { in stm32_mdma_get_max_width()
408 if ((((buf_len | addr) & (max_width - 1)) == 0) && in stm32_mdma_get_max_width()
409 tlen >= max_width) in stm32_mdma_get_max_width()
413 return max_width; in stm32_mdma_get_max_width()
917 enum dma_slave_buswidth max_width; in stm32_mdma_prep_dma_memcpy() local
991 max_width = stm32_mdma_get_max_width(src, len, tlen); in stm32_mdma_prep_dma_memcpy()
992 src_bus_width = stm32_mdma_get_width(chan, max_width); in stm32_mdma_prep_dma_memcpy()
[all …]
Dstm32-dma.c265 enum dma_slave_buswidth max_width; in stm32_dma_get_max_width() local
268 max_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_dma_get_max_width()
270 max_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in stm32_dma_get_max_width()
272 while ((buf_len < max_width || buf_len % max_width) && in stm32_dma_get_max_width()
273 max_width > DMA_SLAVE_BUSWIDTH_1_BYTE) in stm32_dma_get_max_width()
274 max_width = max_width >> 1; in stm32_dma_get_max_width()
276 return max_width; in stm32_dma_get_max_width()
979 enum dma_slave_buswidth max_width; in stm32_dma_prep_dma_memcpy() local
997 max_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_dma_prep_dma_memcpy()
999 threshold, max_width); in stm32_dma_prep_dma_memcpy()
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_cfg.c78 .max_width = 2048,
156 .max_width = 2048,
250 .max_width = 2048,
327 .max_width = 2048,
412 .max_width = 2048,
513 .max_width = 2560,
607 .max_width = 2048,
706 .max_width = 2560,
/drivers/media/usb/gspca/
Dw996Xcf.c399 max_width, max_height; in w9968cf_set_crop_window() local
402 max_width = 352; in w9968cf_set_crop_window()
405 max_width = 640; in w9968cf_set_crop_window()
433 fw = SC(sd->gspca_dev.pixfmt.width) / max_width; in w9968cf_set_crop_window()
436 cw = (fw >= fh) ? max_width : SC(sd->gspca_dev.pixfmt.width) / fh; in w9968cf_set_crop_window()
439 sd->sensor_width = max_width; in w9968cf_set_crop_window()
442 x = (max_width - cw) / 2; in w9968cf_set_crop_window()
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c53 .max_width = 1280,
127 .max_width = 128,
146 .max_width = 800,
243 .max_width = 128,
264 .max_width = 2048,
360 .max_width = 2048,
455 .max_width = 2048,
692 dev->mode_config.max_width = dc->desc->max_width; in atmel_hlcdc_dc_modeset_init()
Datmel_hlcdc_dc.h249 int max_width; member
313 int max_width; member
/drivers/media/platform/omap3isp/
Dispresizer.c789 unsigned int max_width; in resizer_calc_ratios() local
833 max_width = MAX_4TAP_OUT_WIDTH_ES1; in resizer_calc_ratios()
838 max_width = MAX_4TAP_OUT_WIDTH_ES2; in resizer_calc_ratios()
842 max_width = MAX_4TAP_OUT_WIDTH_3630; in resizer_calc_ratios()
848 max_width = MAX_7TAP_OUT_WIDTH_ES1; in resizer_calc_ratios()
853 max_width = MAX_7TAP_OUT_WIDTH_ES2; in resizer_calc_ratios()
857 max_width = MAX_7TAP_OUT_WIDTH_3630; in resizer_calc_ratios()
861 max_width = min(((input->width - 7) * 256 + 255 - 16 - 32 * sph) / 64 in resizer_calc_ratios()
862 + 1, max_width); in resizer_calc_ratios()
873 max_width & ~(width_alignment - 1)); in resizer_calc_ratios()
[all …]
/drivers/mmc/host/
Dsdhci-s3c.c428 u32 max_width; in sdhci_s3c_parse_dt() local
431 if (of_property_read_u32(node, "bus-width", &max_width)) in sdhci_s3c_parse_dt()
432 max_width = 1; in sdhci_s3c_parse_dt()
433 pdata->max_width = max_width; in sdhci_s3c_parse_dt()
567 pdata->cfg_gpio(pdev, pdata->max_width); in sdhci_s3c_probe()
609 switch (pdata->max_width) { in sdhci_s3c_probe()
/drivers/media/platform/vsp1/
Dvsp1_entity.c296 unsigned int max_width, unsigned int max_height) in vsp1_subdev_enum_frame_size() argument
318 fse->max_width = max_width; in vsp1_subdev_enum_frame_size()
327 fse->max_width = format->width; in vsp1_subdev_enum_frame_size()
360 unsigned int max_width, unsigned int max_height) in vsp1_subdev_set_pad_format() argument
396 min_width, max_width); in vsp1_subdev_set_pad_format()
Dvsp1_sru.c145 fse->max_width = SRU_MAX_SIZE; in sru_enum_frame_size()
153 fse->max_width = format->width * 2; in sru_enum_frame_size()
156 fse->max_width = format->width; in sru_enum_frame_size()
353 .max_width = sru_max_width,
Dvsp1_entity.h90 unsigned int (*max_width)(struct vsp1_entity *, struct vsp1_pipeline *); member
183 unsigned int max_width, unsigned int max_height);
Dvsp1_uds.c151 fse->max_width = UDS_MAX_SIZE; in uds_enum_frame_size()
156 &fse->max_width); in uds_enum_frame_size()
398 .max_width = uds_max_width,
Dvsp1_wpf.c538 return wpf->flip.rotate ? 256 : wpf->max_width; in wpf_max_width()
555 .max_width = wpf_max_width,
574 wpf->max_width = WPF_GEN2_MAX_WIDTH; in vsp1_wpf_create()
577 wpf->max_width = WPF_GEN3_MAX_WIDTH; in vsp1_wpf_create()
/drivers/staging/media/ipu3/
Dipu3-css-fw.c33 bi->info.isp.sp.input.max_width, in imgu_css_fw_show_binary()
41 bi->info.isp.sp.internal.max_width, in imgu_css_fw_show_binary()
47 bi->info.isp.sp.output.max_width, in imgu_css_fw_show_binary()
59 unsigned int width = DIV_ROUND_UP(bi->info.isp.sp.internal.max_width, in imgu_css_fw_obgrid_size()
/drivers/media/platform/rcar-vin/
Drcar-core.c929 .max_width = 2048,
936 .max_width = 2048,
943 .max_width = 2048,
986 .max_width = 4096,
1040 .max_width = 4096,
1080 .max_width = 4096,
1124 .max_width = 4096,
1143 .max_width = 4096,
1171 .max_width = 4096,
1187 .max_width = 4096,
[all …]
/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c160 dev->mode_config.max_width = tilcdc_crtc_max_width(priv->crtc); in modeset_init()
278 if (of_property_read_u32(node, "max-width", &priv->max_width)) in tilcdc_init()
279 priv->max_width = TILCDC_DEFAULT_MAX_WIDTH; in tilcdc_init()
281 DBG("Maximum Horizontal Pixel Width Value %dpixels", priv->max_width); in tilcdc_init()
Dtilcdc_crtc.c719 int max_width = 0; in tilcdc_crtc_max_width() local
722 max_width = 1024; in tilcdc_crtc_max_width()
724 max_width = 2048; in tilcdc_crtc_max_width()
726 return max_width; in tilcdc_crtc_max_width()
805 if (mode->hdisplay > priv->max_width) in tilcdc_crtc_mode_valid()
/drivers/media/platform/xilinx/
Dxilinx-vip.c305 fse->max_width = XVIP_MAX_WIDTH; in xvip_enum_frame_size()
313 fse->max_width = format->width; in xvip_enum_frame_size()
/drivers/ntb/hw/intel/
Dntb_hw_gen3.c420 enum ntb_width max_width) in intel_ntb3_link_enable() argument
429 max_speed, max_width); in intel_ntb3_link_enable()
433 if (max_width != NTB_WIDTH_AUTO) in intel_ntb3_link_enable()
434 dev_dbg(&ntb->pdev->dev, "ignoring max_width %d\n", max_width); in intel_ntb3_link_enable()
/drivers/gpu/drm/nouveau/
Dnouveau_display.c518 dev->mode_config.max_width = 2048; in nouveau_display_create()
522 dev->mode_config.max_width = 4096; in nouveau_display_create()
526 dev->mode_config.max_width = 8192; in nouveau_display_create()
529 dev->mode_config.max_width = 16384; in nouveau_display_create()
/drivers/gpu/drm/sun4i/
Dsun4i_framebuffer.c46 drm->mode_config.max_width = 8192; in sun4i_framebuffer_init()
/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_kms.c30 fsl_dev->drm->mode_config.max_width = 2031; in fsl_dcu_drm_modeset_init()

12345678