Lines Matching +full:0 +full:- +full:15
1 /* SPDX-License-Identifier: GPL-2.0 */
17 char pad0[15];
19 char pad1[15];
21 char pad2[15];
23 char pad3[15];
25 char pad4[15];
27 char pad5[15];
29 char pad6[15];
31 char pad7[15];
33 char pad8[15];
35 char pad9[15];
37 char pad10[15];
39 char pad11[15];
41 char pad12[15];
43 char pad13[15];
45 char pad14[15];
47 char pad15[15];
61 #define CMD_DMA_MODE 0x80
62 #define CMD_MODE_MASK 0x70
63 #define CMD_MODE_INIT 0x10
64 #define CMD_MODE_TARG 0x20
65 #define CMD_MODE_DISC 0x40
67 #define CMD_NOP 0
72 #define CMD_XFER_DATA 0x10
73 #define CMD_I_COMPLETE 0x11
74 #define CMD_ACCEPT_MSG 0x12
75 #define CMD_XFER_PAD 0x18
76 #define CMD_SET_ATN 0x1a
77 #define CMD_CLR_ATN 0x1b
79 #define CMD_SEND_MSG 0x20
80 #define CMD_SEND_STATUS 0x21
81 #define CMD_SEND_DATA 0x22
82 #define CMD_DISC_SEQ 0x23
83 #define CMD_TERMINATE 0x24
84 #define CMD_T_COMPLETE 0x25
85 #define CMD_DISCONNECT 0x27
86 #define CMD_RECV_MSG 0x28
87 #define CMD_RECV_CDB 0x29
88 #define CMD_RECV_DATA 0x2a
89 #define CMD_RECV_CMD 0x2b
90 #define CMD_ABORT_DMA 0x04
92 #define CMD_RESELECT 0x40
93 #define CMD_SELECT 0x41
94 #define CMD_SELECT_ATN 0x42
95 #define CMD_SELATN_STOP 0x43
96 #define CMD_ENABLE_SEL 0x44
97 #define CMD_DISABLE_SEL 0x45
98 #define CMD_SEL_ATN3 0x46
99 #define CMD_RESEL_ATN3 0x47
104 #define STAT_IRQ 0x80
105 #define STAT_ERROR 0x40
106 #define STAT_PARITY 0x20
107 #define STAT_TC_ZERO 0x10
108 #define STAT_DONE 0x08
109 #define STAT_PHASE 0x07
110 #define STAT_MSG 0x04
111 #define STAT_CD 0x02
112 #define STAT_IO 0x01
117 #define INTR_RESET 0x80 /* SCSI bus was reset */
118 #define INTR_ILL_CMD 0x40 /* illegal command */
119 #define INTR_DISCONNECT 0x20 /* we got disconnected */
120 #define INTR_BUS_SERV 0x10 /* bus service requested */
121 #define INTR_DONE 0x08 /* function completed */
122 #define INTR_RESELECTED 0x04 /* we were reselected */
123 #define INTR_SEL_ATN 0x02 /* we were selected, ATN asserted */
124 #define INTR_SELECT 0x01 /* we were selected, ATN negated */
135 #define SS_ARB_SEL 0 /* Selection & arbitration complete */
144 #define SYNCP_MASK 0x1f
151 #define FLAGS_FIFO_LEV 0x1f
152 #define FLAGS_SEQ_STEP 0xe0
157 #define SYNCO_MASK 0x0f
158 #define SYNCO_ASS_CTRL 0x30 /* REQ/ACK assertion control */
159 #define SYNCO_NEG_CTRL 0xc0 /* REQ/ACK negation control */
164 #define CF1_SLOW_CABLE 0x80 /* Slow cable mode */
165 #define CF1_NO_RES_REP 0x40 /* Disable SCSI reset reports */
166 #define CF1_PAR_TEST 0x20 /* Parity test mode enable */
167 #define CF1_PAR_ENABLE 0x10 /* Enable parity checks */
168 #define CF1_TEST 0x08 /* Chip tests */
169 #define CF1_MY_ID 0x07 /* Controller's address on bus */
182 #define TEST_TRISTATE 4 /* tristate (hi-z) test mode */
187 #define CF2_RFB 0x80
188 #define CF2_FEATURE_EN 0x40 /* enable features / phase latch */
189 #define CF2_BYTECTRL 0x20
190 #define CF2_DREQ_HIZ 0x10
191 #define CF2_SCSI2 0x08
192 #define CF2_PAR_ABORT 0x04 /* bad parity target abort */
193 #define CF2_REG_PARERR 0x02 /* register parity error */
194 #define CF2_DMA_PARERR 0x01 /* DMA parity error */
199 #define CF3_ID_MSG_CHK 0x80
200 #define CF3_3B_MSGS 0x40
201 #define CF3_CDB10 0x20
202 #define CF3_FASTSCSI 0x10 /* enable fast SCSI support */
203 #define CF3_FASTCLOCK 0x08
204 #define CF3_SAVERESID 0x04
205 #define CF3_ALT_DMA 0x02
206 #define CF3_THRESH_8 0x01
211 #define CF4_EAN 0x04
212 #define CF4_TEST 0x02
213 #define CF4_BBTE 0x01