aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/emgd/emgd/include/general.h
blob: cc2e0106fbb63823e14228c1d79a78356909b63f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/* -*- pse-c -*-
 *-----------------------------------------------------------------------------
 * Filename: general.h
 * $Revision: 1.3 $
 *-----------------------------------------------------------------------------
 * Copyright © 2002-2010, Intel Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
 *
 *-----------------------------------------------------------------------------
 * Description:
 *  This file includes general equates.
 *  Compiler:
 *  This file contains general constants, structures and should be included
 *  in all noninclude files.
 *-----------------------------------------------------------------------------
 */

/*===========================================================================
; General Constants
;--------------------------------------------------------------------------*/

#ifndef _GENERAL_H_
#define _GENERAL_H_

#define BIT0  0x00000001L
#define BIT1  0x00000002L
#define BIT2  0x00000004L
#define BIT3  0x00000008L

#define BIT4  0x00000010L
#define BIT5  0x00000020L
#define BIT6  0x00000040L
#define BIT7  0x00000080L

#define BIT8  0x00000100L
#define BIT9  0x00000200L
#define BIT10 0x00000400L
#define BIT11 0x00000800L

#define BIT12 0x00001000L
#define BIT13 0x00002000L
#define BIT14 0x00004000L
#define BIT15 0x00008000L

#define BIT16 0x00010000L
#define BIT17 0x00020000L
#define BIT18 0x00040000L
#define BIT19 0x00080000L

#define BIT20 0x00100000L
#define BIT21 0x00200000L
#define BIT22 0x00400000L
#define BIT23 0x00800000L

#define BIT24 0x01000000L
#define BIT25 0x02000000L
#define BIT26 0x04000000L
#define BIT27 0x08000000L

#define BIT28 0x10000000L
#define BIT29 0x20000000L
#define BIT30 0x40000000L
#define BIT31 0x80000000L


#endif // _GENERAL_H_

/*----------------------------------------------------------------------------
 * File Revision History
 * $Id: general.h,v 1.3 2010/07/23 16:54:50 bpaauwe Exp $
 * $Source: /nfs/fm/proj/eia/cvsroot/koheo/linux/egd_drm/emgd/include/general.h,v $
 *----------------------------------------------------------------------------
 */