linux/drivers/media/pci/zoran/zr36057.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * zr36057.h - zr36057 register offsets
 *
 * Copyright (C) 1998 Dave Perks <[email protected]>
 */

#ifndef _ZR36057_H_
#define _ZR36057_H_

/* Zoran ZR36057 registers */

#define ZR36057_VFEHCR
#define ZR36057_VFEHCR_HS_POL
#define ZR36057_VFEHCR_H_START
#define ZR36057_VFEHCR_H_END
#define ZR36057_VFEHCR_HMASK

#define ZR36057_VFEVCR
#define ZR36057_VFEVCR_VS_POL
#define ZR36057_VFEVCR_V_START
#define ZR36057_VFEVCR_V_END
#define ZR36057_VFEVCR_VMASK

#define ZR36057_VFESPFR
#define ZR36057_VFESPFR_EXT_FL
#define ZR36057_VFESPFR_TOP_FIELD
#define ZR36057_VFESPFR_VCLK_POL
#define ZR36057_VFESPFR_H_FILTER
#define ZR36057_VFESPFR_HOR_DCM
#define ZR36057_VFESPFR_VER_DCM
#define ZR36057_VFESPFR_DISP_MODE
#define ZR36057_VFESPFR_YUV422
#define ZR36057_VFESPFR_RGB888
#define ZR36057_VFESPFR_RGB565
#define ZR36057_VFESPFR_RGB555
#define ZR36057_VFESPFR_ERR_DIF
#define ZR36057_VFESPFR_PACK24
#define ZR36057_VFESPFR_LITTLE_ENDIAN

#define ZR36057_VDTR

#define ZR36057_VDBR

#define ZR36057_VSSFGR
#define ZR36057_VSSFGR_DISP_STRIDE
#define ZR36057_VSSFGR_VID_OVF
#define ZR36057_VSSFGR_SNAP_SHOT
#define ZR36057_VSSFGR_FRAME_GRAB

#define ZR36057_VDCR
#define ZR36057_VDCR_VID_EN
#define ZR36057_VDCR_MIN_PIX
#define ZR36057_VDCR_TRITON
#define ZR36057_VDCR_VID_WIN_HT
#define ZR36057_VDCR_VID_WIN_WID

#define ZR36057_MMTR

#define ZR36057_MMBR

#define ZR36057_OCR
#define ZR36057_OCR_OVL_ENABLE
#define ZR36057_OCR_MASK_STRIDE

#define ZR36057_SPGPPCR
#define ZR36057_SPGPPCR_SOFT_RESET

#define ZR36057_GPPGCR1

#define ZR36057_MCSAR

#define ZR36057_MCTCR
#define ZR36057_MCTCR_COD_TIME
#define ZR36057_MCTCR_C_EMPTY
#define ZR36057_MCTCR_C_FLUSH
#define ZR36057_MCTCR_COD_GUEST_ID
#define ZR36057_MCTCR_COD_GUEST_REG

#define ZR36057_MCMPR

#define ZR36057_ISR
#define ZR36057_ISR_GIRQ1
#define ZR36057_ISR_GIRQ0
#define ZR36057_ISR_COD_REP_IRQ
#define ZR36057_ISR_JPEG_REP_IRQ

#define ZR36057_ICR
#define ZR36057_ICR_GIRQ1
#define ZR36057_ICR_GIRQ0
#define ZR36057_ICR_COD_REP_IRQ
#define ZR36057_ICR_JPEG_REP_IRQ
#define ZR36057_ICR_INT_PIN_EN

#define ZR36057_I2CBR
#define ZR36057_I2CBR_SDA
#define ZR36057_I2CBR_SCL

#define ZR36057_JMC
#define ZR36057_JMC_JPG
#define ZR36057_JMC_JPG_EXP_MODE
#define ZR36057_JMC_JPG_CMP_MODE
#define ZR36057_JMC_MJPG_EXP_MODE
#define ZR36057_JMC_MJPG_CMP_MODE
#define ZR36057_JMC_RTBUSY_FB
#define ZR36057_JMC_GO_EN
#define ZR36057_JMC_SYNC_MSTR
#define ZR36057_JMC_FLD_PER_BUFF
#define ZR36057_JMC_VFIFO_FB
#define ZR36057_JMC_CFIFO_FB
#define ZR36057_JMC_STLL_LIT_ENDIAN

#define ZR36057_JPC
#define ZR36057_JPC_P_RESET
#define ZR36057_JPC_COD_TRNS_EN
#define ZR36057_JPC_ACTIVE

#define ZR36057_VSP
#define ZR36057_VSP_VSYNC_SIZE
#define ZR36057_VSP_FRM_TOT

#define ZR36057_HSP
#define ZR36057_HSP_HSYNC_START
#define ZR36057_HSP_LINE_TOT

#define ZR36057_FHAP
#define ZR36057_FHAP_NAX
#define ZR36057_FHAP_PAX

#define ZR36057_FVAP
#define ZR36057_FVAP_NAY
#define ZR36057_FVAP_PAY

#define ZR36057_FPP
#define ZR36057_FPP_ODD_EVEN

#define ZR36057_JCBA

#define ZR36057_JCFT

#define ZR36057_JCGI
#define ZR36057_JCGI_JPE_GUEST_ID
#define ZR36057_JCGI_JPE_GUEST_REG

#define ZR36057_GCR2

#define ZR36057_POR
#define ZR36057_POR_PO_PEN
#define ZR36057_POR_PO_TIME
#define ZR36057_POR_PO_DIR

#define ZR36057_STR

#endif