The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/ic/bt459reg.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* $NetBSD: bt459reg.h,v 1.2 1999/12/15 15:09:36 ad Exp $ */
    2 
    3 /* 
    4  * Mach Operating System
    5  * Copyright (c) 1991,1990,1989 Carnegie Mellon University
    6  * All Rights Reserved.
    7  * 
    8  * Permission to use, copy, modify and distribute this software and its
    9  * documentation is hereby granted, provided that both the copyright
   10  * notice and this permission notice appear in all copies of the
   11  * software, derivative works or modified versions, and any portions
   12  * thereof, and that both notices appear in supporting documentation.
   13  * 
   14  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
   15  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
   16  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   17  * 
   18  * Carnegie Mellon requests users of this software to return to
   19  * 
   20  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   21  *  School of Computer Science
   22  *  Carnegie Mellon University
   23  *  Pittsburgh PA 15213-3890
   24  * 
   25  * any improvements or extensions that they make and grant Carnegie Mellon
   26  * the rights to redistribute these changes.
   27  */
   28 
   29 /*
   30  * Register definitions for the Brooktree Bt459 135 MHz Monolithic
   31  * CMOS 256x64 Color Palette RAMDAC.
   32  */
   33 
   34 /*
   35  * Directly-accessible registers.  Note the address register is
   36  * auto-incrementing.
   37  */
   38 #define BT459_REG_ADDR_LOW              0x00    /* C1,C0 == 0,0 */
   39 #define BT459_REG_ADDR_HIGH             0x01    /* C1,C0 == 0,1 */
   40 #define BT459_REG_IREG_DATA             0x02    /* C1,C0 == 1,0 */
   41 #define BT459_REG_CMAP_DATA             0x03    /* C1,C0 == 1,1 */
   42 
   43 #define BT459_REG_MAX                   BT459_REG_CMAP_DATA
   44 
   45 /*
   46  * All internal register access to the Bt459 is done indirectly via the
   47  * Address Register (mapped into the host bus in a device-specific
   48  * fashion).  The following register definitions are in terms of
   49  * their address register address values.
   50  */
   51 
   52                                                 /* 0000-00ff colormap entries */
   53 
   54 #define BT459_IREG_CCOLOR_1             0x0181  /* Cursor color regs */
   55 #define BT459_IREG_CCOLOR_2             0x0182
   56 #define BT459_IREG_CCOLOR_3             0x0183
   57 #define BT459_IREG_ID                   0x0200  /* read-only, gives "4a" */
   58 #define BT459_IREG_COMMAND_0            0x0201
   59 #define BT459_IREG_COMMAND_1            0x0202  
   60 #define BT459_IREG_COMMAND_2            0x0203
   61 #define BT459_IREG_PRM                  0x0204
   62                                                 /* 0205 reserved */
   63 #define BT459_IREG_PBM                  0x0206
   64                                                 /* 0207 reserved */
   65 #define BT459_IREG_ORM                  0x0208
   66 #define BT459_IREG_OBM                  0x0209
   67 #define BT459_IREG_ILV                  0x020a
   68 #define BT459_IREG_TEST                 0x020b
   69 #define BT459_IREG_RSIG                 0x020c
   70 #define BT459_IREG_GSIG                 0x020d
   71 #define BT459_IREG_BSIG                 0x020e
   72                                                 /* 020f-02ff reserved */
   73 #define BT459_IREG_CCR                  0x0300
   74 #define BT459_IREG_CURSOR_X_LOW         0x0301
   75 #define BT459_IREG_CURSOR_X_HIGH        0x0302
   76 #define BT459_IREG_CURSOR_Y_LOW         0x0303
   77 #define BT459_IREG_CURSOR_Y_HIGH        0x0304
   78 #define BT459_IREG_WXLO                 0x0305
   79 #define BT459_IREG_WXHI                 0x0306
   80 #define BT459_IREG_WYLO                 0x0307
   81 #define BT459_IREG_WYHI                 0x0308
   82 #define BT459_IREG_WWLO                 0x0309
   83 #define BT459_IREG_WWHI                 0x030a
   84 #define BT459_IREG_WHLO                 0x030b
   85 #define BT459_IREG_WHHI                 0x030c
   86                                                 /* 030d-03ff reserved */
   87 #define BT459_IREG_CRAM_BASE            0x0400

Cache object: b115d13774f6b01e3a46a4d28e682f78


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.