# 2.11BSD#431 - /usr/src/sys/pdpuba/dzreg.h

##### Macros

    BITS7             X
    BITS8             X
    DML_CAR           X
    DML_CTS           X
    DML_DSR           X
    DML_DTR           X
    DML_LE            X
    DML_RNG           X
    DML_RTS           X
    DML_SR            X
    DML_ST            X
    DZ_32             X
    DZ_ACK            X
    DZ_BRK            X
    DZ_CD             X
    DZ_CLR            X
    DZ_CTS            X
    DZ_DO             X
    DZ_DSR            X
    DZ_DTR            X
    DZ_FE             X
    DZ_IEN            X
    DZ_LE             X
    DZ_MIE            X
    DZ_MSC            X
    DZ_MSE            X
    DZ_OFF            X
    DZ_ON             X
    DZ_PE             X
    DZ_RI             X
    DZ_RIE            X
    DZ_RTS            X
    DZ_SAE            X
    DZ_SR             X
    DZ_ST             X
    DZ_TIE            X
    OPAR              X
    PENABLE           X
    TWOSB             X
    dzbrk             X
    dzdtr             X
    dzlcs             X
    dzlnen            X
    dzlpr             X
    dzmsr             X
    dzmtsr            X
    dztbuf            X
    dztcr             X

