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/chips/bt431.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 /* 
    2  * Mach Operating System
    3  * Copyright (c) 1991,1990,1989 Carnegie Mellon University
    4  * All Rights Reserved.
    5  * 
    6  * Permission to use, copy, modify and distribute this software and its
    7  * documentation is hereby granted, provided that both the copyright
    8  * notice and this permission notice appear in all copies of the
    9  * software, derivative works or modified versions, and any portions
   10  * thereof, and that both notices appear in supporting documentation.
   11  * 
   12  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
   13  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
   14  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   15  * 
   16  * Carnegie Mellon requests users of this software to return to
   17  * 
   18  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   19  *  School of Computer Science
   20  *  Carnegie Mellon University
   21  *  Pittsburgh PA 15213-3890
   22  * 
   23  * any improvements or extensions that they make and grant Carnegie Mellon
   24  * the rights to redistribute these changes.
   25  */
   26 /*
   27  * HISTORY
   28  * $Log:        bt431.h,v $
   29  * Revision 2.2  91/08/24  11:50:17  af
   30  *      Created, from Brooktree specs:
   31  *      "Product Databook 1989"
   32  *      "Bt431 Monolithic CMOS 64x64 Pixel Cursor Generator"
   33  *      Brooktree Corp. San Diego, CA
   34  *      LA59001 Rev. J
   35  *      [91/07/25            af]
   36  * 
   37  */
   38 /*
   39  *      File: bt431.h
   40  *      Author: Alessandro Forin, Carnegie Mellon University
   41  *      Date:   8/91
   42  *
   43  *      Defines for the bt431 Cursor chip
   44  */
   45 
   46 
   47 typedef struct {
   48         volatile unsigned char  addr_lo;
   49         volatile unsigned char  addr_hi;
   50         volatile unsigned char  addr_cmap;
   51         volatile unsigned char  addr_reg;
   52 } bt431_regmap_t;
   53 
   54 /*
   55  * Additional registers addressed indirectly
   56  */
   57 
   58 #define BT431_REG_CMD           0x0000
   59 #define BT431_REG_CXLO          0x0001
   60 #define BT431_REG_CXHI          0x0002
   61 #define BT431_REG_CYLO          0x0003
   62 #define BT431_REG_CYHI          0x0004
   63 #define BT431_REG_WXLO          0x0005
   64 #define BT431_REG_WXHI          0x0006
   65 #define BT431_REG_WYLO          0x0007
   66 #define BT431_REG_WYHI          0x0008
   67 #define BT431_REG_WWLO          0x0009
   68 #define BT431_REG_WWHI          0x000a
   69 #define BT431_REG_WHLO          0x000b
   70 #define BT431_REG_WHHI          0x000c
   71 
   72 #define BT431_REG_CRAM_BASE     0x0000
   73 #define BT431_REG_CRAM_END      0x01ff
   74 
   75 /*
   76  * Command register
   77  */
   78 
   79 #define BT431_CMD_CURS_ENABLE   0x40
   80 #define BT431_CMD_XHAIR_ENABLE  0x20
   81 #define BT431_CMD_OR_CURSORS    0x10
   82 #define BT431_CMD_AND_CURSORS   0x00
   83 #define BT431_CMD_1_1_MUX       0x00
   84 #define BT431_CMD_4_1_MUX       0x04
   85 #define BT431_CMD_5_1_MUX       0x08
   86 #define BT431_CMD_xxx_MUX       0x0c
   87 #define BT431_CMD_THICK_1       0x00
   88 #define BT431_CMD_THICK_3       0x01
   89 #define BT431_CMD_THICK_5       0x02
   90 #define BT431_CMD_THICK_7       0x03

Cache object: ca823b5e7160b6933f2305218aa59069


[ 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.