Lines Matching refs:panel

146 /* Private, per-framebuffer management information (independent of the panel itself) */
184 static struct panel_settings *panel;
327 /* panel timings */
350 * To add a new panel, enter the same specifications as the
718 if ((xpos + win->w[plane].xres) > panel->Xres) {
720 xsz = panel->Xres - xpos; /* off by 1 ??? */
724 if ((ypos + win->w[plane].yres) > panel->Yres) {
726 ysz = panel->Yres - ypos; /* off by 1 ??? */
801 /* Call shutdown of current panel (if up) */
814 panel = newpanel;
816 printk("Panel(%s), %dx%d\n", panel->name, panel->Xres, panel->Yres);
821 if (!(panel->mode_clkcontrol & LCD_CLKCONTROL_EXT))
824 long r, pc = panel->lcdclk * 1000000;
837 * Configure panel timings
839 lcd->screen = panel->mode_screen;
840 lcd->horztiming = panel->mode_horztiming;
841 lcd->verttiming = panel->mode_verttiming;
842 lcd->clkcontrol = panel->mode_clkcontrol;
843 lcd->pwmdiv = panel->mode_pwmdiv;
844 lcd->pwmhi = panel->mode_pwmhi;
845 lcd->outmask = panel->mode_outmask;
846 lcd->fifoctrl = panel->mode_fifoctrl;
865 /* Call init of panel */
869 /* FIX!!!! not appropriate on panel change!!! Global setup/init */
962 /*#define panel_is_dual(panel) ((panel->mode_screen & LCD_SCREEN_PT) == LCD_SCREEN_PT_010)*/
963 /*#define panel_is_active(panel)((panel->mode_screen & LCD_SCREEN_PT) == LCD_SCREEN_PT_010)*/
965 #define panel_is_color(panel) ((panel->mode_screen & LCD_SCREEN_PT) <= LCD_SCREEN_PT_CDSTN)
1007 if (panel_is_color(panel)) {
1049 * panel restrictions. */
1080 if (!panel_is_active(panel)) {
1083 if (!panel_is_color(panel)
1084 && (panel->control_base & LCD_CONTROL_MPI) && (pcd < 3)) {
1085 /* STN 8bit mono panel support is up to 6MHz pixclock */
1088 /* Other STN panel support is up to 12MHz */
1176 } else if (1 /*FIX!!! panel_is_active(fbdev->panel)*/) {
1182 } else if (0 /*panel_is_color(fbdev->panel)*/) {
1213 /* printk("turn on panel\n"); */
1214 au1200_setpanel(panel, fbdev->pd);
1219 /* printk("turn off panel\n"); */
1248 /* SCREEN_SIZE: user cannot reset size, must switch panel choice */
1529 /* Copy monitor specs from panel data */
1531 damn as to what the monitor specs are (the panel itself does, but that
1533 memcpy(&fbi->monspecs, &panel->monspecs, sizeof(struct fb_monspecs));
1537 * panel list. Note that after this call, var data will be set */
1546 print_err("Cannot find valid mode for panel %s", panel->name);
1594 /* Panel option - can be panel name,
1596 if (!strncmp(this_opt, "panel:", 6)) {
1664 /* Point to the panel selected */
1665 panel = &known_lcd_panels[panel_index];
1668 printk(DRIVER_NAME ": Panel %d %s\n", panel_index, panel->name);
1674 win->w[plane].xres = panel->Xres;
1676 win->w[plane].yres = panel->Yres;
1748 /* Kickstart the panel */
1749 au1200_setpanel(panel, pd);
1777 /* Turn off the panel */
1816 /* Kickstart the panel */
1817 au1200_setpanel(panel, pd);