1: /*
   2:  * Copyright (c) 1982, 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)ikreg.h	7.1 (Berkeley) 6/5/86
   7:  */
   8: 
   9: struct ikdevice {
  10:     short   ik_wc;          /* Unibus word count reg */
  11:     u_short ik_ubaddr;      /* Unibus address register */
  12:     u_short ik_ustat;       /* Unibus status/command reg */
  13:     u_short ik_data;        /* Data register */
  14:     u_short ik_xaddr;       /* X address in frame buffer */
  15:     u_short ik_yaddr;       /* Y address in frame buffer */
  16:     u_short ik_istat;       /* Ikonas status/command reg */
  17:     u_short ik_chan;        /* Channel control register */
  18: };
  19: 
  20: #define IK_GETADDR  IKIOGETADDR
  21: #define IK_WAITINT  IKIOWAITINT
  22: #define IKIOGETADDR _IOR(i, 0, caddr_t) /* get Unibus device address */
  23: #define IKIOWAITINT _IO(i, 1)       /* await device interrupt */
  24: 
  25: /*
  26:  * Unibus status/command register bits
  27:  */
  28: 
  29: #define IK_GO       01
  30: #define IK_IENABLE  0100
  31: #define IK_READY    0200
  32: #define IK_IKONAS_INTR  0100000
  33: 
  34: /*
  35:  * Ikonas status/command register bits
  36:  */
  37: 
  38: #define WORD32      0
  39: #define RES512      2
  40: #define RES1024     3
  41: #define READ_SELECT 0
  42: #define WRITE_MASK  010
  43: #define WRITE_SELECT    020
  44: #define HALFWORD    040
  45: #define DMAENABLE   0100
  46: #define INVISIBLE_IO    0200
  47: #define AUTOINCREMENT   0400
  48: #define RUN_PROCESSOR   01000
  49: #define CLEAR       02000
  50: #define BYTE_MODE   04000
  51: #define FRAME_ENABLE    010000
  52: #define PROC_ENABLE 020000
  53: #define RED_SELECT  0
  54: #define GREEN_SELECT    040000
  55: #define BLUE_SELECT 0100000
  56: #define ALPHA_SELECT    0140000
  57: 
  58: /*
  59:  * Frame buffer controller
  60:  */
  61: 
  62: #define FBC0        060000000
  63: #define FBC1        062000000
  64: 
  65: #define VIEWPORT_LOC    0
  66: #define VIEWPORT_SIZE   1
  67: #define WINDOW_LOC  2
  68: #define ZOOM        3
  69: #define DISPLAY_RATE    4
  70: #define VIDEO_CONTROL   5
  71: #define     FORMAT_CONTROL_MASK 03
  72: #define     CURSOR_ON       04
  73: #define     LOW_RESOL       0
  74: #define     HIGH_RESOL      010
  75: #define     AUTO_CLEAR      040
  76: #define     EXT_SYNC        0100
  77: #define     COLOR_MAP_PAGES     0600
  78: #define     HIGH_RESOL_SYNC     01000
  79: #define     REPEAT_FIELD        02000
  80: #define     PIXEL_CLOCK_RATE_MASK   077
  81: #define CURSOR_LOC  6
  82: #define CURSOR_SHADE    7
  83: 
  84: #define CURSOR_MAP  0400
  85: 
  86: /*
  87:  * Color map lookup table
  88:  */
  89: 
  90: #define CMAP0       040600000
  91: #define CMAP1       040610000
  92: 
  93: #define CHAN_SELECT 02000
  94: 
  95: /*
  96:  * Frame buffer memories
  97:  */
  98: 
  99: #define MEM0        000000000
 100: #define MEM1        004000000
 101: 
 102: /*
 103:  * Bit-slice processor
 104:  */
 105: 
 106: #define UMEM        040000000
 107: #define SCRPAD      040400000
 108: #define PROC        041200000
 109: 
 110: /*
 111:  * Frame grabber
 112:  */
 113: 
 114: #define FMG0        060200000

Defined struct's

ikdevice defined in line 9; used 14 times

Defined macros

ALPHA_SELECT defined in line 56; never used
AUTOINCREMENT defined in line 47; never used
AUTO_CLEAR defined in line 75; never used
BLUE_SELECT defined in line 55; never used
BYTE_MODE defined in line 50; never used
CHAN_SELECT defined in line 93; never used
CLEAR defined in line 49; never used
CMAP0 defined in line 90; never used
CMAP1 defined in line 91; never used
COLOR_MAP_PAGES defined in line 77; never used
CURSOR_LOC defined in line 81; never used
CURSOR_MAP defined in line 84; never used
CURSOR_ON defined in line 72; never used
CURSOR_SHADE defined in line 82; never used
DISPLAY_RATE defined in line 69; never used
DMAENABLE defined in line 45; used 1 times
EXT_SYNC defined in line 76; never used
FBC0 defined in line 62; never used
FBC1 defined in line 63; never used
FMG0 defined in line 114; never used
FORMAT_CONTROL_MASK defined in line 71; never used
FRAME_ENABLE defined in line 51; never used
GREEN_SELECT defined in line 54; never used
HALFWORD defined in line 44; never used
HIGH_RESOL defined in line 74; never used
HIGH_RESOL_SYNC defined in line 78; never used
IKIOGETADDR defined in line 22; used 1 times
  • in line 20
IKIOWAITINT defined in line 23; used 1 times
  • in line 21
IK_GETADDR defined in line 20; never used
IK_GO defined in line 29; used 2 times
IK_IENABLE defined in line 30; used 2 times
IK_IKONAS_INTR defined in line 32; never used
IK_READY defined in line 31; never used
IK_WAITINT defined in line 21; never used
INVISIBLE_IO defined in line 46; never used
LOW_RESOL defined in line 73; never used
MEM0 defined in line 99; never used
MEM1 defined in line 100; never used
PIXEL_CLOCK_RATE_MASK defined in line 80; never used
PROC defined in line 108; never used
PROC_ENABLE defined in line 52; never used
READ_SELECT defined in line 41; never used
RED_SELECT defined in line 53; never used
REPEAT_FIELD defined in line 79; never used
RES1024 defined in line 40; never used
RES512 defined in line 39; never used
RUN_PROCESSOR defined in line 48; never used
SCRPAD defined in line 107; never used
UMEM defined in line 106; never used
VIDEO_CONTROL defined in line 70; never used
VIEWPORT_LOC defined in line 65; never used
VIEWPORT_SIZE defined in line 66; never used
WINDOW_LOC defined in line 67; never used
WORD32 defined in line 38; never used
WRITE_MASK defined in line 42; never used
WRITE_SELECT defined in line 43; never used
ZOOM defined in line 68; never used

Usage of this include

ikreg.h used 1 times
Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 942
Valid CSS Valid XHTML 1.0 Strict