Lines Matching refs:viu
131 priv->viu.osd1_width) | in meson_gxm_afbcd_setup()
133 priv->viu.osd1_height), in meson_gxm_afbcd_setup()
136 writel_relaxed(priv->viu.osd1_addr >> 4, in meson_gxm_afbcd_setup()
138 writel_relaxed(priv->viu.osd1_addr >> 4, in meson_gxm_afbcd_setup()
141 writel_relaxed((0xe4 << 24) | (priv->viu.osd1_addr & 0xffffff), in meson_gxm_afbcd_setup()
144 if (priv->viu.osd1_width <= 128) in meson_gxm_afbcd_setup()
146 else if (priv->viu.osd1_width <= 256) in meson_gxm_afbcd_setup()
148 else if (priv->viu.osd1_width <= 512) in meson_gxm_afbcd_setup()
150 else if (priv->viu.osd1_width <= 1024) in meson_gxm_afbcd_setup()
152 else if (priv->viu.osd1_width <= 2048) in meson_gxm_afbcd_setup()
162 priv->viu.osd1_width - 1), in meson_gxm_afbcd_setup()
167 priv->viu.osd1_height - 1), in meson_gxm_afbcd_setup()
350 meson_rdma_writel_sync(priv, priv->viu.osd1_addr, in meson_g12a_afbcd_setup()
355 meson_rdma_writel_sync(priv, priv->viu.osd1_width, in meson_g12a_afbcd_setup()
357 meson_rdma_writel_sync(priv, ALIGN(priv->viu.osd1_height, 32), in meson_g12a_afbcd_setup()
362 meson_rdma_writel_sync(priv, priv->viu.osd1_width - 1, in meson_g12a_afbcd_setup()
366 meson_rdma_writel_sync(priv, priv->viu.osd1_height - 1, in meson_g12a_afbcd_setup()
374 meson_rdma_writel_sync(priv, priv->viu.osd1_width * in meson_g12a_afbcd_setup()