Lines Matching refs:lccr0
420 if (!(fbi->lccr0 & LCCR0_LCDT)) { in pxafb_adjust_timing()
558 if (fbi->lccr0 & LCCR0_SDS) in pxafb_pan_display()
1122 if (fbi->lccr0 & LCCR0_SDS) { in setup_base_frame()
1299 if (!(fbi->lccr0 & LCCR0_LCDT)) in pxafb_smart_init()
1337 if ((fbi->lccr0 & LCCR0_SDS) == LCCR0_Dual) in setup_parallel_timing()
1372 if (fbi->lccr0 & LCCR0_LCDT) in pxafb_activate_var()
1380 fbi->reg_lccr0 = fbi->lccr0 | in pxafb_activate_var()
1400 ((fbi->lccr0 & LCCR0_SDS) && in pxafb_activate_var()
1460 if (fbi->lccr0 & LCCR0_LCDT) in pxafb_enable_controller()
1471 if (fbi->lccr0 & LCCR0_SDS) in pxafb_enable_controller()
1478 uint32_t lccr0; in pxafb_disable_controller() local
1481 if (fbi->lccr0 & LCCR0_LCDT) { in pxafb_disable_controller()
1491 lccr0 = lcd_readl(fbi, LCCR0) & ~LCCR0_LDM; in pxafb_disable_controller()
1492 lcd_writel(fbi, LCCR0, lccr0); in pxafb_disable_controller()
1493 lcd_writel(fbi, LCCR0, lccr0 | LCCR0_DIS); in pxafb_disable_controller()
1507 unsigned int lccr0, lcsr; in pxafb_handle_irq() local
1511 lccr0 = lcd_readl(fbi, LCCR0); in pxafb_handle_irq()
1512 lcd_writel(fbi, LCCR0, lccr0 | LCCR0_LDM); in pxafb_handle_irq()
1741 fbi->lccr0 = LCCR0_CMS; in pxafb_decode_mach_info()
1744 fbi->lccr0 = LCCR0_CMS | LCCR0_SDS; in pxafb_decode_mach_info()
1747 fbi->lccr0 = 0; in pxafb_decode_mach_info()
1750 fbi->lccr0 = LCCR0_SDS; in pxafb_decode_mach_info()
1753 fbi->lccr0 = LCCR0_PAS; in pxafb_decode_mach_info()
1756 fbi->lccr0 = LCCR0_LCDT | LCCR0_PAS; in pxafb_decode_mach_info()
1760 fbi->lccr0 = inf->lccr0; in pxafb_decode_mach_info()
1766 fbi->lccr0 |= LCCR0_DPD; in pxafb_decode_mach_info()
1768 fbi->lccr0 |= (lcd_conn & LCD_ALTERNATE_MAPPING) ? LCCR0_LDDALT : 0; in pxafb_decode_mach_info()
1844 fbi->lccr0 |= LCCR0_OUC; in pxafb_init_fbinfo()
1988 inf->lccr0 = (inf->lccr0 & ~LCCR0_CMS) | LCCR0_Color; in parse_opt()
1990 inf->lccr0 = (inf->lccr0 & ~LCCR0_CMS) | LCCR0_Mono; in parse_opt()
1992 inf->lccr0 = (inf->lccr0 & ~LCCR0_PAS) | LCCR0_Act; in parse_opt()
1994 inf->lccr0 = (inf->lccr0 & ~LCCR0_PAS) | LCCR0_Pas; in parse_opt()
1996 inf->lccr0 = (inf->lccr0 & ~LCCR0_SDS) | LCCR0_Sngl; in parse_opt()
1998 inf->lccr0 = (inf->lccr0 & ~LCCR0_SDS) | LCCR0_Dual; in parse_opt()
2000 inf->lccr0 = (inf->lccr0 & ~LCCR0_DPD) | LCCR0_4PixMono; in parse_opt()
2002 inf->lccr0 = (inf->lccr0 & ~LCCR0_DPD) | LCCR0_8PixMono; in parse_opt()
2069 if (inf->lccr0 & LCCR0_INVALID_CONFIG_MASK) in pxafb_check_options()
2072 inf->lccr0 & LCCR0_INVALID_CONFIG_MASK); in pxafb_check_options()
2077 if (inf->lccr0 & LCCR0_DPD && in pxafb_check_options()
2078 ((inf->lccr0 & LCCR0_PAS) != LCCR0_Pas || in pxafb_check_options()
2079 (inf->lccr0 & LCCR0_SDS) != LCCR0_Sngl || in pxafb_check_options()
2080 (inf->lccr0 & LCCR0_CMS) != LCCR0_Mono)) in pxafb_check_options()
2084 if ((inf->lccr0 & LCCR0_PAS) == LCCR0_Act && in pxafb_check_options()
2085 (inf->lccr0 & LCCR0_SDS) == LCCR0_Dual) in pxafb_check_options()
2087 if ((inf->lccr0 & LCCR0_PAS) == LCCR0_Pas && in pxafb_check_options()