linux/include/video/cirrus.h

/*
 * drivers/video/clgenfb.h - Cirrus Logic chipset constants
 *
 * Copyright 1999 Jeff Garzik <[email protected]>
 *
 * Original clgenfb author:  Frank Neumann
 *
 * Based on retz3fb.c and clgen.c:
 *      Copyright (C) 1997 Jes Sorensen
 *      Copyright (C) 1996 Frank Neumann
 *
 ***************************************************************
 *
 * Format this code with GNU indent '-kr -i8 -pcs' options.
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file COPYING in the main directory of this archive
 * for more details.
 *
 */

#ifndef __CLGENFB_H__
#define __CLGENFB_H__

/* OLD COMMENT: definitions for Piccolo/SD64 VGA controller chip   */
/* OLD COMMENT: these definitions might most of the time also work */
/* OLD COMMENT: for other CL-GD542x/543x based boards..            */

/*** External/General Registers ***/
#define CL_POS102
#define CL_VSSM
#define CL_VSSM2

/*** VGA Sequencer Registers ***/
/* the following are from the "extension registers" group */
#define CL_SEQR6
#define CL_SEQR7
#define CL_SEQR8
#define CL_SEQR9
#define CL_SEQRA
#define CL_SEQRB
#define CL_SEQRC
#define CL_SEQRD
#define CL_SEQRE
#define CL_SEQRF
#define CL_SEQR10
#define CL_SEQR11
#define CL_SEQR12
#define CL_SEQR13
#define CL_SEQR14
#define CL_SEQR15
#define CL_SEQR16
#define CL_SEQR17
#define CL_SEQR18
#define CL_SEQR19
#define CL_SEQR1A
#define CL_SEQR1B
#define CL_SEQR1C
#define CL_SEQR1D
#define CL_SEQR1E
#define CL_SEQR1F

/*** CRT Controller Registers ***/
#define CL_CRT22
#define CL_CRT24
#define CL_CRT26
/* the following are from the "extension registers" group */
#define CL_CRT19
#define CL_CRT1A
#define CL_CRT1B
#define CL_CRT1C
#define CL_CRT1D
#define CL_CRT1E
#define CL_CRT25
#define CL_CRT27
#define CL_CRT51

/*** Graphics Controller Registers ***/
/* the following are from the "extension registers" group */
#define CL_GR9
#define CL_GRA
#define CL_GRB
#define CL_GRC
#define CL_GRD
#define CL_GRE
#define CL_GRF
#define CL_GR10
#define CL_GR11
#define CL_GR12
#define CL_GR13
#define CL_GR14
#define CL_GR15
/* the following are CL-GD5426/'28 specific blitter registers */
#define CL_GR20
#define CL_GR21
#define CL_GR22
#define CL_GR23
#define CL_GR24
#define CL_GR25
#define CL_GR26
#define CL_GR27
#define CL_GR28
#define CL_GR29
#define CL_GR2A
#define CL_GR2C
#define CL_GR2D
#define CL_GR2E
#define CL_GR2F
#define CL_GR30
#define CL_GR31
#define CL_GR32
#define CL_GR33
#define CL_GR34
#define CL_GR35
#define CL_GR38
#define CL_GR39

/*** Attribute Controller Registers ***/
#define CL_AR33
#define CL_AR34

#endif /* __CLGENFB_H__ */