##### struct's

    dzdevice          X

       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:  *	@(#)dzreg.h	7.1 (Berkeley) 6/5/86
       7:  */
       8:
       9: /*
      10:  * DZ-11/DZ-32 Registers and bits.
      11:  */
      12: struct dzdevice {
      13:     short dzcsr;
      14:     short dzrbuf;
      15:     union {
      16:         struct {
      17:             char    dztcr0;
      18:             char    dzdtr0;
      19:             char    dztbuf0;
      20:             char    dzbrk0;
      21:         } dz11;
      22:         struct {
      23:             short   dzlcs0;
      24:             char    dztbuf0;
      25:             char    dzlnen0;
      26:         } dz32;
      27:     } dzun;
      28: };
      29:
      30: #define dzlpr   dzrbuf
      31: #define dzmsr   dzun.dz11.dzbrk0
      32: #define dztcr   dzun.dz11.dztcr0
      33: #define dzdtr   dzun.dz11.dzdtr0
      34: #define dztbuf  dzun.dz11.dztbuf0
      35: #define dzlcs   dzun.dz32.dzlcs0
      36: #define dzbrk   dzmsr
      37: #define dzlnen  dzun.dz32.dzlnen0
      38: #define dzmtsr  dzun.dz32.dztbuf0
      39:
      40: /* bits in dzlpr */
      41: #define BITS7   0020
      42: #define BITS8   0030
      43: #define TWOSB   0040
      44: #define PENABLE 0100
      45: #define OPAR    0200
      46:
      47: /* bits in dzrbuf */
      48: #define DZ_PE   010000
      49: #define DZ_FE   020000
      50: #define DZ_DO   040000
      51:
      52: /* bits in dzcsr */
      53: #define DZ_32   000001      /* DZ32 mode */
      54: #define DZ_MIE  000002      /* Modem Interrupt Enable */
      55: #define DZ_CLR  000020      /* Reset dz */
      56: #define DZ_MSE  000040      /* Master Scan Enable */
      57: #define DZ_RIE  000100      /* Receiver Interrupt Enable */
      58: #define DZ_MSC  004000      /* Modem Status Change */
      59: #define DZ_SAE  010000      /* Silo Alarm Enable */
      60: #define DZ_TIE  040000      /* Transmit Interrupt Enable */
      61: #define DZ_IEN  (DZ_32|DZ_MIE|DZ_MSE|DZ_RIE|DZ_TIE)
      62:
      63: /* flags for modem-control */
      64: #define DZ_ON   DZ_DTR
      65: #define DZ_OFF  0
      66:
      67: /* bits in dzlcs */
      68: #define DZ_ACK  0100000     /* ACK bit in dzlcs */
      69: #define DZ_RTS  0010000     /* Request To Send */
      70: #define DZ_ST   0004000     /* Secondary Transmit */
      71: #define DZ_BRK  0002000     /* Break */
      72: #define DZ_DTR  0001000     /* Data Terminal Ready */
      73: #define DZ_LE   0000400     /* Line Enable */
      74: #define DZ_DSR  0000200     /* Data Set Ready */
      75: #define DZ_RI   0000100     /* Ring Indicate */
      76: #define DZ_CD   0000040     /* Carrier Detect */
      77: #define DZ_CTS  0000020     /* Clear To Send */
      78: #define DZ_SR   0000010     /* Secondary Receive */
      79:
      80: /* bits in dm lsr, copied from dmreg.h */
      81: #define DML_DSR     0000400     /* data set ready, not a real DM bit */
      82: #define DML_RNG     0000200     /* ring */
      83: #define DML_CAR     0000100     /* carrier detect */
      84: #define DML_CTS     0000040     /* clear to send */
      85: #define DML_SR      0000020     /* secondary receive */
      86: #define DML_ST      0000010     /* secondary transmit */
      87: #define DML_RTS     0000004     /* request to send */
      88: #define DML_DTR     0000002     /* data terminal ready */
      89: #define DML_LE      0000001     /* line enable */

#### Defined struct's

dzdevice defined in line 12; used 18 times

- in /usr/src/sys/autoconfig/dzauto.c line 16(2)
- in /usr/src/sys/pdpuba/dz.c line 104(2), 172(2), 214(2), 272(2), 360(2), 411(2), 477(2), 517(2)

#### Defined macros

BITS7 defined in line 41; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 378

BITS8 defined in line 42; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 376

DML_CAR defined in line 83; never used
DML_CTS defined in line 84; never used
DML_DSR defined in line 81; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 349

DML_DTR defined in line 88; used 2 times

- in /usr/src/sys/pdpuba/dz.c line 337, 350

DML_LE defined in line 89; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 338

DML_RNG defined in line 82; never used
DML_RTS defined in line 87; used 2 times

- in /usr/src/sys/pdpuba/dz.c line 336, 352

DML_SR defined in line 85; never used
DML_ST defined in line 86; used 2 times

- in /usr/src/sys/pdpuba/dz.c line 335, 351

DZ_32 defined in line 53; used 2 times

- in line 61
- in /usr/src/sys/pdpuba/dz.c line 533

DZ_ACK defined in line 68; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 49

DZ_BRK defined in line 71; never used
DZ_CD defined in line 76; used 2 times

- in /usr/src/sys/pdpuba/dz.c line 486, 536

DZ_CLR defined in line 55; used 1 times

- in /usr/src/sys/autoconfig/dzauto.c line 23

DZ_CTS defined in line 77; never used
DZ_DO defined in line 50; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 245

DZ_DSR defined in line 74; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 349

DZ_DTR defined in line 72; used 7 times

- in line 64
- in /usr/src/sys/pdpuba/dz.c line 299-303(2), 337, 350, 485, 505

DZ_FE defined in line 49; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 236

DZ_IEN defined in line 61; used 4 times

- in /usr/src/sys/pdpuba/dz.c line 366-368(2), 550-554(2)

DZ_LE defined in line 73; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 338

DZ_MIE defined in line 54; used 1 times

- in line 61

DZ_MSC defined in line 58; never used
DZ_MSE defined in line 56; used 2 times

- in line 61
- in /usr/src/sys/autoconfig/dzauto.c line 19

DZ_OFF defined in line 65; used 2 times

- in /usr/src/sys/pdpuba/dz.c line 182, 371

DZ_ON defined in line 64; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 147

DZ_PE defined in line 48; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 249

DZ_RI defined in line 75; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 487

DZ_RIE defined in line 57; used 1 times

- in line 61

DZ_RTS defined in line 69; used 4 times

- in /usr/src/sys/pdpuba/dz.c line 299-303(2), 336, 352

DZ_SAE defined in line 59; used 2 times

- in /usr/src/sys/pdpuba/dz.c line 366, 550

DZ_SR defined in line 78; never used
DZ_ST defined in line 70; used 2 times

- in /usr/src/sys/pdpuba/dz.c line 335, 351

DZ_TIE defined in line 60; used 2 times

- in line 61
- in /usr/src/sys/autoconfig/dzauto.c line 19

OPAR defined in line 45; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 380

PENABLE defined in line 44; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 378

TWOSB defined in line 43; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 382

dzbrk defined in line 36; used 3 times

- in /usr/src/sys/pdpuba/dz.c line 180, 290-295(2)

dzdtr defined in line 33; used 4 times

- in /usr/src/sys/pdpuba/dz.c line 485, 506-508(2), 545

dzlcs defined in line 35; used 3 times

- in /usr/src/sys/pdpuba/dz.c line 49, 534-536(2)

dzlnen defined in line 37; never used
dzlpr defined in line 30; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 383

dzmsr defined in line 31; used 3 times

- in line 36
- in /usr/src/sys/pdpuba/dz.c line 486, 538

dzmtsr defined in line 38; never used
dztbuf defined in line 34; used 1 times

- in /usr/src/sys/pdpuba/dz.c line 487

dztcr defined in line 32; used 3 times

- in /usr/src/sys/autoconfig/dzauto.c line 20
- in /usr/src/sys/pdpuba/dz.c line 404, 447

#### Usage of this include

dzreg.h used 2 times

- in /usr/src/sys/autoconfig/dzauto.c line 13
- in /usr/src/sys/pdpuba/dz.c line 23

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