Lines Matching refs:info
114 const struct omap_overlay_info *info) in dss_ovl_simple_check() argument
117 if (info->out_width != 0 && info->width != info->out_width) { in dss_ovl_simple_check()
123 if (info->out_height != 0 && info->height != info->out_height) { in dss_ovl_simple_check()
130 if ((ovl->supported_modes & info->color_mode) == 0) { in dss_ovl_simple_check()
132 ovl->id, info->color_mode); in dss_ovl_simple_check()
136 if (info->zorder >= omap_dss_get_num_overlays()) { in dss_ovl_simple_check()
137 DSSERR("check_overlay: zorder %d too high\n", info->zorder); in dss_ovl_simple_check()
141 if (dss_feat_rotation_type_supported(info->rotation_type) == 0) { in dss_ovl_simple_check()
143 info->rotation_type); in dss_ovl_simple_check()
150 int dss_ovl_check(struct omap_overlay *ovl, struct omap_overlay_info *info, in dss_ovl_check() argument
160 outw = info->width; in dss_ovl_check()
161 outh = info->height; in dss_ovl_check()
163 if (info->out_width == 0) in dss_ovl_check()
164 outw = info->width; in dss_ovl_check()
166 outw = info->out_width; in dss_ovl_check()
168 if (info->out_height == 0) in dss_ovl_check()
169 outh = info->height; in dss_ovl_check()
171 outh = info->out_height; in dss_ovl_check()
174 if (dw < info->pos_x + outw) { in dss_ovl_check()
177 ovl->id, info->pos_x, outw, dw); in dss_ovl_check()
181 if (dh < info->pos_y + outh) { in dss_ovl_check()
184 ovl->id, info->pos_y, outh, dh); in dss_ovl_check()