Home
last modified time | relevance | path

Searched refs:max_w (Results 1 – 5 of 5) sorted by relevance

/drivers/dma/
Dste_dma40_ll.c187 u32 max_w = max(data_width1, data_width2); in d40_seg_size() local
189 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE << min_w, 1 << max_w); in d40_seg_size()
192 seg_max -= (1 << max_w); in d40_seg_size()
198 return ALIGN(size / 2, 1 << max_w); in d40_seg_size()
Dste_dma40.c796 u32 max_w = max(data_width1, data_width2); in d40_size_2_dmalen() local
798 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE << min_w, 1 << max_w); in d40_size_2_dmalen()
801 seg_max -= (1 << max_w); in d40_size_2_dmalen()
803 if (!IS_ALIGNED(size, 1 << max_w)) in d40_size_2_dmalen()
/drivers/media/video/s5p-fimc/
Dfimc-capture.c501 u32 depth, min_w, max_w, min_h, align_h = 3; in fimc_capture_try_format() local
522 max_w = fimc_fmt_is_jpeg(ffmt->color) ? in fimc_capture_try_format()
525 v4l_bound_align_image(width, max_t(u32, *width, 32), max_w, 4, in fimc_capture_try_format()
539 max_w = rotation ? pl->out_rot_en_w : pl->out_rot_dis_w; in fimc_capture_try_format()
546 v4l_bound_align_image(width, min_w, max_w, in fimc_capture_try_format()
567 u32 max_w, max_h, min_w = 0, min_h = 0, min_sz; in fimc_capture_try_crop() local
601 max_w = min_t(u32, in fimc_capture_try_crop()
606 min_w = min_t(u32, max_w, sink->f_width / max_sc_h); in fimc_capture_try_crop()
613 v4l_bound_align_image(&r->width, min_w, max_w, ffs(min_sz) - 1, in fimc_capture_try_crop()
Dfimc-core.c1082 u32 max_w, mod_x, mod_y; in fimc_try_fmt_mplane() local
1100 max_w = variant->pix_limit->scaler_dis_w; in fimc_try_fmt_mplane()
1103 max_w = variant->pix_limit->out_rot_dis_w; in fimc_try_fmt_mplane()
1117 v4l_bound_align_image(&pix->width, 16, max_w, mod_x, in fimc_try_fmt_mplane()
/drivers/media/video/
Drj54n1cb0c.c998 int output_w, output_h, max_w, max_h, in rj54n1_s_fmt() local
1091 max_w = mf->width * (16 * 1024 - 1) / 1024; in rj54n1_s_fmt()
1092 if (input_w > max_w) in rj54n1_s_fmt()
1093 input_w = max_w; in rj54n1_s_fmt()