/drivers/gpu/drm/exynos/ |
D | exynos_drm_rotator.c | 67 u32 max_w; member 187 else if (val > limit->max_w) in rotator_align_size() 188 *hsize = ROT_MAX(limit->max_w, mask); in rotator_align_size() 631 .max_w = SZ_64K, 638 .max_w = SZ_16K, 648 .max_w = SZ_32K, 655 .max_w = SZ_8K, 665 .max_w = SZ_32K, 672 .max_w = SZ_8K,
|
/drivers/media/platform/coda/ |
D | coda-common.c | 114 #define CODA_CODEC(mode, src_fourcc, dst_fourcc, max_w, max_h) \ argument 115 { mode, src_fourcc, dst_fourcc, max_w, max_h } 273 int *max_w, int *max_h) in coda_get_max_dimensions() argument 281 w = codec->max_w; in coda_get_max_dimensions() 285 w = max(w, codecs[k].max_w); in coda_get_max_dimensions() 290 if (max_w) in coda_get_max_dimensions() 291 *max_w = w; in coda_get_max_dimensions() 432 unsigned int max_w, max_h; in coda_try_fmt() local 445 coda_get_max_dimensions(dev, codec, &max_w, &max_h); in coda_try_fmt() 446 v4l_bound_align_image(&f->fmt.pix.width, MIN_W, max_w, W_ALIGN, in coda_try_fmt() [all …]
|
D | coda.h | 104 u32 max_w; member
|
/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 396 u32 max_w, max_h, mod_x, mod_y; in gsc_try_fmt_mplane() local 416 max_w = variant->pix_max->target_rot_dis_w; in gsc_try_fmt_mplane() 434 mod_x, mod_y, max_w, max_h); in gsc_try_fmt_mplane() 441 v4l_bound_align_image(&pix_mp->width, min_w, max_w, mod_x, in gsc_try_fmt_mplane() 525 u32 min_w, min_h, max_w, max_h; in gsc_try_crop() local 540 max_w = f->f_width; in gsc_try_crop() 563 max_w = f->f_height; in gsc_try_crop() 578 v4l_bound_align_image(&tmp_w, min_w, max_w, mod_x, in gsc_try_crop() 593 if (cr->c.left + tmp_w > max_w) in gsc_try_crop() 594 cr->c.left = max_w - tmp_w; in gsc_try_crop() [all …]
|
/drivers/dma/ |
D | ste_dma40_ll.c | 195 u32 max_w = max(data_width1, data_width2); in d40_seg_size() local 197 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_seg_size() 200 seg_max -= max_w; in d40_seg_size() 206 return ALIGN(size / 2, max_w); in d40_seg_size()
|
D | ste_dma40.c | 1019 u32 max_w = max(data_width1, data_width2); in d40_size_2_dmalen() local 1021 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_size_2_dmalen() 1024 seg_max -= max_w; in d40_size_2_dmalen() 1026 if (!IS_ALIGNED(size, max_w)) in d40_size_2_dmalen()
|
/drivers/gpu/drm/i915/ |
D | intel_fbc.c | 811 unsigned int effective_w, effective_h, max_w, max_h; in intel_fbc_hw_tracking_covers_screen() local 814 max_w = 4096; in intel_fbc_hw_tracking_covers_screen() 817 max_w = 4096; in intel_fbc_hw_tracking_covers_screen() 820 max_w = 2048; in intel_fbc_hw_tracking_covers_screen() 828 return effective_w <= max_w && effective_h <= max_h; in intel_fbc_hw_tracking_covers_screen()
|
/drivers/media/platform/exynos4-is/ |
D | fimc-m2m.c | 293 u32 max_w, mod_x, mod_y; in fimc_try_fmt_mplane() local 309 max_w = variant->pix_limit->scaler_dis_w; in fimc_try_fmt_mplane() 312 max_w = variant->pix_limit->out_rot_dis_w; in fimc_try_fmt_mplane() 326 v4l_bound_align_image(&pix->width, 16, max_w, mod_x, in fimc_try_fmt_mplane()
|
D | fimc-capture.c | 588 u32 depth, min_w, max_w, min_h, align_h = 3; in fimc_capture_try_format() local 613 max_w = fimc_fmt_is_user_defined(ffmt->color) ? in fimc_capture_try_format() 616 v4l_bound_align_image(width, max_t(u32, *width, 32), max_w, 4, in fimc_capture_try_format() 631 max_w = rotation ? pl->out_rot_en_w : pl->out_rot_dis_w; in fimc_capture_try_format() 643 v4l_bound_align_image(width, min_w, max_w, in fimc_capture_try_format() 665 u32 max_w, max_h, min_w = 0, min_h = 0, min_sz; in fimc_capture_try_selection() local 698 max_w = min_t(u32, in fimc_capture_try_selection() 704 min_w = min_t(u32, max_w, sink->f_width / max_sc_h); in fimc_capture_try_selection() 711 v4l_bound_align_image(&r->width, min_w, max_w, ffs(min_sz) - 1, in fimc_capture_try_selection()
|
/drivers/media/i2c/soc_camera/ |
D | rj54n1cb0c.c | 976 int output_w, output_h, max_w, max_h, in rj54n1_set_fmt() local 1089 max_w = mf->width * (16 * 1024 - 1) / 1024; in rj54n1_set_fmt() 1090 if (input_w > max_w) in rj54n1_set_fmt() 1091 input_w = max_w; in rj54n1_set_fmt()
|
/drivers/media/platform/vivid/ |
D | vivid-tpg.c | 118 int tpg_alloc(struct tpg_data *tpg, unsigned max_w) in tpg_alloc() argument 123 tpg->max_line_width = max_w; in tpg_alloc() 128 tpg->lines[pat][plane] = vzalloc(max_w * 2 * pixelsz); in tpg_alloc() 133 tpg->downsampled_lines[pat][plane] = vzalloc(max_w * 2 * pixelsz); in tpg_alloc() 141 tpg->contrast_line[plane] = vzalloc(max_w * pixelsz); in tpg_alloc() 144 tpg->black_line[plane] = vzalloc(max_w * pixelsz); in tpg_alloc() 147 tpg->random_line[plane] = vzalloc(max_w * 2 * pixelsz); in tpg_alloc()
|
D | vivid-tpg.h | 197 int tpg_alloc(struct tpg_data *tpg, unsigned max_w);
|