Lines Matching refs:vouctl
173 void __iomem *vouctl; member
229 zx_writel_mask(vou->vouctl + VOU_INF_HDMI_CTRL, VOU_HDMI_AUD_MASK, aud); in vou_inf_hdmi_audio_sel()
258 zx_writel_mask(vou->vouctl + VOU_INF_DATA_SEL, 0x3 << data_sel_shift, in vou_inf_enable()
262 zx_writel_mask(vou->vouctl + VOU_INF_CH_SEL, 0x1 << id, in vou_inf_enable()
266 zx_writel_mask(vou->vouctl + VOU_CLK_SEL, inf->clocks_sel_bits, in vou_inf_enable()
270 zx_writel_mask(vou->vouctl + VOU_CLK_EN, inf->clocks_en_bits, in vou_inf_enable()
274 zx_writel_mask(vou->vouctl + VOU_INF_EN, 1 << id, 1 << id); in vou_inf_enable()
283 zx_writel_mask(vou->vouctl + VOU_INF_EN, 1 << id, 0); in vou_inf_disable()
286 zx_writel_mask(vou->vouctl + VOU_CLK_EN, inf->clocks_en_bits, 0); in vou_inf_disable()
298 zx_writel_mask(vou->vouctl + VOU_DIV_PARA, DIV_PARA_UPDATE, 0); in zx_vou_config_dividers()
338 zx_writel_mask(vou->vouctl + reg, 0x7 << shift, in zx_vou_config_dividers()
343 zx_writel_mask(vou->vouctl + VOU_DIV_PARA, DIV_PARA_UPDATE, in zx_vou_config_dividers()
618 zx_writel_mask(vou->vouctl + VOU_CLK_SEL, bits->clksel, 0); in zx_vou_layer_enable()
622 zx_writel_mask(vou->vouctl + VOU_CLK_SEL, bits->clksel, in zx_vou_layer_enable()
737 zx_writel(vou->vouctl + VOU_SOFT_RST, ~0); in vou_hw_init()
740 zx_writel(vou->vouctl + VOU_CLK_EN, ~0); in vou_hw_init()
801 vou->vouctl = devm_ioremap_resource(dev, res); in zx_crtc_bind()
802 if (IS_ERR(vou->vouctl)) { in zx_crtc_bind()
803 ret = PTR_ERR(vou->vouctl); in zx_crtc_bind()