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