Lines Matching refs:pcr
163 u_int pcr; member
359 u32 pcr = 0; in imxfb_check_var() local
395 pcr = (unsigned int)tmp; in imxfb_check_var()
397 if (--pcr > 0x3F) { in imxfb_check_var()
398 pcr = 0x3F; in imxfb_check_var()
400 lcd_clk / pcr); in imxfb_check_var()
405 pcr |= PCR_BPIX_18; in imxfb_check_var()
411 pcr |= PCR_BPIX_12; in imxfb_check_var()
413 pcr |= PCR_BPIX_16; in imxfb_check_var()
415 if (imxfb_mode->pcr & PCR_TFT) in imxfb_check_var()
421 pcr |= PCR_BPIX_8; in imxfb_check_var()
427 pcr |= imxfb_mode->pcr & ~(0x3f | (7 << 25)); in imxfb_check_var()
429 fbi->pcr = pcr; in imxfb_check_var()
642 writel(fbi->pcr, fbi->regs + LCDC_PCR); in imxfb_activate_var()
722 u32 pcr; in imxfb_of_read_mode() local
735 ret |= of_property_read_u32(np, "fsl,pcr", &pcr); in imxfb_of_read_mode()
748 imxfb_mode->pcr = pcr; in imxfb_of_read_mode()