Lines Matching refs:dispc

39 	struct dispc_regs *dispc = (struct dispc_regs *) OMAP3_DISPC_BASE;  in omap3_dss_venc_config()  local
97 writel(height << DIG_LPP_SHIFT | width, &dispc->size_dig); in omap3_dss_venc_config()
103 struct dispc_regs *dispc = (struct dispc_regs *) OMAP3_DISPC_BASE; in omap3_dss_panel_config() local
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()
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()
124 writel(panel_cfg->gfx_format | GFX_ENABLE, &dispc->gfx_attributes); in omap3_dss_panel_config()
125 writel(1, &dispc->gfx_row_inc); in omap3_dss_panel_config()
126 writel(1, &dispc->gfx_pixel_inc); in omap3_dss_panel_config()
127 writel(panel_cfg->lcd_size, &dispc->gfx_size); in omap3_dss_panel_config()
133 struct dispc_regs *dispc = (struct dispc_regs *) OMAP3_DISPC_BASE; in omap3_dss_enable() local
136 l = readl(&dispc->control); in omap3_dss_enable()
138 writel(l, &dispc->control); in omap3_dss_enable()
154 struct dispc_regs *dispc = (struct dispc_regs *) OMAP3_DISPC_BASE; in video_hw_init() local
156 if (board_video_init() || !readl(&dispc->gfx_ba0)) in video_hw_init()
159 pGD->winSizeX = (readl(&dispc->size_lcd) & 0x7FF) + 1; in video_hw_init()
160 pGD->winSizeY = ((readl(&dispc->size_lcd) >> 16) & 0x7FF) + 1; in video_hw_init()
163 pGD->frameAdrs = readl(&dispc->gfx_ba0); in video_hw_init()