Lines Matching refs:cfg

210         struct dss2_ovl_cfg *c = &oi->cfg;  in dump_dsscomp()
273 dump_printf(&log, "%d=", dsscomp->ovls[i].cfg.ix); in dump_set_info()
274 if (dsscomp->ovls[i].cfg.enabled) in dump_set_info()
277 dsscomp->ovls[i].cfg.width, in dump_set_info()
278 dsscomp->ovls[i].cfg.height, in dump_set_info()
279 DSS_FMT(dsscomp->ovls[i].cfg.color_mode)); in dump_set_info()
457 struct dss2_ovl_cfg *oc = &ovl->cfg; in omap4_hwc_setup_layer()
592 crop_to_rect(struct dss2_ovl_cfg *cfg, struct hwc_rect vis_rect) in crop_to_rect() argument
602 win.xy[0] = cfg->win.x; win.xy[1] = cfg->win.y; in crop_to_rect()
603 win.wh[0] = cfg->win.w; win.wh[1] = cfg->win.h; in crop_to_rect()
604 crop.xy[0] = cfg->crop.x; crop.xy[1] = cfg->crop.y; in crop_to_rect()
605 crop.wh[0] = cfg->crop.w; crop.wh[1] = cfg->crop.h; in crop_to_rect()
609 int c, swap = cfg->rotation & 1; in crop_to_rect()
614 if (cfg->rotation & 2) in crop_to_rect()
616 if ((!cfg->mirror) ^ !(cfg->rotation & 2)) in crop_to_rect()
648 if (cfg->rotation & 2) in crop_to_rect()
650 if ((!cfg->mirror) ^ !(cfg->rotation & 2)) in crop_to_rect()
655 cfg->win.x = win.xy[0]; cfg->win.y = win.xy[1]; in crop_to_rect()
656 cfg->win.w = win.wh[0]; cfg->win.h = win.wh[1]; in crop_to_rect()
657 cfg->crop.x = crop.xy[0]; cfg->crop.y = crop.xy[1]; in crop_to_rect()
658 cfg->crop.w = crop.wh[0]; cfg->crop.h = crop.wh[1]; in crop_to_rect()
666 struct dss2_ovl_cfg *oc = &ovl->cfg; in omap4_hwc_adjust_ext_layer()
671 crop_to_rect(&ovl->cfg, ext->mirror_region) != 0) { in omap4_hwc_adjust_ext_layer()
672 ovl->cfg.enabled = 0; in omap4_hwc_adjust_ext_layer()
1102 return o->cfg.win.w * o->cfg.win.h; in display_area()
1119 o->cfg.ix = MAX_HW_OVERLAYS - 1 - ext_ovl_ix; in clone_layer()
1120 o->cfg.mgr_ix = 1; in clone_layer()
1125 o->cfg.zorder += hwc_dev->post2_layers; in clone_layer()
1140 __u32 xres = o->cfg.crop.w, yres = o->cfg.crop.h; in clone_external_layer()
1141 if ((ext->current.rotation + o->cfg.rotation) & 1) in clone_external_layer()
1143 float xpy = ext->lcd_xpy * o->cfg.win.w / o->cfg.win.h; in clone_external_layer()
1144 if (o->cfg.rotation & 1) in clone_external_layer()
1145 xpy = o->cfg.crop.h / xpy / o->cfg.crop.w; in clone_external_layer()
1147 xpy = o->cfg.crop.h * xpy / o->cfg.crop.w; in clone_external_layer()
1164 .left = o->cfg.win.x, .top = o->cfg.win.y, in clone_external_layer()
1165 .right = o->cfg.win.x + o->cfg.win.w, in clone_external_layer()
1166 .bottom = o->cfg.win.y + o->cfg.win.h in clone_external_layer()
1298 dsscomp->ovls[dsscomp->num_ovls].cfg.ix = dsscomp->num_ovls; in omap4_hwc_prepare()
1307 dsscomp->ovls[dsscomp->num_ovls].cfg.ix = 0; in omap4_hwc_prepare()
1308 dsscomp->ovls[0].cfg.ix = dsscomp->num_ovls; in omap4_hwc_prepare()
1328 dsscomp->ovls[1 + fb_z++].cfg.zorder--; in omap4_hwc_prepare()
1335 dsscomp->ovls[0].cfg.ix = dsscomp->num_ovls; in omap4_hwc_prepare()
1346 omap4_hwc_setup_layer_base(&dsscomp->ovls[0].cfg, fb_z, in omap4_hwc_prepare()
1351 dsscomp->ovls[0].cfg.pre_mult_alpha = 1; in omap4_hwc_prepare()
1363 dsscomp->ovls[dsscomp->num_ovls - 1].cfg.zorder = z++; in omap4_hwc_prepare()
1367 omap4_hwc_setup_layer_base(&oi->cfg, 0, HAL_PIXEL_FORMAT_BGRA_8888, 1, in omap4_hwc_prepare()
1369 oi->cfg.stride = dock_image.rowbytes; in omap4_hwc_prepare()
1397 struct dss2_ovl_cfg *c = &dsscomp->ovls[i].cfg; in omap4_hwc_prepare()
1548 struct dss2_ovl_cfg *cfg = &dsscomp->ovls[i].cfg; in omap4_hwc_dump() local
1552 cfg->enabled ? "true" : "false"); in omap4_hwc_dump()
1554 hwc_dev->buffers[i], cfg->width, cfg->height, cfg->stride); in omap4_hwc_dump()
1556 cfg->crop.x, cfg->crop.y, cfg->crop.w, cfg->crop.h); in omap4_hwc_dump()
1558 cfg->win.x, cfg->win.y, cfg->win.w, cfg->win.h); in omap4_hwc_dump()
1559 dump_printf(&log, " ix: %d\n", cfg->ix); in omap4_hwc_dump()
1560 dump_printf(&log, " zorder: %d\n\n", cfg->zorder); in omap4_hwc_dump()