# 2.11BSD#431 - /usr/src/sys/pdpif/if_css.h

##### Macros

    CSS_ATTN          X
    CSS_CLR           X
    CSS_CYCLE         X
    CSS_ERR           X
    CSS_GO            X
    CSS_IE            X
    CSS_INBITS        X
    CSS_MAINT         X
    CSS_NXM           X
    CSS_OUTBITS       X
    CSS_RDY           X
    CSS_XA            X
    IN_EOM            X
    IN_HRDY           X
    IN_IMPNR          X
    IN_RLE            X
    IN_WEN            X
    OUT_ENLB          X
    OUT_TXEC          X
    css_iba           X
    css_icsr          X
    css_iwc           X
    css_oba           X
    css_ocsr          X
    css_owc           X

##### struct's

    cssdevice         X
    cssdma            X

       1: /*
       2:  * Copyright (c) 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:  *	@(#)if_css.h	1.1 (2.10BSD Berkeley) 12/1/86
       7:  */
       8:
       9: /*
      10:  * DEC/CSS IMP11-A ARPAnet interface
      11:  */
      12:
      13: struct cssdma {
      14:     short   wc;     /* word count */
      15:     u_short ba;     /* bus address (low 16 bits) */
      16:     short   csr;        /* status register */
      17:     short   db;     /* data buffer*/
      18: };
      19:
      20: struct cssdevice {
      21:     struct  cssdma  css_output; /* transmit DR11-B */
      22:     struct  cssdma  css_hole;   /* unclever gap */
      23:     struct  cssdma  css_input;  /* receive DR11-B */
      24: };
      25:
      26: #define css_icsr        css_input.csr
      27: #define css_iba         css_input.ba
      28: #define css_iwc         css_input.wc
      29: #define css_ocsr        css_output.csr
      30: #define css_oba         css_output.ba
      31: #define css_owc         css_output.wc
      32:
      33: /*
      34:  * Bits Common to both input and out CSR's
      35:  */
      36: #define CSS_ERR         0x8000          /* error present */
      37: #define CSS_NXM         0x4000          /* non-existant memory */
      38: #define CSS_ATTN    0x2000      /* attention */
      39: #define CSS_MAINT   0x1000      /* maintenance mode */
      40: #define CSS_CYCLE   0x0100      /* force bus cycle */
      41: #define CSS_RDY         0x0080          /* ready */
      42: #define CSS_IE          0x0040          /* interrupt enable */
      43: #define CSS_XA      0x0030      /* extended address bits */
      44: #define CSS_CLR     0x0020      /* clear status (reset) */
      45: #define CSS_GO          0x0001          /* start operation */
      46:
      47: /*
      48:  * Input Control Status Register
      49:  */
      50: #define IN_EOM          0x0800          /* end-of-message recieved */
      51: #define IN_IMPNR    0x0400          /* IMP not ready */
      52: #define IN_RLE          0x0200          /* ready line error */
      53: #define IN_WEN          0x0008          /* write enable */
      54: #define IN_HRDY         0x0004          /* host ready */
      55:
      56: #define CSS_INBITS \
      57: "\20\20ERR\17NXM\16ATTN\15MAINT\14EOM\13IMPNR\12RLE\11CYCLE\10RDY\7IE\6XBA17\5XBA16\4WE\3HRDY\2CLR\1GO"
      58:
      59:
      60: /*
      61:  * Output Control Status Register
      62:  */
      63: #define OUT_TXEC    0x0008          /* tx error clear */
      64: #define OUT_ENLB    0x0004          /* enable last bit */
      65:
      66: #define CSS_OUTBITS \
      67: "\20\20ERR\17NXM\16ATTN\15MAINT\11CYCLE\10RDY\7IE\6XBA17\5XBA16\4TXEC\3ENLB\2CLR\1GO"

#### Defined struct's

cssdevice defined in line 20; used 20 times

- in /usr/src/sys/pdpif/if_css.c line 101(4), 180(2), 203(2), 268(2), 288(2), 304-306(4), 336(2), 344(2)

cssdma defined in line 13; used 6 times

- in line 21-23(6)

#### Defined macros

CSS_ATTN defined in line 38; never used
CSS_CLR defined in line 44; used 4 times

- in /usr/src/sys/pdpif/if_css.c line 108-109(2), 207-208(2)

CSS_CYCLE defined in line 40; never used
CSS_ERR defined in line 36; used 2 times

- in /usr/src/sys/pdpif/if_css.c line 314, 345

CSS_GO defined in line 45; used 4 times

- in /usr/src/sys/pdpif/if_css.c line 117, 249, 292, 398

CSS_IE defined in line 42; used 4 times

- in /usr/src/sys/pdpif/if_css.c line 117, 249, 292, 398

CSS_INBITS defined in line 56; used 2 times

- in /usr/src/sys/pdpif/if_css.c line 318, 347

CSS_MAINT defined in line 39; never used
CSS_NXM defined in line 37; never used
CSS_OUTBITS defined in line 66; used 2 times

- in /usr/src/sys/pdpif/if_css.c line 309, 317

CSS_RDY defined in line 41; never used
CSS_XA defined in line 43; never used
IN_EOM defined in line 50; used 2 times

- in /usr/src/sys/pdpif/if_css.c line 357, 376

IN_HRDY defined in line 54; used 6 times

- in /usr/src/sys/pdpif/if_css.c line 212, 223-225(3), 249, 398

IN_IMPNR defined in line 51; used 2 times

- in /usr/src/sys/pdpif/if_css.c line 223, 350

IN_RLE defined in line 52; never used
IN_WEN defined in line 53; used 2 times

- in /usr/src/sys/pdpif/if_css.c line 249, 398

OUT_ENLB defined in line 64; used 1 times

- in /usr/src/sys/pdpif/if_css.c line 292

OUT_TXEC defined in line 63; never used
css_iba defined in line 27; used 2 times

- in /usr/src/sys/pdpif/if_css.c line 246, 395

css_icsr defined in line 26; used 15 times

- in /usr/src/sys/pdpif/if_css.c line 108-111(2), 207-212(3), 223-225(2), 248, 318, 345-350(3), 357, 376, 397

css_iwc defined in line 28; used 3 times

- in /usr/src/sys/pdpif/if_css.c line 247, 362, 396

css_oba defined in line 30; used 2 times

- in /usr/src/sys/pdpif/if_css.c line 115, 290

css_ocsr defined in line 29; used 10 times

- in /usr/src/sys/pdpif/if_css.c line 109-119(4), 208-211(2), 293, 309-317(3)

css_owc defined in line 31; used 2 times

- in /usr/src/sys/pdpif/if_css.c line 116, 291

#### Usage of this include

if_css.h used 1 times

- in /usr/src/sys/pdpif/if_css.c line 54

Last modified: 1987-01-09 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 542 |