1ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli/* 2ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * Copyright (C) 2006-2010 Texas Instruments Inc 3ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * 4ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * This program is free software; you can redistribute it and/or modify 5ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * it under the terms of the GNU General Public License as published by 6ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * the Free Software Foundation version 2. 7ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * 8ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * This program is distributed in the hope that it will be useful, 9ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * but WITHOUT ANY WARRANTY; without even the implied warranty of 10ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * GNU General Public License for more details. 12ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * 13ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * You should have received a copy of the GNU General Public License 14ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * along with this program; if not, write to the Free Software 15ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli */ 17ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#ifndef _VPBE_OSD_REGS_H 18ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define _VPBE_OSD_REGS_H 19ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 20ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli/* VPBE Global Registers */ 21ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPBE_PID 0x0 22ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPBE_PCR 0x4 23ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 24ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli/* VPSS CLock Registers */ 25ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSCLK_PID 0x00 26ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSCLK_CLKCTRL 0x04 27ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 28ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli/* VPSS Buffer Logic Registers */ 29ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_PID 0x00 30ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_PCR 0x04 31ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_BCR 0x08 32ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT 0x0C 33ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSEL 0x10 34ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_EVTSEL 0x14 35ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_MEMCTRL 0x18 36ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_CCDCMUX 0x1C 37ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 38ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli/* DM365 ISP5 system configuration */ 39ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define ISP5_PID 0x0 40ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define ISP5_PCCR 0x4 41ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define ISP5_BCR 0x8 42ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define ISP5_INTSTAT 0xC 43ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define ISP5_INTSEL1 0x10 44ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define ISP5_INTSEL2 0x14 45ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define ISP5_INTSEL3 0x18 46ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define ISP5_EVTSEL 0x1c 47ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define ISP5_CCDCMUX 0x20 48ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 49ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli/* VPBE On-Screen Display Subsystem Registers (OSD) */ 50ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MODE 0x00 51ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD 0x04 52ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD 0x08 53ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD 0x0C 54ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDATRMD 0x0C 55ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_RECTCUR 0x10 56ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0OFST 0x18 57ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1OFST 0x1C 58ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0OFST 0x20 59ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1OFST 0x24 60ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINADH 0x28 61ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0ADL 0x2C 62ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0ADR 0x2C 63ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1ADL 0x30 64ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1ADR 0x30 65ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWINADH 0x34 66ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0ADL 0x38 67ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0ADR 0x38 68ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1ADL 0x3C 69ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1ADR 0x3C 70ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_BASEPX 0x40 71ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_BASEPY 0x44 72ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0XP 0x48 73ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0YP 0x4C 74ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0XL 0x50 75ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0YL 0x54 76ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1XP 0x58 77ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1YP 0x5C 78ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1XL 0x60 79ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1YL 0x64 80ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0XP 0x68 81ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0YP 0x6C 82ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0XL 0x70 83ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0YL 0x74 84ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1XP 0x78 85ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1YP 0x7C 86ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1XL 0x80 87ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1YL 0x84 88ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CURXP 0x88 89ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CURYP 0x8C 90ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CURXL 0x90 91ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CURYL 0x94 92ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W0BMP01 0xA0 93ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W0BMP23 0xA4 94ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W0BMP45 0xA8 95ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W0BMP67 0xAC 96ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W0BMP89 0xB0 97ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W0BMPAB 0xB4 98ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W0BMPCD 0xB8 99ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W0BMPEF 0xBC 100ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W1BMP01 0xC0 101ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W1BMP23 0xC4 102ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W1BMP45 0xC8 103ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W1BMP67 0xCC 104ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W1BMP89 0xD0 105ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W1BMPAB 0xD4 106ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W1BMPCD 0xD8 107ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_W1BMPEF 0xDC 108ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VBNDRY 0xE0 109ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE 0xE4 110ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL 0xE8 111ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CLUTRAMYCB 0xEC 112ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CLUTRAMCR 0xF0 113ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPVAL 0xF4 114ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPVALL 0xF4 115ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPVALU 0xF8 116ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPBMPIDX 0xFC 117ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_PPVWIN0ADR 0xFC 118ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 119ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli/* bit definitions */ 120ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPBE_PCR_VENC_DIV (1 << 1) 121ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPBE_PCR_CLK_OFF (1 << 0) 122ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 123ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_HSSIINT (1 << 14) 124ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_CFALDINT (1 << 13) 125ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_IPIPE_INT5 (1 << 12) 126ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_IPIPE_INT4 (1 << 11) 127ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_IPIPE_INT3 (1 << 10) 128ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_IPIPE_INT2 (1 << 9) 129ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_IPIPE_INT1 (1 << 8) 130ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_IPIPE_INT0 (1 << 7) 131ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_IPIPEIFINT (1 << 6) 132ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_OSDINT (1 << 5) 133ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_VENCINT (1 << 4) 134ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_H3AINT (1 << 3) 135ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_CCDC_VDINT2 (1 << 2) 136ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_CCDC_VDINT1 (1 << 1) 137ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define VPSSBL_INTSTAT_CCDC_VDINT0 (1 << 0) 138ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 139ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli/* DM365 ISP5 bit definitions */ 140ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define ISP5_INTSTAT_VENCINT (1 << 21) 141ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define ISP5_INTSTAT_OSDINT (1 << 20) 142ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 143ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli/* VMOD TVTYP options for HDMD=0 */ 144ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define SDTV_NTSC 0 145ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define SDTV_PAL 1 146ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli/* VMOD TVTYP options for HDMD=1 */ 147ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define HDTV_525P 0 148ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define HDTV_625P 1 149ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define HDTV_1080I 2 150ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define HDTV_720P 3 151ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 152ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MODE_CS (1 << 15) 153ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MODE_OVRSZ (1 << 14) 154ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MODE_OHRSZ (1 << 13) 155ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MODE_EF (1 << 12) 156ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MODE_VVRSZ (1 << 11) 157ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MODE_VHRSZ (1 << 10) 158ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MODE_FSINV (1 << 9) 159ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MODE_BCLUT (1 << 8) 160ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MODE_CABG_SHIFT 0 161ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MODE_CABG (0xff << 0) 162ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 163ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_VFINV (1 << 15) 164ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_V1EFC (1 << 14) 165ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_VHZ1_SHIFT 12 166ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_VHZ1 (3 << 12) 167ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_VVZ1_SHIFT 10 168ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_VVZ1 (3 << 10) 169ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_VFF1 (1 << 9) 170ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_ACT1 (1 << 8) 171ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_V0EFC (1 << 6) 172ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_VHZ0_SHIFT 4 173ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_VHZ0 (3 << 4) 174ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_VVZ0_SHIFT 2 175ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_VVZ0 (3 << 2) 176ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_VFF0 (1 << 1) 177ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINMD_ACT0 (1 << 0) 178ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 179ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_ATN0E (1 << 14) 180ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_RGB0E (1 << 13) 181ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_BMP0MD_SHIFT 13 182ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_BMP0MD (3 << 13) 183ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_CLUTS0 (1 << 12) 184ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_OHZ0_SHIFT 10 185ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_OHZ0 (3 << 10) 186ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_OVZ0_SHIFT 8 187ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_OVZ0 (3 << 8) 188ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_BMW0_SHIFT 6 189ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_BMW0 (3 << 6) 190ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_BLND0_SHIFT 3 191ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_BLND0 (7 << 3) 192ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_TE0 (1 << 2) 193ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_OFF0 (1 << 1) 194ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0MD_OACT0 (1 << 0) 195ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 196ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_OASW (1 << 15) 197ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_ATN1E (1 << 14) 198ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_RGB1E (1 << 13) 199ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_BMP1MD_SHIFT 13 200ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_BMP1MD (3 << 13) 201ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_CLUTS1 (1 << 12) 202ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_OHZ1_SHIFT 10 203ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_OHZ1 (3 << 10) 204ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_OVZ1_SHIFT 8 205ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_OVZ1 (3 << 8) 206ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_BMW1_SHIFT 6 207ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_BMW1 (3 << 6) 208ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_BLND1_SHIFT 3 209ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_BLND1 (7 << 3) 210ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_TE1 (1 << 2) 211ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_OFF1 (1 << 1) 212ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1MD_OACT1 (1 << 0) 213ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 214ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDATRMD_OASW (1 << 15) 215ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDATRMD_OHZA_SHIFT 10 216ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDATRMD_OHZA (3 << 10) 217ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDATRMD_OVZA_SHIFT 8 218ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDATRMD_OVZA (3 << 8) 219ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDATRMD_BLNKINT_SHIFT 6 220ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDATRMD_BLNKINT (3 << 6) 221ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDATRMD_OFFA (1 << 1) 222ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDATRMD_BLNK (1 << 0) 223ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 224ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_RECTCUR_RCAD_SHIFT 8 225ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_RECTCUR_RCAD (0xff << 8) 226ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_RECTCUR_CLUTSR (1 << 7) 227ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_RECTCUR_RCHW_SHIFT 4 228ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_RECTCUR_RCHW (7 << 4) 229ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_RECTCUR_RCVW_SHIFT 1 230ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_RECTCUR_RCVW (7 << 1) 231ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_RECTCUR_RCACT (1 << 0) 232ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 233ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0OFST_V0LO (0x1ff << 0) 234ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 235ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1OFST_V1LO (0x1ff << 0) 236ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 237ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0OFST_O0LO (0x1ff << 0) 238ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 239ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1OFST_O1LO (0x1ff << 0) 240ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 241ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_WINOFST_AH_SHIFT 9 242ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 243ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0OFST_V0AH (0xf << 9) 244ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1OFST_V1AH (0xf << 9) 245ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0OFST_O0AH (0xf << 9) 246ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1OFST_O1AH (0xf << 9) 247ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 248ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINADH_V1AH_SHIFT 8 249ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINADH_V1AH (0x7f << 8) 250ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINADH_V0AH_SHIFT 0 251ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWINADH_V0AH (0x7f << 0) 252ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 253ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0ADL_V0AL (0xffff << 0) 254ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 255ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1ADL_V1AL (0xffff << 0) 256ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 257ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWINADH_O1AH_SHIFT 8 258ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWINADH_O1AH (0x7f << 8) 259ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWINADH_O0AH_SHIFT 0 260ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWINADH_O0AH (0x7f << 0) 261ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 262ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0ADL_O0AL (0xffff << 0) 263ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 264ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1ADL_O1AL (0xffff << 0) 265ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 266ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_BASEPX_BPX (0x3ff << 0) 267ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 268ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_BASEPY_BPY (0x1ff << 0) 269ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 270ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0XP_V0X (0x7ff << 0) 271ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 272ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0YP_V0Y (0x7ff << 0) 273ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 274ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0XL_V0W (0x7ff << 0) 275ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 276ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN0YL_V0H (0x7ff << 0) 277ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 278ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1XP_V1X (0x7ff << 0) 279ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 280ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1YP_V1Y (0x7ff << 0) 281ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 282ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1XL_V1W (0x7ff << 0) 283ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 284ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_VIDWIN1YL_V1H (0x7ff << 0) 285ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 286ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0XP_W0X (0x7ff << 0) 287ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 288ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0YP_W0Y (0x7ff << 0) 289ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 290ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0XL_W0W (0x7ff << 0) 291ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 292ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN0YL_W0H (0x7ff << 0) 293ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 294ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1XP_W1X (0x7ff << 0) 295ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 296ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1YP_W1Y (0x7ff << 0) 297ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 298ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1XL_W1W (0x7ff << 0) 299ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 300ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_OSDWIN1YL_W1H (0x7ff << 0) 301ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 302ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CURXP_RCSX (0x7ff << 0) 303ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 304ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CURYP_RCSY (0x7ff << 0) 305ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 306ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CURXL_RCSW (0x7ff << 0) 307ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 308ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CURYL_RCSH (0x7ff << 0) 309ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 310ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_EXPMDSEL (1 << 15) 311ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_SCRNHEXP_SHIFT 13 312ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_SCRNHEXP (3 << 13) 313ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_SCRNVEXP (1 << 12) 314ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_OSD1BLDCHR (1 << 11) 315ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_OSD0BLDCHR (1 << 10) 316ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_ATNOSD1EN (1 << 9) 317ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_ATNOSD0EN (1 << 8) 318ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_OSDHRSZ15 (1 << 7) 319ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_VIDHRSZ15 (1 << 6) 320ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_ZMFILV1HEN (1 << 5) 321ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_ZMFILV1VEN (1 << 4) 322ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_ZMFILV0HEN (1 << 3) 323ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_ZMFILV0VEN (1 << 2) 324ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_EXPFILHEN (1 << 1) 325ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_EXTMODE_EXPFILVEN (1 << 0) 326ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 327ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_BLDSEL (1 << 15) 328ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_S420D (1 << 14) 329ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_BMAPT (1 << 13) 330ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_DM365M (1 << 12) 331ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_RGBEN (1 << 7) 332ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_RGBWIN (1 << 6) 333ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_DMANG (1 << 6) 334ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_TMON (1 << 5) 335ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_RSEL (1 << 4) 336ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_CPBSY (1 << 3) 337ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_PPSW (1 << 2) 338ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_MISCCTL_PPRV (1 << 1) 339ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 340ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CLUTRAMYCB_Y_SHIFT 8 341ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CLUTRAMYCB_Y (0xff << 8) 342ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CLUTRAMYCB_CB_SHIFT 0 343ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CLUTRAMYCB_CB (0xff << 0) 344ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 345ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CLUTRAMCR_CR_SHIFT 8 346ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CLUTRAMCR_CR (0xff << 8) 347ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CLUTRAMCR_CADDR_SHIFT 0 348ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_CLUTRAMCR_CADDR (0xff << 0) 349ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 350ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPVAL_RGBTRANS (0xffff << 0) 351ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 352ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPVALL_RGBL (0xffff << 0) 353ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 354ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPVALU_Y_SHIFT 8 355ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPVALU_Y (0xff << 8) 356ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPVALU_RGBU_SHIFT 0 357ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPVALU_RGBU (0xff << 0) 358ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 359ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPBMPIDX_BMP1_SHIFT 8 360ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPBMPIDX_BMP1 (0xff << 8) 361ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPBMPIDX_BMP0_SHIFT 0 362ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#define OSD_TRANSPBMPIDX_BMP0 0xff 363ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli 364ff0f23dd0edf4a5bd5fa3ee0eda71d8a1c8201d4Manjunath Hadli#endif /* _DAVINCI_VPBE_H_ */ 365