Lines Matching refs:a3000_host

27 static struct Scsi_Host *a3000_host = NULL;  variable
32 unsigned int status = DMA(a3000_host)->ISTR; in a3000_intr()
39 wd33c93_intr (a3000_host); in a3000_intr()
60 HDATA(a3000_host)->dma_bounce_len = (cmd->SCp.this_residual + 511) in dma_setup()
62 HDATA(a3000_host)->dma_bounce_buffer = in dma_setup()
63 scsi_malloc (HDATA(a3000_host)->dma_bounce_len); in dma_setup()
66 if (!HDATA(a3000_host)->dma_bounce_buffer) { in dma_setup()
67 HDATA(a3000_host)->dma_bounce_len = 0; in dma_setup()
74 memcpy (HDATA(a3000_host)->dma_bounce_buffer, in dma_setup()
77 memcpy (HDATA(a3000_host)->dma_bounce_buffer, in dma_setup()
81 addr = virt_to_bus(HDATA(a3000_host)->dma_bounce_buffer); in dma_setup()
89 HDATA(a3000_host)->dma_dir = dir_in; in dma_setup()
91 DMA(a3000_host)->CNTR = cntr; in dma_setup()
94 DMA(a3000_host)->ACR = addr; in dma_setup()
105 DMA(a3000_host)->ST_DMA = 1; in dma_setup()
184 a3000_host = scsi_register (tpnt, sizeof(struct WD33C93_hostdata)); in a3000_detect()
185 if (a3000_host == NULL) in a3000_detect()
188 a3000_host->base = ZTWO_VADDR(0xDD0000); in a3000_detect()
189 a3000_host->irq = IRQ_AMIGA_PORTS; in a3000_detect()
190 DMA(a3000_host)->DAWR = DAWR_A3000; in a3000_detect()
191 regs.SASR = &(DMA(a3000_host)->SASR); in a3000_detect()
192 regs.SCMD = &(DMA(a3000_host)->SCMD); in a3000_detect()
193 wd33c93_init(a3000_host, regs, dma_setup, dma_stop, WD33C93_FS_12_15); in a3000_detect()
197 DMA(a3000_host)->CNTR = CNTR_PDMD | CNTR_INTEN; in a3000_detect()
203 scsi_unregister(a3000_host); in a3000_detect()