Lines Matching refs:panel
284 struct lcd_panel *panel = lcdc.fbdev->panel;
288 rot_x = panel->x_res;
289 rot_y = panel->y_res;
291 rot_x = panel->y_res;
292 rot_y = panel->x_res;
459 struct lcd_panel *panel = lcdc.fbdev->panel;
460 int is_tft = panel->config & OMAP_LCDC_PANEL_TFT;
470 l |= (is_tft && panel->bpp == 8) ? 0x810000 : 0;
477 l |= (panel->config & OMAP_LCDC_SIGNAL_MASK) << 20;
480 l = panel->x_res - 1;
481 l |= (panel->hsw - 1) << 10;
482 l |= (panel->hfp - 1) << 16;
483 l |= (panel->hbp - 1) << 24;
486 l = panel->y_res - 1;
487 l |= (panel->vsw - 1) << 10;
488 l |= panel->vfp << 16;
489 l |= panel->vbp << 24;
497 if (!panel->pcd)
498 calc_ck_div(is_tft, panel->pixel_clock * 1000, &pcd);
504 lck / panel->pcd / 1000, panel->name);
506 pcd = panel->pcd;
509 l |= panel->acb << 8;
512 /* update panel info with the exact clock */
513 panel->pixel_clock = lck / pcd / 1000;
623 struct lcd_panel *panel = lcdc.fbdev->panel;
625 bpp = panel->bpp;
628 frame_size = PAGE_ALIGN(panel->x_res * bpp / 8 * panel->y_res);