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_PAD_H__ 8 #define __MDP_REG_PAD_H__ 9 10 #define MDP_PAD_CON (0x000) 11 #define MDP_PAD_PIC_SIZE (0x004) 12 #define MDP_PAD_W_SIZE (0x008) 13 #define MDP_PAD_H_SIZE (0x00c) 14 15 /* MASK */ 16 #define MDP_PAD_CON_MASK (0x00000007) 17 #define MDP_PAD_PIC_SIZE_MASK (0xFFFFFFFF) 18 #define MDP_PAD_W_SIZE_MASK (0x1FFF1FFF) 19 #define MDP_PAD_H_SIZE_MASK (0x1FFF1FFF) 20 21 #endif // __MDP_REG_PAD_H__ 22