Lines Matching full:lccr0

421 	if (!(fbi->lccr0 & LCCR0_LCDT)) {  in pxafb_adjust_timing()
559 if (fbi->lccr0 & LCCR0_SDS) in pxafb_pan_display()
1107 if (fbi->lccr0 & LCCR0_SDS) { in setup_base_frame()
1141 lcd_writel(fbi, LCCR0, fbi->reg_lccr0 & ~LCCR0_ENB); in pxafb_smart_flush()
1173 lcd_writel(fbi, LCCR0, fbi->reg_lccr0 | LCCR0_ENB); in pxafb_smart_flush()
1183 lcd_writel(fbi, LCCR0, fbi->reg_lccr0 & ~LCCR0_ENB); in pxafb_smart_flush()
1284 if (!(fbi->lccr0 & LCCR0_LCDT)) in pxafb_smart_init()
1322 if ((fbi->lccr0 & LCCR0_SDS) == LCCR0_Dual) in setup_parallel_timing()
1357 if (fbi->lccr0 & LCCR0_LCDT) in pxafb_activate_var()
1365 fbi->reg_lccr0 = fbi->lccr0 | in pxafb_activate_var()
1379 if ((lcd_readl(fbi, LCCR0) != fbi->reg_lccr0) || in pxafb_activate_var()
1385 ((fbi->lccr0 & LCCR0_SDS) && in pxafb_activate_var()
1445 if (fbi->lccr0 & LCCR0_LCDT) in pxafb_enable_controller()
1453 lcd_writel(fbi, LCCR0, fbi->reg_lccr0 & ~LCCR0_ENB); in pxafb_enable_controller()
1456 if (fbi->lccr0 & LCCR0_SDS) in pxafb_enable_controller()
1458 lcd_writel(fbi, LCCR0, fbi->reg_lccr0 | LCCR0_ENB); in pxafb_enable_controller()
1463 uint32_t lccr0; in pxafb_disable_controller() local
1466 if (fbi->lccr0 & LCCR0_LCDT) { in pxafb_disable_controller()
1476 lccr0 = lcd_readl(fbi, LCCR0) & ~LCCR0_LDM; in pxafb_disable_controller()
1477 lcd_writel(fbi, LCCR0, lccr0); in pxafb_disable_controller()
1478 lcd_writel(fbi, LCCR0, lccr0 | LCCR0_DIS); in pxafb_disable_controller()
1492 unsigned int lccr0, lcsr; in pxafb_handle_irq() local
1496 lccr0 = lcd_readl(fbi, LCCR0); in pxafb_handle_irq()
1497 lcd_writel(fbi, LCCR0, lccr0 | LCCR0_LDM); in pxafb_handle_irq()
1726 fbi->lccr0 = LCCR0_CMS; in pxafb_decode_mach_info()
1729 fbi->lccr0 = LCCR0_CMS | LCCR0_SDS; in pxafb_decode_mach_info()
1732 fbi->lccr0 = 0; in pxafb_decode_mach_info()
1735 fbi->lccr0 = LCCR0_SDS; in pxafb_decode_mach_info()
1738 fbi->lccr0 = LCCR0_PAS; in pxafb_decode_mach_info()
1741 fbi->lccr0 = LCCR0_LCDT | LCCR0_PAS; in pxafb_decode_mach_info()
1745 fbi->lccr0 = inf->lccr0; in pxafb_decode_mach_info()
1751 fbi->lccr0 |= LCCR0_DPD; in pxafb_decode_mach_info()
1753 fbi->lccr0 |= (lcd_conn & LCD_ALTERNATE_MAPPING) ? LCCR0_LDDALT : 0; in pxafb_decode_mach_info()
1828 fbi->lccr0 |= LCCR0_OUC; in pxafb_init_fbinfo()
1972 inf->lccr0 = (inf->lccr0 & ~LCCR0_CMS) | LCCR0_Color; in parse_opt()
1974 inf->lccr0 = (inf->lccr0 & ~LCCR0_CMS) | LCCR0_Mono; in parse_opt()
1976 inf->lccr0 = (inf->lccr0 & ~LCCR0_PAS) | LCCR0_Act; in parse_opt()
1978 inf->lccr0 = (inf->lccr0 & ~LCCR0_PAS) | LCCR0_Pas; in parse_opt()
1980 inf->lccr0 = (inf->lccr0 & ~LCCR0_SDS) | LCCR0_Sngl; in parse_opt()
1982 inf->lccr0 = (inf->lccr0 & ~LCCR0_SDS) | LCCR0_Dual; in parse_opt()
1984 inf->lccr0 = (inf->lccr0 & ~LCCR0_DPD) | LCCR0_4PixMono; in parse_opt()
1986 inf->lccr0 = (inf->lccr0 & ~LCCR0_DPD) | LCCR0_8PixMono; in parse_opt()
2053 if (inf->lccr0 & LCCR0_INVALID_CONFIG_MASK) in pxafb_check_options()
2054 dev_warn(dev, "machine LCCR0 setting contains " in pxafb_check_options()
2056 inf->lccr0 & LCCR0_INVALID_CONFIG_MASK); in pxafb_check_options()
2061 if (inf->lccr0 & LCCR0_DPD && in pxafb_check_options()
2062 ((inf->lccr0 & LCCR0_PAS) != LCCR0_Pas || in pxafb_check_options()
2063 (inf->lccr0 & LCCR0_SDS) != LCCR0_Sngl || in pxafb_check_options()
2064 (inf->lccr0 & LCCR0_CMS) != LCCR0_Mono)) in pxafb_check_options()
2068 if ((inf->lccr0 & LCCR0_PAS) == LCCR0_Act && in pxafb_check_options()
2069 (inf->lccr0 & LCCR0_SDS) == LCCR0_Dual) in pxafb_check_options()
2071 if ((inf->lccr0 & LCCR0_PAS) == LCCR0_Pas && in pxafb_check_options()