• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/omap2/dss/

Lines Matching defs:oc

597 	struct overlay_cache_data *oc;
628 oc = &dss_cache.overlay_cache[ovl->id];
635 dirty = oc->dirty;
636 shadow_dirty = oc->shadow_dirty;
709 static bool dispc_is_overlay_scaled(struct overlay_cache_data *oc)
711 if (oc->out_width != 0 && oc->width != oc->out_width)
714 if (oc->out_height != 0 && oc->height != oc->out_height)
883 struct overlay_cache_data *oc;
903 oc = &dss_cache.overlay_cache[i];
904 mc = &dss_cache.manager_cache[oc->channel];
906 if (!oc->dirty)
909 if (oc->manual_update && !mc->do_manual_update)
912 if (mgr_busy[oc->channel]) {
921 oc->dirty = false;
922 oc->shadow_dirty = true;
923 mgr_go[oc->channel] = true;
990 struct overlay_cache_data *oc;
1033 oc = &dss_cache.overlay_cache[i];
1035 if (oc->channel != mgr->id)
1038 oc->dirty = true;
1043 if (!oc->enabled)
1046 if (!dispc_is_overlay_scaled(oc))
1049 outw = oc->out_width == 0 ?
1050 oc->width : oc->out_width;
1051 outh = oc->out_height == 0 ?
1052 oc->height : oc->out_height;
1056 oc->pos_x, oc->pos_y,
1061 if (rectangle_subset(oc->pos_x, oc->pos_y, outw, outh,
1065 if (x > oc->pos_x)
1066 x1 = oc->pos_x;
1070 if (y > oc->pos_y)
1071 y1 = oc->pos_y;
1075 if ((x + w) < (oc->pos_x + outw))
1076 x2 = oc->pos_x + outw;
1080 if ((y + h) < (oc->pos_y + outh))
1081 y2 = oc->pos_y + outh;
1123 struct overlay_cache_data *oc;
1132 oc = &dss_cache.overlay_cache[i];
1133 if (oc->channel != mgr->id)
1136 oc->shadow_dirty = false;
1153 struct overlay_cache_data *oc;
1165 oc = &dss_cache.overlay_cache[i];
1166 if (!mgr_busy[oc->channel])
1167 oc->shadow_dirty = false;
1202 struct overlay_cache_data *oc;
1224 oc = &dss_cache.overlay_cache[ovl->id];
1227 if (oc->enabled) {
1228 oc->enabled = false;
1229 oc->dirty = true;
1235 if (oc->enabled)
1243 if (oc->enabled) {
1244 oc->enabled = false;
1245 oc->dirty = true;
1251 oc->dirty = true;
1253 oc->paddr = ovl->info.paddr;
1254 oc->vaddr = ovl->info.vaddr;
1255 oc->screen_width = ovl->info.screen_width;
1256 oc->width = ovl->info.width;
1257 oc->height = ovl->info.height;
1258 oc->color_mode = ovl->info.color_mode;
1259 oc->rotation = ovl->info.rotation;
1260 oc->rotation_type = ovl->info.rotation_type;
1261 oc->mirror = ovl->info.mirror;
1262 oc->pos_x = ovl->info.pos_x;
1263 oc->pos_y = ovl->info.pos_y;
1264 oc->out_width = ovl->info.out_width;
1265 oc->out_height = ovl->info.out_height;
1266 oc->global_alpha = ovl->info.global_alpha;
1268 oc->replication =
1271 oc->ilace = dssdev->type == OMAP_DISPLAY_TYPE_VENC;
1273 oc->channel = ovl->manager->id;
1275 oc->enabled = true;
1277 oc->manual_update =
1337 oc = &dss_cache.overlay_cache[ovl->id];
1339 if (!oc->enabled)
1354 &oc->burst_size, &oc->fifo_low,
1355 &oc->fifo_high);
1360 &oc->burst_size, &oc->fifo_low,
1361 &oc->fifo_high);