Lines Matching refs:instance
32 struct Scsi_Host *instance = data; in a3000_intr() local
33 struct a3000_hostdata *hdata = shost_priv(instance); in a3000_intr()
40 spin_lock_irqsave(instance->host_lock, flags); in a3000_intr()
41 wd33c93_intr(instance); in a3000_intr()
42 spin_unlock_irqrestore(instance->host_lock, flags); in a3000_intr()
52 struct Scsi_Host *instance = cmd->device->host; in dma_setup() local
53 struct a3000_hostdata *hdata = shost_priv(instance); in dma_setup()
114 static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, in dma_stop() argument
118 struct a3000_hostdata *hdata = shost_priv(instance); in dma_stop()
190 struct Scsi_Host *instance; in amiga_a3000_scsi_probe() local
203 instance = scsi_host_alloc(&amiga_a3000_scsi_template, in amiga_a3000_scsi_probe()
205 if (!instance) { in amiga_a3000_scsi_probe()
210 instance->irq = IRQ_AMIGA_PORTS; in amiga_a3000_scsi_probe()
218 hdata = shost_priv(instance); in amiga_a3000_scsi_probe()
224 wd33c93_init(instance, wdregs, dma_setup, dma_stop, WD33C93_FS_12_15); in amiga_a3000_scsi_probe()
226 "A3000 SCSI", instance); in amiga_a3000_scsi_probe()
232 error = scsi_add_host(instance, NULL); in amiga_a3000_scsi_probe()
236 platform_set_drvdata(pdev, instance); in amiga_a3000_scsi_probe()
238 scsi_scan_host(instance); in amiga_a3000_scsi_probe()
242 free_irq(IRQ_AMIGA_PORTS, instance); in amiga_a3000_scsi_probe()
244 scsi_host_put(instance); in amiga_a3000_scsi_probe()
252 struct Scsi_Host *instance = platform_get_drvdata(pdev); in amiga_a3000_scsi_remove() local
253 struct a3000_hostdata *hdata = shost_priv(instance); in amiga_a3000_scsi_remove()
257 scsi_remove_host(instance); in amiga_a3000_scsi_remove()
258 free_irq(IRQ_AMIGA_PORTS, instance); in amiga_a3000_scsi_remove()
259 scsi_host_put(instance); in amiga_a3000_scsi_remove()