Lines Matching full:window

136 	struct au1200_lcd_window_regs_t window;  member
173 /* Default window configuration entry to use (see windows[]) */
210 * Default window configurations
710 winctrl0 = lcd->window[plane].winctrl0; in au1200_setlocation()
711 winctrl1 = lcd->window[plane].winctrl1; in au1200_setlocation()
733 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8); in au1200_setlocation()
757 /* Disable the window while making changes, then restore WINEN */ in au1200_setlocation()
761 lcd->window[plane].winctrl0 = winctrl0; in au1200_setlocation()
762 lcd->window[plane].winctrl1 = winctrl1; in au1200_setlocation()
763 lcd->window[plane].winbuf0 = in au1200_setlocation()
764 lcd->window[plane].winbuf1 = fbdev->fb_phys; in au1200_setlocation()
765 lcd->window[plane].winbufctrl = 0; /* select winbuf0 */ in au1200_setlocation()
849 /* fixme: Check window settings to make sure still valid in au1200_setpanel()
897 D(lcd->window[0].winctrl0); in au1200_setpanel()
898 D(lcd->window[0].winctrl1); in au1200_setpanel()
899 D(lcd->window[0].winctrl2); in au1200_setpanel()
900 D(lcd->window[0].winbuf0); in au1200_setpanel()
901 D(lcd->window[0].winbuf1); in au1200_setpanel()
902 D(lcd->window[0].winbufctrl); in au1200_setpanel()
903 D(lcd->window[1].winctrl0); in au1200_setpanel()
904 D(lcd->window[1].winctrl1); in au1200_setpanel()
905 D(lcd->window[1].winctrl2); in au1200_setpanel()
906 D(lcd->window[1].winbuf0); in au1200_setpanel()
907 D(lcd->window[1].winbuf1); in au1200_setpanel()
908 D(lcd->window[1].winbufctrl); in au1200_setpanel()
909 D(lcd->window[2].winctrl0); in au1200_setpanel()
910 D(lcd->window[2].winctrl1); in au1200_setpanel()
911 D(lcd->window[2].winctrl2); in au1200_setpanel()
912 D(lcd->window[2].winbuf0); in au1200_setpanel()
913 D(lcd->window[2].winbuf1); in au1200_setpanel()
914 D(lcd->window[2].winbufctrl); in au1200_setpanel()
915 D(lcd->window[3].winctrl0); in au1200_setpanel()
916 D(lcd->window[3].winctrl1); in au1200_setpanel()
917 D(lcd->window[3].winctrl2); in au1200_setpanel()
918 D(lcd->window[3].winbuf0); in au1200_setpanel()
919 D(lcd->window[3].winbuf1); in au1200_setpanel()
920 D(lcd->window[3].winbufctrl); in au1200_setpanel()
940 /* Window/plane setup */ in au1200_setmode()
941 lcd->window[plane].winctrl1 = ( 0 in au1200_setmode()
948 lcd->window[plane].winctrl2 = ( 0 in au1200_setmode()
1004 /* FIX!!!! This also needs to take the window pixel format into account!!! */ in au1200fb_update_fbinfo()
1298 /* Window control register 0 */ in set_window()
1300 val = lcd->window[plane].winctrl0 & ~(LCD_WINCTRL0_OX | in set_window()
1304 lcd->window[plane].winctrl0 = val; in set_window()
1307 val = lcd->window[plane].winctrl0 & ~(LCD_WINCTRL0_A); in set_window()
1309 lcd->window[plane].winctrl0 = val; in set_window()
1312 val = lcd->window[plane].winctrl0 & ~(LCD_WINCTRL0_AEN); in set_window()
1314 lcd->window[plane].winctrl0 = val; in set_window()
1317 /* Window control register 1 */ in set_window()
1319 val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_PRI); in set_window()
1321 lcd->window[plane].winctrl1 = val; in set_window()
1324 val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_PIPE); in set_window()
1326 lcd->window[plane].winctrl1 = val; in set_window()
1329 val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_FRM); in set_window()
1331 lcd->window[plane].winctrl1 = val; in set_window()
1334 val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_CCO); in set_window()
1336 lcd->window[plane].winctrl1 = val; in set_window()
1339 val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_PO); in set_window()
1341 lcd->window[plane].winctrl1 = val; in set_window()
1344 val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_SZX | in set_window()
1348 lcd->window[plane].winctrl1 = val; in set_window()
1351 val = lcd->window[plane].winctrl2 & ~(LCD_WINCTRL2_BX); in set_window()
1353 lcd->window[plane].winctrl2 = val; in set_window()
1356 /* Window control register 2 */ in set_window()
1358 val = lcd->window[plane].winctrl2 & ~(LCD_WINCTRL2_CKMODE); in set_window()
1360 lcd->window[plane].winctrl2 = val; in set_window()
1363 val = lcd->window[plane].winctrl2 & ~(LCD_WINCTRL2_DBM); in set_window()
1365 lcd->window[plane].winctrl2 = val; in set_window()
1368 val = lcd->window[plane].winctrl2 & ~(LCD_WINCTRL2_RAM); in set_window()
1370 lcd->window[plane].winctrl2 = val; in set_window()
1376 val = lcd->window[plane].winctrl2 & ~(LCD_WINCTRL2_SCX | in set_window()
1380 lcd->window[plane].winctrl2 = val; in set_window()
1395 /* Window control register 0 */ in get_window()
1396 pdata->xpos = (lcd->window[plane].winctrl0 & LCD_WINCTRL0_OX) >> 21; in get_window()
1397 pdata->ypos = (lcd->window[plane].winctrl0 & LCD_WINCTRL0_OY) >> 10; in get_window()
1398 pdata->alpha_color = (lcd->window[plane].winctrl0 & LCD_WINCTRL0_A) >> 2; in get_window()
1399 pdata->alpha_mode = (lcd->window[plane].winctrl0 & LCD_WINCTRL0_AEN) >> 1; in get_window()
1401 /* Window control register 1 */ in get_window()
1402 pdata->priority = (lcd->window[plane].winctrl1& LCD_WINCTRL1_PRI) >> 30; in get_window()
1403 pdata->channel = (lcd->window[plane].winctrl1 & LCD_WINCTRL1_PIPE) >> 29; in get_window()
1404 pdata->buffer_format = (lcd->window[plane].winctrl1 & LCD_WINCTRL1_FRM) >> 25; in get_window()
1405 pdata->color_order = (lcd->window[plane].winctrl1 & LCD_WINCTRL1_CCO) >> 24; in get_window()
1406 pdata->pixel_order = (lcd->window[plane].winctrl1 & LCD_WINCTRL1_PO) >> 22; in get_window()
1407 pdata->xsize = ((lcd->window[plane].winctrl1 & LCD_WINCTRL1_SZX) >> 11) + 1; in get_window()
1408 pdata->ysize = (lcd->window[plane].winctrl1 & LCD_WINCTRL1_SZY) + 1; in get_window()
1410 /* Window control register 2 */ in get_window()
1411 pdata->colorkey_mode = (lcd->window[plane].winctrl2 & LCD_WINCTRL2_CKMODE) >> 24; in get_window()
1412 pdata->double_buffer_mode = (lcd->window[plane].winctrl2 & LCD_WINCTRL2_DBM) >> 23; in get_window()
1413 pdata->ram_array_mode = (lcd->window[plane].winctrl2 & LCD_WINCTRL2_RAM) >> 21; in get_window()
1450 set_window(plane, &iodata.window); in au1200fb_ioctl()
1455 get_window(plane, &iodata.window); in au1200fb_ioctl()