• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/video/

Lines Matching refs:mfbi

325 	struct mfb_info *pmfbi, *cmfbi, *mfbi = info->par;
327 struct diu_ad *ad = mfbi->ad;
328 struct fsl_diu_data *machine_data = mfbi->parent;
331 pr_debug("enable_panel index %d\n", mfbi->index);
332 if (mfbi->type != MFB_TYPE_OFF) {
333 switch (mfbi->index) {
387 struct mfb_info *pmfbi, *cmfbi, *mfbi = info->par;
389 struct diu_ad *ad = mfbi->ad;
390 struct fsl_diu_data *machine_data = mfbi->parent;
393 switch (mfbi->index) {
449 struct mfb_info *mfbi = info->par;
450 struct fsl_diu_data *machine_data = mfbi->parent;
461 struct mfb_info *mfbi = info->par;
462 struct fsl_diu_data *machine_data = mfbi->parent;
473 struct mfb_info *lower_aoi_mfbi, *upper_aoi_mfbi, *mfbi = info->par;
474 struct fsl_diu_data *machine_data = mfbi->parent;
475 int available_height, upper_aoi_bottom, index = mfbi->index;
482 if (mfbi->x_aoi_d < 0)
483 mfbi->x_aoi_d = 0;
484 if (mfbi->y_aoi_d < 0)
485 mfbi->y_aoi_d = 0;
488 if (mfbi->x_aoi_d != 0)
489 mfbi->x_aoi_d = 0;
490 if (mfbi->y_aoi_d != 0)
491 mfbi->y_aoi_d = 0;
499 if ((mfbi->x_aoi_d + var->xres) > base_plane_width)
500 mfbi->x_aoi_d = base_plane_width - var->xres;
508 if ((mfbi->y_aoi_d + var->yres) > available_height)
509 mfbi->y_aoi_d = available_height - var->yres;
520 if ((mfbi->x_aoi_d + var->xres) > base_plane_width)
521 mfbi->x_aoi_d = base_plane_width - var->xres;
522 if (mfbi->y_aoi_d < 0)
523 mfbi->y_aoi_d = 0;
525 if (mfbi->y_aoi_d < upper_aoi_bottom)
526 mfbi->y_aoi_d = upper_aoi_bottom;
533 if ((mfbi->y_aoi_d + var->yres) > base_plane_height)
534 mfbi->y_aoi_d = base_plane_height - var->yres;
659 struct mfb_info *mfbi = info->par;
661 strncpy(fix->id, mfbi->id, strlen(mfbi->id));
673 struct mfb_info *mfbi = info->par;
674 struct fsl_diu_data *machine_data = mfbi->parent;
683 if (mfbi->type == MFB_TYPE_OFF) {
795 struct mfb_info *mfbi = info->par;
796 struct diu_ad *ad = mfbi->ad;
800 ad->offset_xyd = cpu_to_le32((mfbi->y_aoi_d << 16) | mfbi->x_aoi_d);
816 struct mfb_info *mfbi = info->par;
817 struct fsl_diu_data *machine_data = mfbi->parent;
818 struct diu_ad *ad = mfbi->ad;
824 mfbi->cursor_reset = 1;
845 var->xres_virtual) | mfbi->g_alpha;
849 ad->offset_xyd = cpu_to_le32((mfbi->y_aoi_d << 16) | mfbi->x_aoi_d);
860 if (mfbi->index == 0)
962 struct mfb_info *mfbi = info->par;
964 mfbi->blank = blank_mode;
986 struct mfb_info *mfbi = info->par;
987 struct diu_ad *ad = mfbi->ad;
1012 mfbi->x_aoi_d = aoi_d.x_aoi_d;
1013 mfbi->y_aoi_d = aoi_d.y_aoi_d;
1015 mfbi->index, aoi_d.x_aoi_d, aoi_d.y_aoi_d);
1020 aoi_d.x_aoi_d = mfbi->x_aoi_d;
1021 aoi_d.y_aoi_d = mfbi->y_aoi_d;
1025 mfbi->index, aoi_d.x_aoi_d, aoi_d.y_aoi_d);
1028 global_alpha = mfbi->g_alpha;
1031 pr_debug("get global alpha of index %d\n", mfbi->index);
1039 mfbi->g_alpha = global_alpha;
1040 pr_debug("set global alpha for index %d\n", mfbi->index);
1071 if (mfbi->type == MFB_TYPE_OFF)
1099 struct mfb_info *mfbi = info->par;
1103 if (!mfbi->index && diu_ops.release_bootmem)
1107 mfbi->count++;
1108 if (mfbi->count == 1) {
1109 pr_debug("open plane index %d\n", mfbi->index);
1113 mfbi->count--;
1117 mfbi->count--;
1129 struct mfb_info *mfbi = info->par;
1133 mfbi->count--;
1134 if (mfbi->count == 0) {
1135 pr_debug("release plane index %d\n", mfbi->index);
1138 mfbi->count++;
1161 struct mfb_info *mfbi = info->par;
1167 info->pseudo_palette = &mfbi->pseudo_palette;
1177 struct mfb_info *mfbi = info->par;
1186 if (mfbi->index == 0) { /* plane 0 */
1187 if (mfbi->edid_data) {
1189 fb_edid_to_monspecs(mfbi->edid_data, &info->monspecs);
1224 if (mfbi->index == 0 && mfbi->edid_data)
1270 if (mfbi->type == MFB_TYPE_OFF)
1271 mfbi->blank = FB_BLANK_NORMAL;
1273 mfbi->blank = FB_BLANK_UNBLANK;
1288 mfbi->registered = 1;
1297 struct mfb_info *mfbi = info->par;
1299 if (!mfbi->registered)
1302 if (mfbi->index == 0)
1303 kfree(mfbi->edid_data);
1310 mfbi->registered = 0;
1482 struct mfb_info *mfbi;
1501 mfbi = machine_data->fsl_diu_info[i]->par;
1502 memcpy(mfbi, &mfb_template[i], sizeof(struct mfb_info));
1503 mfbi->parent = machine_data;
1505 if (mfbi->index == 0) {
1512 mfbi->edid_data = kmemdup(prop, EDID_LENGTH,
1597 mfbi = machine_data->fsl_diu_info[i]->par;
1598 mfbi->ad = (struct diu_ad *)((u32)pool.ad.vaddr
1600 mfbi->ad->paddr = pool.ad.paddr + i * sizeof(struct diu_ad);