Lines Matching refs:panel_info
49 writel(panel_info.mmio + ATMEL_LCDC_LUT(regno), in lcd_setcolreg()
74 regs = (struct atmel_hlcd_regs *)panel_info.mmio; in lcd_ctrl_init()
102 value = get_lcdc_clk_rate(0) / panel_info.vl_clk; in lcd_ctrl_init()
103 if (get_lcdc_clk_rate(0) % panel_info.vl_clk) in lcd_ctrl_init()
113 | panel_info.vl_clk_pol in lcd_ctrl_init()
123 | panel_info.vl_clk_pol, in lcd_ctrl_init()
130 value |= panel_info.vl_sync; in lcd_ctrl_init()
160 value = LCDC_LCDCFG1_VSPW(panel_info.vl_vsync_len - 1); in lcd_ctrl_init()
161 value |= LCDC_LCDCFG1_HSPW(panel_info.vl_hsync_len - 1); in lcd_ctrl_init()
164 value = LCDC_LCDCFG2_VBPW(panel_info.vl_upper_margin); in lcd_ctrl_init()
165 value |= LCDC_LCDCFG2_VFPW(panel_info.vl_lower_margin - 1); in lcd_ctrl_init()
168 value = LCDC_LCDCFG3_HBPW(panel_info.vl_left_margin - 1); in lcd_ctrl_init()
169 value |= LCDC_LCDCFG3_HFPW(panel_info.vl_right_margin - 1); in lcd_ctrl_init()
173 value = LCDC_LCDCFG4_RPF(panel_info.vl_row - 1); in lcd_ctrl_init()
174 value |= LCDC_LCDCFG4_PPL(panel_info.vl_col - 1); in lcd_ctrl_init()
180 switch (NBITS(panel_info.vl_bpix)) { in lcd_ctrl_init()