Lines Matching full:aal
37 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_clk_enable() local
39 return clk_prepare_enable(aal->clk); in mtk_aal_clk_enable()
44 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_clk_disable() local
46 clk_disable_unprepare(aal->clk); in mtk_aal_clk_disable()
53 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_config() local
55 mtk_ddp_write(cmdq_pkt, w << 16 | h, &aal->cmdq_reg, aal->regs, DISP_AAL_SIZE); in mtk_aal_config()
56 mtk_ddp_write(cmdq_pkt, w << 16 | h, &aal->cmdq_reg, aal->regs, DISP_AAL_OUTPUT_SIZE); in mtk_aal_config()
61 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_gamma_set() local
63 if (aal->data && aal->data->has_gamma) in mtk_aal_gamma_set()
64 mtk_gamma_set_common(aal->regs, state, false); in mtk_aal_gamma_set()
69 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_start() local
71 writel(AAL_EN, aal->regs + DISP_AAL_EN); in mtk_aal_start()
76 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_stop() local
78 writel_relaxed(0x0, aal->regs + DISP_AAL_EN); in mtk_aal_stop()
110 dev_err(dev, "failed to get aal clk\n"); in mtk_disp_aal_probe()
117 dev_err(dev, "failed to ioremap aal\n"); in mtk_disp_aal_probe()
147 { .compatible = "mediatek,mt8173-disp-aal",
149 { .compatible = "mediatek,mt8183-disp-aal"},
158 .name = "mediatek-disp-aal",