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

##### Macros

    IN_CHECK          X
    IN_HNRDY          X
    IN_INRDY          X
    IN_LAST           X
    OUT_HNRDY         X
    OUT_HRDY          X
    OUT_LAST          X
    SRI_BITS          X
    SRI_IENB          X
    SRI_IINT          X
    SRI_INBITS        X
    SRI_IREQ          X
    SRI_OENB          X
    SRI_OINT          X
    SRI_OREQ          X

##### struct's

    sridevice         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_sri.h	1.1 (2.10BSD Berkeley) 12/1/86
       7:  */
       8:
       9: /*
      10:  * SRI dr11c interface
      11:  */
      12:
      13: struct sridevice {
      14:     u_short csr;            /* control/status */
      15:     u_short obf;            /* out buffer */
      16:     u_short ibf;            /* in buffer */
      17: };
      18:
      19: /*
      20:  * control and status register.
      21:  */
      22: #define SRI_IREQ        0x8000          /* input request or error */
      23: #define SRI_OREQ        0x0080          /* output request */
      24: #define SRI_OINT        0x0040          /* output intr enable */
      25: #define SRI_IINT        0x0020          /* input intr enable */
      26: #define SRI_IENB        0x0002          /* input enable */
      27: #define SRI_OENB        0x0001          /* output enable */
      28:
      29: /*
      30:  * input buffer register.
      31:  */
      32: #define IN_CHECK        0x8000          /* check input or error */
      33: #define IN_HNRDY        0x2000          /* host not ready */
      34: #define IN_INRDY        0x1000          /* imp not ready */
      35: #define IN_LAST         0x0800          /* last bit */
      36:
      37: /*
      38:  * output buffer register.
      39:  */
      40: #define OUT_LAST        IN_LAST         /* last bit */
      41: #define OUT_HNRDY       IN_HNRDY        /* host not ready */
      42: #define OUT_HRDY        0x1000          /* host ready */
      43:
      44:
      45: #define SRI_INBITS \
      46: "\20\20CHECK\16HNRDY\15INRDY\14LAST"
      47:
      48: #define SRI_BITS \
      49: "\20\20IREQ\10OREQ\7OINT\6IINT\2IENB\1OENB"

#### Defined struct's

sridevice defined in line 13; used 20 times

- in /usr/src/sys/pdpif/if_sri.c line 62(2), 89(4), 139(2), 172(2), 193(2), 247(2), 267(2), 283(2), 330(2)

#### Defined macros

IN_CHECK defined in line 32; used 1 times

- in /usr/src/sys/pdpif/if_sri.c line 338

IN_HNRDY defined in line 33; used 1 times

- in line 41

IN_INRDY defined in line 34; used 3 times

- in /usr/src/sys/pdpif/if_sri.c line 210, 358, 364

IN_LAST defined in line 35; used 4 times

- in line 40
- in /usr/src/sys/pdpif/if_sri.c line 358, 380, 399

OUT_HNRDY defined in line 41; used 1 times

- in /usr/src/sys/pdpif/if_sri.c line 103

OUT_HRDY defined in line 42; used 2 times

- in /usr/src/sys/pdpif/if_sri.c line 97, 204

OUT_LAST defined in line 40; used 2 times

- in /usr/src/sys/pdpif/if_sri.c line 100, 270

SRI_BITS defined in line 48; used 1 times

- in /usr/src/sys/pdpif/if_sri.c line 309

SRI_IENB defined in line 26; used 5 times

- in /usr/src/sys/pdpif/if_sri.c line 106, 231, 336, 348, 420

SRI_IINT defined in line 25; used 4 times

- in /usr/src/sys/pdpif/if_sri.c line 106, 231, 362, 420

SRI_INBITS defined in line 45; used 1 times

- in /usr/src/sys/pdpif/if_sri.c line 366

SRI_IREQ defined in line 22; used 1 times

- in /usr/src/sys/pdpif/if_sri.c line 352

SRI_OENB defined in line 27; used 2 times

- in /usr/src/sys/pdpif/if_sri.c line 99, 272

SRI_OINT defined in line 24; used 3 times

- in /usr/src/sys/pdpif/if_sri.c line 99, 272, 299

SRI_OREQ defined in line 23; used 1 times

- in /usr/src/sys/pdpif/if_sri.c line 295

#### Usage of this include

if_sri.h used 1 times

- in /usr/src/sys/pdpif/if_sri.c line 27

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