Lines Matching full:ctrl1
32 u32 ctrl1; in aspeed_gfx_set_pixel_fmt() local
34 ctrl1 = readl(priv->base + CRT_CTRL1); in aspeed_gfx_set_pixel_fmt()
35 ctrl1 &= ~CRT_CTRL_COLOR_MASK; in aspeed_gfx_set_pixel_fmt()
40 ctrl1 |= CRT_CTRL_COLOR_RGB565; in aspeed_gfx_set_pixel_fmt()
45 ctrl1 |= CRT_CTRL_COLOR_XRGB8888; in aspeed_gfx_set_pixel_fmt()
53 writel(ctrl1, priv->base + CRT_CTRL1); in aspeed_gfx_set_pixel_fmt()
60 u32 ctrl1 = readl(priv->base + CRT_CTRL1); in aspeed_gfx_enable_controller() local
66 writel(ctrl1 | CRT_CTRL_EN, priv->base + CRT_CTRL1); in aspeed_gfx_enable_controller()
72 u32 ctrl1 = readl(priv->base + CRT_CTRL1); in aspeed_gfx_disable_controller() local
75 writel(ctrl1 & ~CRT_CTRL_EN, priv->base + CRT_CTRL1); in aspeed_gfx_disable_controller()
84 u32 ctrl1, d_offset, t_count, bpp; in aspeed_gfx_crtc_mode_set_nofb() local
97 ctrl1 = readl(priv->base + CRT_CTRL1); in aspeed_gfx_crtc_mode_set_nofb()
98 ctrl1 &= ~(CRT_CTRL_INTERLACED | in aspeed_gfx_crtc_mode_set_nofb()
103 ctrl1 |= CRT_CTRL_INTERLACED; in aspeed_gfx_crtc_mode_set_nofb()
106 ctrl1 |= CRT_CTRL_HSYNC_NEGATIVE; in aspeed_gfx_crtc_mode_set_nofb()
109 ctrl1 |= CRT_CTRL_VSYNC_NEGATIVE; in aspeed_gfx_crtc_mode_set_nofb()
111 writel(ctrl1, priv->base + CRT_CTRL1); in aspeed_gfx_crtc_mode_set_nofb()