brintos

brintos / linux-shallow public Read only

0
0
Text · 5.9 KiB · 6bc9fd1 Raw
162 lines · c
1/*2 * ths8200 - Texas Instruments THS8200 video encoder driver3 *4 * Copyright 2013 Cisco Systems, Inc. and/or its affiliates.5 *6 * This program is free software; you may redistribute it and/or modify7 * it under the terms of the GNU General Public License as published by8 * the Free Software Foundation; version 2 of the License.9 *10 * This program is free software; you can redistribute it and/or11 * modify it under the terms of the GNU General Public License as12 * published by the Free Software Foundation version 2.13 *14 * This program is distributed .as is. WITHOUT ANY WARRANTY of any15 * kind, whether express or implied; without even the implied warranty16 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the17 * GNU General Public License for more details.18 */19 20#ifndef THS8200_REGS_H21#define THS8200_REGS_H22 23/* Register offset macros */24#define THS8200_VERSION				0x0225#define THS8200_CHIP_CTL			0x0326#define THS8200_CSC_R11				0x0427#define THS8200_CSC_R12				0x0528#define THS8200_CSC_R21				0x0629#define THS8200_CSC_R22				0x0730#define THS8200_CSC_R31				0x0831#define THS8200_CSC_R32				0x0932#define THS8200_CSC_G11				0x0a33#define THS8200_CSC_G12				0x0b34#define THS8200_CSC_G21				0x0c35#define THS8200_CSC_G22				0x0d36#define THS8200_CSC_G31				0x0e37#define THS8200_CSC_G32				0x0f38#define THS8200_CSC_B11				0x1039#define THS8200_CSC_B12				0x1140#define THS8200_CSC_B21				0x1241#define THS8200_CSC_B22				0x1342#define THS8200_CSC_B31				0x1443#define THS8200_CSC_B32				0x1544#define THS8200_CSC_OFFS1			0x1645#define THS8200_CSC_OFFS12			0x1746#define THS8200_CSC_OFFS23			0x1847#define THS8200_CSC_OFFS3			0x1948#define THS8200_TST_CNTL1			0x1a49#define THS8200_TST_CNTL2			0x1b50#define THS8200_DATA_CNTL			0x1c51#define THS8200_DTG1_Y_SYNC1_LSB		0x1d52#define THS8200_DTG1_Y_SYNC2_LSB		0x1e53#define THS8200_DTG1_Y_SYNC3_LSB		0x1f54#define THS8200_DTG1_CBCR_SYNC1_LSB		0x2055#define THS8200_DTG1_CBCR_SYNC2_LSB		0x2156#define THS8200_DTG1_CBCR_SYNC3_LSB		0x2257#define THS8200_DTG1_Y_SYNC_MSB			0x2358#define THS8200_DTG1_CBCR_SYNC_MSB		0x2459#define THS8200_DTG1_SPEC_A			0x2560#define THS8200_DTG1_SPEC_B			0x2661#define THS8200_DTG1_SPEC_C			0x2762#define THS8200_DTG1_SPEC_D_LSB			0x2863#define THS8200_DTG1_SPEC_D1			0x2964#define THS8200_DTG1_SPEC_E_LSB			0x2a65#define THS8200_DTG1_SPEC_DEH_MSB		0x2b66#define THS8200_DTG1_SPEC_H_LSB			0x2c67#define THS8200_DTG1_SPEC_I_MSB			0x2d68#define THS8200_DTG1_SPEC_I_LSB			0x2e69#define THS8200_DTG1_SPEC_K_LSB			0x2f70#define THS8200_DTG1_SPEC_K_MSB			0x3071#define THS8200_DTG1_SPEC_K1			0x3172#define THS8200_DTG1_SPEC_G_LSB			0x3273#define THS8200_DTG1_SPEC_G_MSB			0x3374#define THS8200_DTG1_TOT_PIXELS_MSB		0x3475#define THS8200_DTG1_TOT_PIXELS_LSB		0x3576#define THS8200_DTG1_FLD_FLIP_LINECNT_MSB	0x3677#define THS8200_DTG1_LINECNT_LSB		0x3778#define THS8200_DTG1_MODE			0x3879#define THS8200_DTG1_FRAME_FIELD_SZ_MSB		0x3980#define THS8200_DTG1_FRAME_SZ_LSB		0x3a81#define THS8200_DTG1_FIELD_SZ_LSB		0x3b82#define THS8200_DTG1_VESA_CBAR_SIZE		0x3c83#define THS8200_DAC_CNTL_MSB			0x3d84#define THS8200_DAC1_CNTL_LSB			0x3e85#define THS8200_DAC2_CNTL_LSB			0x3f86#define THS8200_DAC3_CNTL_LSB			0x4087#define THS8200_CSM_CLIP_GY_LOW			0x4188#define THS8200_CSM_CLIP_BCB_LOW		0x4289#define THS8200_CSM_CLIP_RCR_LOW		0x4390#define THS8200_CSM_CLIP_GY_HIGH		0x4491#define THS8200_CSM_CLIP_BCB_HIGH		0x4592#define THS8200_CSM_CLIP_RCR_HIGH		0x4693#define THS8200_CSM_SHIFT_GY			0x4794#define THS8200_CSM_SHIFT_BCB			0x4895#define THS8200_CSM_SHIFT_RCR			0x4996#define THS8200_CSM_GY_CNTL_MULT_MSB		0x4a97#define THS8200_CSM_MULT_BCB_RCR_MSB		0x4b98#define THS8200_CSM_MULT_GY_LSB			0x4c99#define THS8200_CSM_MULT_BCB_LSB		0x4d100#define THS8200_CSM_MULT_RCR_LSB		0x4e101#define THS8200_CSM_MULT_RCR_BCB_CNTL		0x4f102#define THS8200_CSM_MULT_RCR_LSB		0x4e103#define THS8200_DTG2_BP1_2_MSB			0x50104#define THS8200_DTG2_BP3_4_MSB			0x51105#define THS8200_DTG2_BP5_6_MSB			0x52106#define THS8200_DTG2_BP7_8_MSB			0x53107#define THS8200_DTG2_BP9_10_MSB			0x54108#define THS8200_DTG2_BP11_12_MSB		0x55109#define THS8200_DTG2_BP13_14_MSB		0x56110#define THS8200_DTG2_BP15_16_MSB		0x57111#define THS8200_DTG2_BP1_LSB			0x58112#define THS8200_DTG2_BP2_LSB			0x59113#define THS8200_DTG2_BP3_LSB			0x5a114#define THS8200_DTG2_BP4_LSB			0x5b115#define THS8200_DTG2_BP5_LSB			0x5c116#define THS8200_DTG2_BP6_LSB			0x5d117#define THS8200_DTG2_BP7_LSB			0x5e118#define THS8200_DTG2_BP8_LSB			0x5f119#define THS8200_DTG2_BP9_LSB			0x60120#define THS8200_DTG2_BP10_LSB			0x61121#define THS8200_DTG2_BP11_LSB			0x62122#define THS8200_DTG2_BP12_LSB			0x63123#define THS8200_DTG2_BP13_LSB			0x64124#define THS8200_DTG2_BP14_LSB			0x65125#define THS8200_DTG2_BP15_LSB			0x66126#define THS8200_DTG2_BP16_LSB			0x67127#define THS8200_DTG2_LINETYPE1			0x68128#define THS8200_DTG2_LINETYPE2			0x69129#define THS8200_DTG2_LINETYPE3			0x6a130#define THS8200_DTG2_LINETYPE4			0x6b131#define THS8200_DTG2_LINETYPE5			0x6c132#define THS8200_DTG2_LINETYPE6			0x6d133#define THS8200_DTG2_LINETYPE7			0x6e134#define THS8200_DTG2_LINETYPE8			0x6f135#define THS8200_DTG2_HLENGTH_LSB		0x70136#define THS8200_DTG2_HLENGTH_LSB_HDLY_MSB	0x71137#define THS8200_DTG2_HLENGTH_HDLY_LSB		0x72138#define THS8200_DTG2_VLENGTH1_LSB		0x73139#define THS8200_DTG2_VLENGTH1_MSB_VDLY1_MSB	0x74140#define THS8200_DTG2_VDLY1_LSB			0x75141#define THS8200_DTG2_VLENGTH2_LSB		0x76142#define THS8200_DTG2_VLENGTH2_MSB_VDLY2_MSB	0x77143#define THS8200_DTG2_VDLY2_LSB			0x78144#define THS8200_DTG2_HS_IN_DLY_MSB		0x79145#define THS8200_DTG2_HS_IN_DLY_LSB		0x7a146#define THS8200_DTG2_VS_IN_DLY_MSB		0x7b147#define THS8200_DTG2_VS_IN_DLY_LSB		0x7c148#define THS8200_DTG2_PIXEL_CNT_MSB		0x7d149#define THS8200_DTG2_PIXEL_CNT_LSB		0x7e150#define THS8200_DTG2_LINE_CNT_MSB		0x7f151#define THS8200_DTG2_LINE_CNT_LSB		0x80152#define THS8200_DTG2_CNTL			0x82153#define THS8200_CGMS_CNTL_HEADER		0x83154#define THS8200_CGMS_PAYLOAD_MSB		0x84155#define THS8200_CGMS_PAYLOAD_LSB		0x85156#define THS8200_MISC_PPL_LSB			0x86157#define THS8200_MISC_PPL_MSB			0x87158#define THS8200_MISC_LPF_MSB			0x88159#define THS8200_MISC_LPF_LSB			0x89160 161#endif /* THS8200_REGS_H */162