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/i386/isa/ctxreg.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  *
    3  *      Copyright (C) 1994, Paul S. LaFollette, Jr. This software may be used,
    4  *      modified, copied, distributed, and sold, in both source and binary form
    5  *      provided that the above copyright and these terms are retained. Under
    6  *      no circumstances is the author responsible for the proper functioning
    7  *      of this software, nor does the author assume any responsibility
    8  *      for damages incurred with its use
    9  *
   10  * $FreeBSD: releng/5.0/sys/i386/isa/ctxreg.h 50477 1999-08-28 01:08:13Z peter $
   11  */
   12 
   13 /*
   14  *      Register and bit definitions for CORTEX-I frame grabber
   15  */
   16 
   17 #ifndef _I386_ISA_CTXREG_H_
   18 #define _I386_ISA_CTXREG_H_
   19 
   20         /*  Control Ports (all are write-only) */
   21 
   22 #define ctx_cp0 0               /*      offset to control port 0   */
   23 #define ctx_cp1 1               /*      offset to control port 1   */
   24 #define ctx_lutaddr 2           /*      offset to lut address port */
   25 #define ctx_lutdata 3           /*      offset to lut data port    */
   26 
   27         /*  Status port (read-only but same address as control port 0)  */
   28 
   29 #define ctx_status 0            /*      offset to status port      */
   30 
   31         /*  Bit assignments for control port 0 */
   32 
   33 #define PAGE_SELECT0 1          /* These two bits choose which 1/4 of the   */
   34 #define PAGE_SELECT1 2          /* video memory is accessible to us.        */
   35 #define PAGE_ROTATE 4           /* 0 => horizontal access. 1 => vertical    */
   36 #define ACQUIRE 8               /* set to start frame grab                  */
   37 #define SEE_STORED_VIDEO 16     /* set to allow stored frame to be seen     */
   38 #define LOW_RESOLUTION 32       /* set to enable 256 x 256 mode             */
   39 
   40         /*  Bit assignments for control port 1 */
   41 
   42 #define INTERRUPT_ENABLE 1      /* Allow interrupts (we avoid this bit)     */
   43 #define TRIGGER_ENABLE 2        /* Enable external trigger for frame grab   */
   44 #define LUT_LOAD_ENABLE 4       /* Allow loading of lookup table            */
   45 #define BLANK_DISPLAY 8         /* Turn off display                         */
   46 #define AB_SELECT 16            /* Along with HW switch, choose base memory */
   47 #define RAM_ENABLE 32           /* Connect video RAM to computer bus        */
   48 
   49         /*  Bit assignments for status port */
   50 
   51 #define INTERRUPT_STATUS 1      /* Ignored by us                            */
   52 #define ADC_OVERFLOW 2          /* Set if any pixes from camera "too bright"*/
   53 #define FIELD 4                 /* 0 or 1 shows which interlace field are in*/
   54 #define VERTICAL_BLANK 8        /* 1 if in vertical blanking interval       */
   55 #define TRIGGERED 16            /* 1 if HW trigger contacts closed          */
   56 #define ACQUIRING_ACK 32        /* 1 if currently grabbing a frame          */
   57 
   58 
   59 #endif /* ifndef  _I386_ISA_CTXREG_H_ */

Cache object: cfec5e9b72c8a27fa234176e586e957f


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