Lines Matching full:padding
27 * struct mtk_padding - Basic information of the Padding
29 * @reg: Virtual address of the Padding for CPU to access
30 * @cmdq_reg: CMDQ setting of the Padding
32 * Every Padding should have different clock source, register base, and
43 struct mtk_padding *padding = dev_get_drvdata(dev); in mtk_padding_clk_enable() local
45 return clk_prepare_enable(padding->clk); in mtk_padding_clk_enable()
50 struct mtk_padding *padding = dev_get_drvdata(dev); in mtk_padding_clk_disable() local
52 clk_disable_unprepare(padding->clk); in mtk_padding_clk_disable()
57 struct mtk_padding *padding = dev_get_drvdata(dev); in mtk_padding_start() local
60 padding->reg + PADDING_CONTROL_REG); in mtk_padding_start()
63 * Notice that even the padding is in bypass mode, in mtk_padding_start()
67 writel(0, padding->reg + PADDING_PIC_SIZE_REG); in mtk_padding_start()
68 writel(0, padding->reg + PADDING_H_REG); in mtk_padding_start()
69 writel(0, padding->reg + PADDING_V_REG); in mtk_padding_start()
70 writel(0, padding->reg + PADDING_COLOR_REG); in mtk_padding_start()
75 struct mtk_padding *padding = dev_get_drvdata(dev); in mtk_padding_stop() local
77 writel(0, padding->reg + PADDING_CONTROL_REG); in mtk_padding_stop()
142 { .compatible = "mediatek,mt8188-disp-padding" },
151 .name = "mediatek-disp-padding",