Lines Matching refs:mdp_data
15 static const struct mdp_format *mdp_find_fmt(const struct mtk_mdp_driver_data *mdp_data, in mdp_find_fmt() argument
22 for (i = 0; i < mdp_data->format_len; ++i) { in mdp_find_fmt()
23 if (!(mdp_data->format[i].flags & flag)) in mdp_find_fmt()
25 if (mdp_data->format[i].pixelformat == pixelformat) in mdp_find_fmt()
26 return &mdp_data->format[i]; in mdp_find_fmt()
31 static const struct mdp_format *mdp_find_fmt_by_index(const struct mtk_mdp_driver_data *mdp_data, in mdp_find_fmt_by_index() argument
38 for (i = 0; i < mdp_data->format_len; ++i) { in mdp_find_fmt_by_index()
39 if (!(mdp_data->format[i].flags & flag)) in mdp_find_fmt_by_index()
42 return &mdp_data->format[i]; in mdp_find_fmt_by_index()
120 fmt = mdp_find_fmt_by_index(mdp->mdp_data, f->index, f->type); in mdp_enum_fmt_mplane()
141 fmt = mdp_find_fmt(mdp->mdp_data, pix_mp->pixelformat, f->type); in mdp_try_fmt_mplane()
143 fmt = mdp_find_fmt_by_index(mdp->mdp_data, 0, f->type); in mdp_try_fmt_mplane()
314 if (!mdp->mdp_data->pp_criteria) in mdp_check_pp_enable()
317 s = mdp->mdp_data->pp_criteria->width * in mdp_check_pp_enable()
318 mdp->mdp_data->pp_criteria->height; in mdp_check_pp_enable()
489 param->limit = mdp->mdp_data->def_limit; in mdp_frameparam_init()