Lines Matching refs:bdisp
367 int bdisp_hw_reset(struct bdisp_dev *bdisp) in bdisp_hw_reset() argument
371 dev_dbg(bdisp->dev, "%s\n", __func__); in bdisp_hw_reset()
374 writel(0, bdisp->regs + BLT_ITM0); in bdisp_hw_reset()
377 writel(readl(bdisp->regs + BLT_CTL) | BLT_CTL_RESET, in bdisp_hw_reset()
378 bdisp->regs + BLT_CTL); in bdisp_hw_reset()
379 writel(0, bdisp->regs + BLT_CTL); in bdisp_hw_reset()
383 if (readl(bdisp->regs + BLT_STA1) & BLT_STA1_IDLE) in bdisp_hw_reset()
388 dev_err(bdisp->dev, "Reset timeout\n"); in bdisp_hw_reset()
402 int bdisp_hw_get_and_clear_irq(struct bdisp_dev *bdisp) in bdisp_hw_get_and_clear_irq() argument
406 its = readl(bdisp->regs + BLT_ITS); in bdisp_hw_get_and_clear_irq()
410 dev_dbg(bdisp->dev, "Unexpected IT status: 0x%08X\n", its); in bdisp_hw_get_and_clear_irq()
411 writel(its, bdisp->regs + BLT_ITS); in bdisp_hw_get_and_clear_irq()
416 writel(its, bdisp->regs + BLT_ITS); in bdisp_hw_get_and_clear_irq()
417 writel(0, bdisp->regs + BLT_ITM0); in bdisp_hw_get_and_clear_irq()
1087 struct bdisp_dev *bdisp = ctx->bdisp_dev; in bdisp_hw_update() local
1088 struct device *dev = bdisp->dev; in bdisp_hw_update()
1104 writel(BLT_AQ1_CTL_CFG, bdisp->regs + BLT_AQ1_CTL); in bdisp_hw_update()
1105 writel(BLT_ITS_AQ1_LNA, bdisp->regs + BLT_ITM0); in bdisp_hw_update()
1108 writel(ctx->node_paddr[0], bdisp->regs + BLT_AQ1_IP); in bdisp_hw_update()
1115 writel(ctx->node_paddr[node_id], bdisp->regs + BLT_AQ1_LNA); in bdisp_hw_update()