Lines Matching refs:panel
286 struct lcd_panel *panel = lcdc.fbdev->panel;
290 rot_x = panel->x_res;
291 rot_y = panel->y_res;
293 rot_x = panel->y_res;
294 rot_y = panel->x_res;
461 struct lcd_panel *panel = lcdc.fbdev->panel;
462 int is_tft = panel->config & OMAP_LCDC_PANEL_TFT;
472 l |= (is_tft && panel->bpp == 8) ? 0x810000 : 0;
479 l |= (panel->config & OMAP_LCDC_SIGNAL_MASK) << 20;
482 l = panel->x_res - 1;
483 l |= (panel->hsw - 1) << 10;
484 l |= (panel->hfp - 1) << 16;
485 l |= (panel->hbp - 1) << 24;
488 l = panel->y_res - 1;
489 l |= (panel->vsw - 1) << 10;
490 l |= panel->vfp << 16;
491 l |= panel->vbp << 24;
499 if (!panel->pcd)
500 calc_ck_div(is_tft, panel->pixel_clock * 1000, &pcd);
506 lck / panel->pcd / 1000, panel->name);
508 pcd = panel->pcd;
511 l |= panel->acb << 8;
514 /* update panel info with the exact clock */
515 panel->pixel_clock = lck / pcd / 1000;
625 struct lcd_panel *panel = lcdc.fbdev->panel;
627 bpp = panel->bpp;
630 frame_size = PAGE_ALIGN(panel->x_res * bpp / 8 * panel->y_res);