Lines Matching full:ctrl1
31 u32 ctrl1; in aspeed_gfx_set_pixel_fmt() local
33 ctrl1 = readl(priv->base + CRT_CTRL1); in aspeed_gfx_set_pixel_fmt()
34 ctrl1 &= ~CRT_CTRL_COLOR_MASK; in aspeed_gfx_set_pixel_fmt()
39 ctrl1 |= CRT_CTRL_COLOR_RGB565; in aspeed_gfx_set_pixel_fmt()
44 ctrl1 |= CRT_CTRL_COLOR_XRGB8888; in aspeed_gfx_set_pixel_fmt()
52 writel(ctrl1, priv->base + CRT_CTRL1); in aspeed_gfx_set_pixel_fmt()
59 u32 ctrl1 = readl(priv->base + CRT_CTRL1); in aspeed_gfx_enable_controller() local
65 writel(ctrl1 | CRT_CTRL_EN, priv->base + CRT_CTRL1); in aspeed_gfx_enable_controller()
71 u32 ctrl1 = readl(priv->base + CRT_CTRL1); in aspeed_gfx_disable_controller() local
74 writel(ctrl1 & ~CRT_CTRL_EN, priv->base + CRT_CTRL1); in aspeed_gfx_disable_controller()
83 u32 ctrl1, d_offset, t_count, bpp; in aspeed_gfx_crtc_mode_set_nofb() local
96 ctrl1 = readl(priv->base + CRT_CTRL1); in aspeed_gfx_crtc_mode_set_nofb()
97 ctrl1 &= ~(CRT_CTRL_INTERLACED | in aspeed_gfx_crtc_mode_set_nofb()
102 ctrl1 |= CRT_CTRL_INTERLACED; in aspeed_gfx_crtc_mode_set_nofb()
105 ctrl1 |= CRT_CTRL_HSYNC_NEGATIVE; in aspeed_gfx_crtc_mode_set_nofb()
108 ctrl1 |= CRT_CTRL_VSYNC_NEGATIVE; in aspeed_gfx_crtc_mode_set_nofb()
110 writel(ctrl1, priv->base + CRT_CTRL1); in aspeed_gfx_crtc_mode_set_nofb()