Lines Matching refs:winctrl1
653 static int winbpp (unsigned int winctrl1) in winbpp() argument
658 switch (winctrl1 & LCD_WINCTRL1_FRM) { in winbpp()
705 uint32 winctrl0, winctrl1, winenable, fb_offset = 0; in au1200_setlocation() local
711 winctrl1 = lcd->window[plane].winctrl1; in au1200_setlocation()
713 winctrl1 &= ~(LCD_WINCTRL1_SZX | LCD_WINCTRL1_SZY); in au1200_setlocation()
733 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8); in au1200_setlocation()
754 winctrl1 |= (xsz << 11); in au1200_setlocation()
755 winctrl1 |= (ysz << 0); in au1200_setlocation()
762 lcd->window[plane].winctrl1 = winctrl1; in au1200_setlocation()
898 D(lcd->window[0].winctrl1); in au1200_setpanel()
904 D(lcd->window[1].winctrl1); in au1200_setpanel()
910 D(lcd->window[2].winctrl1); in au1200_setpanel()
916 D(lcd->window[3].winctrl1); in au1200_setpanel()
941 lcd->window[plane].winctrl1 = ( 0 in au1200_setmode()
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()
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()