Searched refs:max_w (Results 1 - 11 of 11) sorted by relevance

/drivers/gpu/drm/exynos/
H A Dexynos_drm_rotator.c60 * @max_w: maximum width.
67 u32 max_w; member in struct:rot_limit
187 else if (val > limit->max_w)
188 *hsize = ROT_MAX(limit->max_w, mask);
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
[all...]
/drivers/dma/
H A Dste_dma40_ll.c195 u32 max_w = max(data_width1, data_width2); local
197 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w);
200 seg_max -= max_w;
206 return ALIGN(size / 2, max_w);
H A Dste_dma40.c1019 u32 max_w = max(data_width1, data_width2); local
1021 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w);
1024 seg_max -= max_w;
1026 if (!IS_ALIGNED(size, max_w))
/drivers/media/platform/exynos-gsc/
H A Dgsc-core.c393 u32 max_w, max_h, mod_x, mod_y; local
413 max_w = variant->pix_max->target_rot_dis_w;
430 pr_debug("mod_x: %d, mod_y: %d, max_w: %d, max_h = %d",
431 mod_x, mod_y, max_w, max_h);
438 v4l_bound_align_image(&pix_mp->width, min_w, max_w, mod_x,
522 u32 min_w, min_h, max_w, max_h; local
537 max_w = f->f_width;
560 max_w = f->f_height;
575 v4l_bound_align_image(&tmp_w, min_w, max_w, mod_x,
590 if (cr->c.left + tmp_w > max_w)
[all...]
/drivers/media/platform/coda/
H A Dcoda-common.c107 #define CODA_CODEC(mode, src_fourcc, dst_fourcc, max_w, max_h) \
108 { mode, src_fourcc, dst_fourcc, max_w, max_h }
182 int *max_w, int *max_h)
190 w = codec->max_w;
194 w = max(w, codecs[k].max_w);
199 if (max_w)
200 *max_w = w;
324 unsigned int max_w, max_h; local
337 coda_get_max_dimensions(dev, codec, &max_w, &max_h);
338 v4l_bound_align_image(&f->fmt.pix.width, MIN_W, max_w, W_ALIG
180 coda_get_max_dimensions(struct coda_dev *dev, const struct coda_codec *codec, int *max_w, int *max_h) argument
866 int max_w; local
[all...]
H A Dcoda.h98 u32 max_w; member in struct:coda_codec
/drivers/media/platform/exynos4-is/
H A Dfimc-m2m.c292 u32 max_w, mod_x, mod_y; local
308 max_w = variant->pix_limit->scaler_dis_w;
311 max_w = variant->pix_limit->out_rot_dis_w;
325 v4l_bound_align_image(&pix->width, 16, max_w, mod_x,
H A Dfimc-capture.c592 u32 depth, min_w, max_w, min_h, align_h = 3; local
617 max_w = fimc_fmt_is_user_defined(ffmt->color) ?
620 v4l_bound_align_image(width, max_t(u32, *width, 32), max_w, 4,
635 max_w = rotation ? pl->out_rot_en_w : pl->out_rot_dis_w;
647 v4l_bound_align_image(width, min_w, max_w,
669 u32 max_w, max_h, min_w = 0, min_h = 0, min_sz; local
702 max_w = min_t(u32,
708 min_w = min_t(u32, max_w, sink->f_width / max_sc_h);
715 v4l_bound_align_image(&r->width, min_w, max_w, ffs(min_sz) - 1,
/drivers/media/platform/vivid/
H A Dvivid-tpg.c115 int tpg_alloc(struct tpg_data *tpg, unsigned max_w) argument
120 tpg->max_line_width = max_w;
125 tpg->lines[pat][plane] = vzalloc(max_w * 2 * pixelsz);
133 tpg->contrast_line[plane] = vzalloc(max_w * pixelsz);
136 tpg->black_line[plane] = vzalloc(max_w * pixelsz);
139 tpg->random_line[plane] = vzalloc(max_w * 2 * pixelsz);
H A Dvivid-tpg.h166 int tpg_alloc(struct tpg_data *tpg, unsigned max_w);
/drivers/media/i2c/soc_camera/
H A Drj54n1cb0c.c999 int output_w, output_h, max_w, max_h, local
1092 max_w = mf->width * (16 * 1024 - 1) / 1024;
1093 if (input_w > max_w)
1094 input_w = max_w;

Completed in 166 milliseconds