Lines Matching defs:NCR_ESP

287 struct NCR_ESP {  struct
288 struct NCR_ESP *next; /* Next ESP on probed or NULL */ argument
289 struct ESP_regs *eregs; /* All esp registers */
290 int dma; /* Who I do transfers with. */
291 void *dregs; /* And his registers. */
292 struct Scsi_Host *ehost; /* Backpointer to SCSI Host */
294 void *edev; /* Pointer to controller base/SBus */
295 int esp_id; /* Unique per-ESP ID number */
298 unsigned char config1; /* Copy of the 1st config register */
299 unsigned char config2; /* Copy of the 2nd config register */
300 unsigned char config3[16]; /* Copy of the 3rd config register */
311 volatile unchar *esp_command; /* Location of command (CPU view) */
312 __u32 esp_command_dvma; /* Location of command (DVMA view) */
313 unsigned char esp_clen; /* Length of this command */
314 unsigned char esp_slowcmd;
315 unsigned char *esp_scmdp;
316 unsigned char esp_scmdleft;
321 unchar ireg; /* Copy of ESP interrupt register */
322 unchar sreg; /* Same for ESP status register */
323 unchar seqreg; /* The ESP sequence register */
328 unchar fas_premature_intr_workaround;
335 unchar prev_soff, prev_stp, prev_cfg3;
341 struct esp_pointers {
346 } data_pointers[16] /*XXX [MAX_TAGS_PER_TARGET]*/;
349 unsigned int cfreq; /* Clock frequency in HZ */
350 unsigned int cfact; /* Clock conversion factor */
351 unsigned int ccycle; /* One ESP clock cycle */
352 unsigned int ctick; /* One ESP clock time */
353 unsigned int radelay; /* FAST chip req/ack delay */
354 unsigned int neg_defp; /* Default negotiation period */
355 unsigned int sync_defp; /* Default sync transfer period */
356 unsigned int max_period; /* longest our period can be */
357 unsigned int min_period; /* shortest period we can withstand */
366 unsigned int snip; /* Sync. negotiation in progress */
367 unsigned int wnip; /* WIDE negotiation in progress */
368 unsigned int targets_present; /* targets spoken to before */
370 int current_transfer_size; /* Set at beginning of data dma */
372 unchar espcmdlog[32]; /* Log of current esp cmds sent. */
373 unchar espcmdent; /* Current entry in esp cmd log. */
376 enum esp_rev erev; /* ESP revision */
377 int irq; /* IRQ for this ESP */
378 int scsi_id; /* Who am I as initiator? */
379 int scsi_id_mask; /* Bitmask of 'me'. */
380 int diff; /* Differential SCSI bus? */
381 int slot; /* Slot the adapter occupies */
384 Scsi_Cmnd *issue_SC; /* Commands to be issued */
408 int (*dma_bytes_sent)(struct NCR_ESP *, int); argument
409 int (*dma_can_transfer)(struct NCR_ESP *, Scsi_Cmnd *); argument
410 void (*dma_dump_state)(struct NCR_ESP *); argument
411 void (*dma_init_read)(struct NCR_ESP *, __u32, int); argument
412 void (*dma_init_write)(struct NCR_ESP *, __u32, int); argument
413 void (*dma_ints_off)(struct NCR_ESP *); argument
414 void (*dma_ints_on)(struct NCR_ESP *); argument
415 int (*dma_irq_p)(struct NCR_ESP *); argument
416 int (*dma_ports_p)(struct NCR_ESP *); argument
417 void (*dma_setup)(struct NCR_ESP *, __u32, int, int); argument
420 void (*dma_barrier)(struct NCR_ESP *); argument
421 void (*dma_drain)(struct NCR_ESP *); argument
422 void (*dma_invalidate)(struct NCR_ESP *); argument
423 void (*dma_irq_entry)(struct NCR_ESP *); argument
424 void (*dma_irq_exit)(struct NCR_ESP *); argument
425 void (*dma_led_off)(struct NCR_ESP *); argument
426 void (*dma_led_on)(struct NCR_ESP *); argument
427 void (*dma_poll)(struct NCR_ESP *, unsigned char *); argument
428 void (*dma_reset)(struct NCR_ESP *); argument
431 void (*dma_mmu_get_scsi_one)(struct NCR_ESP *, Scsi_Cmnd *); argument
432 void (*dma_mmu_get_scsi_sgl)(struct NCR_ESP *, Scsi_Cmnd *); argument
433 void (*dma_mmu_release_scsi_one)(struct NCR_ESP *, Scsi_Cmnd *); argument
434 void (*dma_mmu_release_scsi_sgl)(struct NCR_ESP *, Scsi_Cmnd *); argument
435 void (*dma_advance_sg)(Scsi_Cmnd *);