Lines Matching refs:aal
42 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_clk_enable() local
44 return clk_prepare_enable(aal->clk); in mtk_aal_clk_enable()
49 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_clk_disable() local
51 clk_disable_unprepare(aal->clk); in mtk_aal_clk_disable()
58 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_config() local
60 mtk_ddp_write(cmdq_pkt, w << 16 | h, &aal->cmdq_reg, aal->regs, DISP_AAL_SIZE); in mtk_aal_config()
61 mtk_ddp_write(cmdq_pkt, w << 16 | h, &aal->cmdq_reg, aal->regs, DISP_AAL_OUTPUT_SIZE); in mtk_aal_config()
66 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_gamma_set() local
68 if (aal->data && aal->data->has_gamma) in mtk_aal_gamma_set()
69 mtk_gamma_set_common(aal->regs, state, false); in mtk_aal_gamma_set()
74 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_start() local
76 writel(AAL_EN, aal->regs + DISP_AAL_EN); in mtk_aal_start()
81 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_stop() local
83 writel_relaxed(0x0, aal->regs + DISP_AAL_EN); in mtk_aal_stop()