linux/drivers/media/platform/mediatek/jpeg/mtk_jpeg_dec_reg.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2016 MediaTek Inc.
 * Author: Ming Hsiu Tsai <[email protected]>
 *         Rick Chang <[email protected]>
 */

#ifndef _MTK_JPEG_REG_H
#define _MTK_JPEG_REG_H

#define MTK_JPEG_BLOCK_MAX
#define MTK_JPEG_DCTSIZE

#define BIT_INQST_MASK_ERROR_BS
#define BIT_INQST_MASK_PAUSE
#define BIT_INQST_MASK_OVERFLOW
#define BIT_INQST_MASK_UNDERFLOW
#define BIT_INQST_MASK_EOF
#define BIT_INQST_MASK_ALLIRQ

#define JPGDEC_REG_RESET
#define JPGDEC_REG_BRZ_FACTOR
#define JPGDEC_REG_DU_NUM
#define JPGDEC_REG_DEST_ADDR0_Y
#define JPGDEC_REG_DEST_ADDR0_U
#define JPGDEC_REG_DEST_ADDR0_V
#define JPGDEC_REG_DEST_ADDR1_Y
#define JPGDEC_REG_DEST_ADDR1_U
#define JPGDEC_REG_DEST_ADDR1_V
#define JPGDEC_REG_STRIDE_Y
#define JPGDEC_REG_STRIDE_UV
#define JPGDEC_REG_IMG_STRIDE_Y
#define JPGDEC_REG_IMG_STRIDE_UV
#define JPGDEC_REG_WDMA_CTRL
#define JPGDEC_REG_PAUSE_MCU_NUM
#define JPGDEC_REG_OPERATION_MODE
#define JPGDEC_REG_FILE_ADDR
#define JPGDEC_REG_COMP_ID
#define JPGDEC_REG_TOTAL_MCU_NUM
#define JPGDEC_REG_COMP0_DATA_UNIT_NUM
#define JPGDEC_REG_DU_CTRL
#define JPGDEC_REG_TRIG
#define JPGDEC_REG_FILE_BRP
#define JPGDEC_REG_FILE_TOTAL_SIZE
#define JPGDEC_REG_QT_ID
#define JPGDEC_REG_INTERRUPT_STATUS
#define JPGDEC_REG_STATUS
#define JPGDEC_REG_BIT_STREAM_SIZE

#endif /* _MTK_JPEG_REG_H */