summaryrefslogtreecommitdiff
path: root/src/i810_reg.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-02-27 13:08:46 -0800
committerEric Anholt <anholt@leguin.anholt.net>2006-04-06 15:52:34 -0700
commit767944e3782f9941e9fc72a6705cc3115a6e24ac (patch)
treee9cc738be9029325c3a086624be748d6b2a98dbf /src/i810_reg.h
parent4955cd267e7f8ed70e90b2a3de6f93de2ef859c8 (diff)
Replace a few magic numbers with symbolic names. Reviewed by md5.
Diffstat (limited to 'src/i810_reg.h')
-rw-r--r--src/i810_reg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h
index 8afe855d..7af23e73 100644
--- a/src/i810_reg.h
+++ b/src/i810_reg.h
@@ -658,6 +658,12 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define PIPEBSRC 0x6101c
#define BCLRPAT_B 0x61020
+#define PP_STATUS 0x61200
+# define PP_ON (1 << 31)
+
+#define PP_CONTROL 0x61204
+# define POWER_TARGET_ON (1 << 0)
+
#define DPLL_A 0x06014
#define DPLL_B 0x06018
# define DPLL_VCO_ENABLE (1 << 31)
@@ -736,6 +742,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define DVOC_SRCDIM 0x61164
#define LVDS 0x61180
+# define LVDS_PORT_EN (1 << 31)
#define PIPEACONF 0x70008
#define PIPEACONF_ENABLE (1<<31)