Searched refs:lcdcon2 (Results 1 – 3 of 3) sorted by relevance
19 unsigned long lcdcon2; member
189 static unsigned long compute_hozval(unsigned long xres, unsigned long lcdcon2) in compute_hozval() argument198 if ((lcdcon2 & ATMEL_LCDC_DISTYPE) != ATMEL_LCDC_DISTYPE_TFT) { in compute_hozval()200 if ((lcdcon2 & ATMEL_LCDC_DISTYPE) == ATMEL_LCDC_DISTYPE_STNCOLOR) { in compute_hozval()203 if ( (lcdcon2 & ATMEL_LCDC_IFWIDTH) == ATMEL_LCDC_IFWIDTH_4 in compute_hozval()204 || ( (lcdcon2 & ATMEL_LCDC_IFWIDTH) == ATMEL_LCDC_IFWIDTH_8 in compute_hozval()205 && (lcdcon2 & ATMEL_LCDC_SCANMOD) == ATMEL_LCDC_SCANMOD_DUAL )) in compute_hozval()
286 regs->lcdcon2 = S3C2410_LCDCON2_LINEVAL(var->yres - 1); in s3c2410fb_calculate_stn_lcd_regs()350 regs->lcdcon2 = S3C2410_LCDCON2_LINEVAL(var->yres - 1) | in s3c2410fb_calculate_tft_lcd_regs()398 dprintk("lcdcon[2] = 0x%08lx\n", fbi->regs.lcdcon2); in s3c2410fb_activate_var()405 writel(fbi->regs.lcdcon2, regs + S3C2410_LCDCON2); in s3c2410fb_activate_var()