Lines Matching refs:panel_cfg
101 void omap3_dss_panel_config(const struct panel_config *panel_cfg) in omap3_dss_panel_config() argument
110 writel(panel_cfg->timing_h, &dispc->timing_h); in omap3_dss_panel_config()
111 writel(panel_cfg->timing_v, &dispc->timing_v); in omap3_dss_panel_config()
112 writel(panel_cfg->pol_freq, &dispc->pol_freq); in omap3_dss_panel_config()
113 writel(panel_cfg->divisor, &dispc->divisor); in omap3_dss_panel_config()
114 writel(panel_cfg->lcd_size, &dispc->size_lcd); in omap3_dss_panel_config()
115 writel(panel_cfg->load_mode << LOADMODE_SHIFT, &dispc->config); in omap3_dss_panel_config()
116 writel(panel_cfg->panel_type << TFTSTN_SHIFT | in omap3_dss_panel_config()
117 panel_cfg->data_lines << DATALINES_SHIFT, &dispc->control); in omap3_dss_panel_config()
118 writel(panel_cfg->panel_color, &dispc->default_color0); in omap3_dss_panel_config()
119 writel((u32) panel_cfg->frame_buffer, &dispc->gfx_ba0); in omap3_dss_panel_config()
121 if (!panel_cfg->frame_buffer) in omap3_dss_panel_config()
124 writel(panel_cfg->gfx_format | GFX_ENABLE, &dispc->gfx_attributes); in omap3_dss_panel_config()
127 writel(panel_cfg->lcd_size, &dispc->gfx_size); in omap3_dss_panel_config()