1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Copyright (c) 2022 MediaTek Inc. 4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com> 5 */ 6 7 #ifndef __MDP_REG_AAL_H__ 8 #define __MDP_REG_AAL_H__ 9 10 #define MDP_AAL_EN (0x000) 11 #define MDP_AAL_CFG (0x020) 12 #define MDP_AAL_SIZE (0x030) 13 #define MDP_AAL_OUTPUT_SIZE (0x034) 14 #define MDP_AAL_OUTPUT_OFFSET (0x038) 15 #define MDP_AAL_CFG_MAIN (0x200) 16 17 /* MASK */ 18 #define MDP_AAL_EN_MASK (0x01) 19 #define MDP_AAL_CFG_MASK (0x70FF00B3) 20 #define MDP_AAL_SIZE_MASK (0x1FFF1FFF) 21 #define MDP_AAL_OUTPUT_SIZE_MASK (0x1FFF1FFF) 22 #define MDP_AAL_OUTPUT_OFFSET_MASK (0x0FF00FF) 23 #define MDP_AAL_CFG_MAIN_MASK (0x0FE) 24 25 #endif // __MDP_REG_AAL_H__ 26