Lines Matching refs:instance
34 struct Scsi_Host *instance = data; in a2091_intr() local
35 struct a2091_hostdata *hdata = shost_priv(instance); in a2091_intr()
42 spin_lock_irqsave(instance->host_lock, flags); in a2091_intr()
43 wd33c93_intr(instance); in a2091_intr()
44 spin_unlock_irqrestore(instance->host_lock, flags); in a2091_intr()
52 struct Scsi_Host *instance = cmd->device->host; in dma_setup() local
53 struct a2091_hostdata *hdata = shost_priv(instance); in dma_setup()
135 static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, in dma_stop() argument
139 struct a2091_hostdata *hdata = shost_priv(instance); in dma_stop()
202 struct Scsi_Host *instance; in a2091_probe() local
216 instance = scsi_host_alloc(&a2091_scsi_template, in a2091_probe()
218 if (!instance) { in a2091_probe()
223 instance->irq = IRQ_AMIGA_PORTS; in a2091_probe()
224 instance->unique_id = z->slotaddr; in a2091_probe()
232 hdata = shost_priv(instance); in a2091_probe()
239 wd33c93_init(instance, wdregs, dma_setup, dma_stop, WD33C93_FS_8_10); in a2091_probe()
241 "A2091 SCSI", instance); in a2091_probe()
247 error = scsi_add_host(instance, NULL); in a2091_probe()
251 zorro_set_drvdata(z, instance); in a2091_probe()
253 scsi_scan_host(instance); in a2091_probe()
257 free_irq(IRQ_AMIGA_PORTS, instance); in a2091_probe()
259 scsi_host_put(instance); in a2091_probe()
267 struct Scsi_Host *instance = zorro_get_drvdata(z); in a2091_remove() local
268 struct a2091_hostdata *hdata = shost_priv(instance); in a2091_remove()
271 scsi_remove_host(instance); in a2091_remove()
272 free_irq(IRQ_AMIGA_PORTS, instance); in a2091_remove()
273 scsi_host_put(instance); in a2091_remove()