Lines Matching defs:WD33C93_hostdata
216 struct WD33C93_hostdata { struct
217 struct Scsi_Host *next;
218 wd33c93_regs regs;
219 spinlock_t lock;
220 uchar clock_freq;
221 uchar chip; /* what kind of wd33c93? */
222 uchar microcode; /* microcode rev */
223 uchar dma_buffer_pool; /* FEF: buffer from chip_ram? */
224 int dma_dir; /* data transfer dir. */
225 dma_setup_t dma_setup;
226 dma_stop_t dma_stop;
227 unsigned int dma_xfer_mask;
228 uchar *dma_bounce_buffer;
229 unsigned int dma_bounce_len;
230 volatile uchar busy[8]; /* index = target, bit = lun */
231 volatile struct scsi_cmnd *input_Q; /* commands waiting to be started */
232 volatile struct scsi_cmnd *selecting; /* trying to select this command */
233 volatile struct scsi_cmnd *connected; /* currently connected command */
234 volatile struct scsi_cmnd *disconnected_Q;/* commands waiting for reconnect */
235 uchar state; /* what we are currently doing */
236 uchar dma; /* current state of DMA (on/off) */
237 uchar level2; /* extent to which Level-2 commands are used */
238 uchar disconnect; /* disconnect/reselect policy */
239 unsigned int args; /* set from command-line argument */
240 uchar incoming_msg[8]; /* filled during message_in phase */
241 int incoming_ptr; /* mainly used with EXTENDED messages */
242 uchar outgoing_msg[8]; /* send this during next message_out */
243 int outgoing_len; /* length of outgoing message */
244 unsigned int default_sx_per; /* default transfer period for SCSI bus */
245 uchar sync_xfer[8]; /* sync_xfer reg settings per target */
246 uchar sync_stat[8]; /* status of sync negotiation per target */
247 uchar no_sync; /* bitmask: don't do sync on these targets */
248 uchar no_dma; /* set this flag to disable DMA */
249 uchar dma_mode; /* DMA Burst Mode or Single Byte DMA */
250 uchar fast; /* set this flag to enable Fast SCSI */
251 struct sx_period sx_table[9]; /* transfer periods for actual DTC-setting */
253 uchar proc; /* bitmask: what's in proc output */
255 unsigned long cmd_cnt[8]; /* # of commands issued per target */
256 unsigned long int_cnt; /* # of interrupts serviced */
257 unsigned long pio_cnt; /* # of pio data transfers */
258 unsigned long dma_cnt; /* # of DMA data transfers */
259 unsigned long disc_allowed_cnt[8]; /* # of disconnects allowed per target */
260 unsigned long disc_done_cnt[8]; /* # of disconnects done per target*/