Lines Matching refs:BIT
30 #define BIT(x) (1L << (x)) macro
45 # define IRQCONTROL_RESELECT_CLEAR BIT(0)
46 # define IRQCONTROL_PHASE_CHANGE_CLEAR BIT(1)
47 # define IRQCONTROL_TIMER_CLEAR BIT(2)
48 # define IRQCONTROL_FIFO_CLEAR BIT(3)
49 # define IRQCONTROL_SCSI_IRQ_MASK BIT(4)
50 # define IRQCONTROL_EXT_IRQ_MASK BIT(5)
51 # define IRQCONTROL_TIMER_IRQ_MASK BIT(6)
52 # define IRQCONTROL_FIFO_IRQ_MASK BIT(7)
65 # define IRQSTATUS_SCSI BIT(0)
66 # define IRQSTATUS_TIMER BIT(2)
67 # define IRQSTATUS_FIFO BIT(3)
71 # define IF_IFSEL BIT(0)
72 # define IF_REGSEL BIT(2)
77 # define FIFOSTATUS_FULL_EMPTY BIT(7)
94 # define FAST_20 BIT(2)
97 # define POWER_ON BIT(0)
100 # define SCSI_PHASE_CHANGE_EI BIT(0)
101 # define RESELECT_EI BIT(4)
102 # define FIFO_IRQ_EI BIT(5)
103 # define SCSI_RESET_IRQ_EI BIT(6)
106 # define LATCHED_MSG BIT(0)
107 # define LATCHED_IO BIT(1)
108 # define LATCHED_CD BIT(2)
109 # define LATCHED_BUS_FREE BIT(3)
110 # define PHASE_CHANGE_IRQ BIT(4)
111 # define RESELECT_IRQ BIT(5)
112 # define FIFO_IRQ BIT(6)
113 # define SCSI_RESET_IRQ BIT(7)
118 # define SCSI_SEL BIT(0)
119 # define SCSI_RST BIT(1)
120 # define SCSI_DATAOUT_ENB BIT(2)
121 # define SCSI_ATN BIT(3)
122 # define SCSI_ACK BIT(4)
123 # define SCSI_BSY BIT(5)
124 # define AUTODIRECTION BIT(6)
125 # define ACKENB BIT(7)
130 # define ARBIT_GO BIT(0)
131 # define ARBIT_FLAG_CLEAR BIT(1)
135 # define ARBIT_WIN BIT(1)
136 # define ARBIT_FAIL BIT(2)
137 # define RESELECT_FLAG BIT(3)
143 # define CLEAR_COMMAND_POINTER BIT(0)
144 # define AUTO_COMMAND_GO BIT(1)
150 # define POINTER_CLEAR BIT(0)
151 # define ACK_COUNTER_CLEAR BIT(1)
152 # define REQ_COUNTER_CLEAR BIT(2)
153 # define HOST_COUNTER_CLEAR BIT(3)
154 # define READ_SOURCE (BIT(4) | BIT(5))
156 # define REQ_COUNTER (BIT(4))
157 # define HOST_COUNTER (BIT(5))
162 # define MODE_MEM8 BIT(0)
163 # define MODE_MEM32 BIT(1)
164 # define MODE_ADR24 BIT(2)
165 # define MODE_ADR32 BIT(3)
166 # define MODE_IO8 BIT(4)
167 # define MODE_IO32 BIT(5)
168 # define TRANSFER_GO BIT(6)
169 # define BRAIND BIT(7)
184 # define TPL_ROM_WRITE_EN BIT(0)
185 # define TPWR_OUT BIT(1)
186 # define TPWR_SENSE BIT(2)
187 # define RA8_CONTROL BIT(3)
199 #define S_MESSAGE BIT(0) /* Message line from SCSI bus */
200 #define S_IO BIT(1) /* Input/Output line from SCSI bus */
201 #define S_CD BIT(2) /* Command/Data line from SCSI bus */
202 #define S_BUSY BIT(3) /* Busy line from SCSI bus */
203 #define S_ACK BIT(4) /* Acknowlege line from SCSI bus */
204 #define S_REQUEST BIT(5) /* Request line from SCSI bus */
205 #define S_SELECT BIT(6) /* */
206 #define S_ATN BIT(7) /* */