Files
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
Squashed backup commit (no shallow-clone history issues) of
xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream
commit 9eece662e) plus all fixes applied to get everpal_defconfig building
clean against a modern (GCC 15.2.0) toolchain -- see the previous commit
message on the lineage-23.2 branch (also in this repo history is not
available here since this is a squashed snapshot; full incremental history
lives in the local DL380 checkout and the upstream GitHub remote).

Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
2026-09-12 13:36:46 +00:00

39 lines
1.1 KiB
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2019 MediaTek Inc.
*/
#ifndef _MTK_JPEG_ENC_REG_H
#define _MTK_JPEG_ENC_REG_H
#define MTK_JPEG_COMP_MAX 3
#define JPEG_DRV_ENC_INT_STATUS_DONE 0x01
#define JPEG_DRV_ENC_INT_STATUS_STALL 0x02
#define JPEG_DRV_ENC_INT_STATUS_VCODEC_IRQ 0x10
#define JPEG_DRV_ENC_INT_STATUS_MASK_ALLIRQ 0x13
#define JPGENC_RSTB 0x100
#define JPGENC_CTRL 0x104
#define JPGENC_QUALITY 0x108
#define JPGENC_BLK_NUM 0x10C
#define JPGENC_BLK_CNT 0x110
#define JPGENC_INT_STS 0x11C
#define JPGENC_DST_ADDR0 0x120
#define JPGENC_DMA_ADDR0 0x124
#define JPGENC_STALL_ADDR0 0x128
#define JPGENC_OFFSET_ADDR 0x138
#define JPGENC_RST_MCU_NUM 0x150
#define JPGENC_IMG_SIZE 0x154
#define JPGENC_DEBUG_INFO0 0x160
#define JPGENC_DEBUG_INFO1 0x164
#define JPGENC_TOTAL_CYCLE 0x168
#define JPGENC_BYTE_OFFSET_MASK 0x16C
#define JPGENC_SRC_LUMA_ADDR 0x170
#define JPGENC_SRC_CHROMA_ADDR 0x174
#define JPGENC_STRIDE 0x178
#define JPGENC_IMG_STRIDE 0x17C
#define JPGENC_DCM_CTRL 0x300
#define JPGENC_CODEC_SEL 0x314
#define JPGENC_ULTRA_THRES 0x318
#endif /* _MTK_JPEG_REG_H */