Lines Matching refs:disp
32 struct disp_ctlr *disp; /* Display controller to use */ member
100 static int update_display_mode(struct dc_disp_reg *disp, in update_display_mode() argument
108 writel(0x0, &disp->disp_timing_opt); in update_display_mode()
110 writel(1 | 1 << 16, &disp->ref_to_sync); in update_display_mode()
111 writel(dt->hsync_len.typ | dt->vsync_len.typ << 16, &disp->sync_width); in update_display_mode()
113 &disp->back_porch); in update_display_mode()
115 &disp->front_porch); in update_display_mode()
116 writel(dt->hactive.typ | (dt->vactive.typ << 16), &disp->disp_active); in update_display_mode()
120 writel(val, &disp->data_enable_opt); in update_display_mode()
125 writel(val, &disp->disp_interface_ctrl); in update_display_mode()
137 writel(0x00010001, &disp->shift_clk_opt); in update_display_mode()
141 writel(val, &disp->disp_clk_ctrl); in update_display_mode()
168 static void basic_init_timer(struct dc_disp_reg *disp) in basic_init_timer() argument
170 writel(0x00000020, &disp->mem_high_pri); in basic_init_timer()
171 writel(0x00000001, &disp->mem_high_pri_timer); in basic_init_timer()
271 dc = (struct dc_ctlr *)priv->disp; in tegra_display_probe()
283 basic_init_timer(&dc->disp); in tegra_display_probe()
287 update_display_mode(&dc->disp, priv); in tegra_display_probe()
346 priv->disp = (struct disp_ctlr *)devfdt_get_addr(dev); in tegra_lcd_ofdata_to_platdata()
347 if (!priv->disp) { in tegra_lcd_ofdata_to_platdata()