Lines Matching refs:shost
74 struct Scsi_Host *shost;
88 shost = scsi_host_alloc(&dmx3191d_driver_template,
90 if (!shost)
92 shost->io_port = io;
93 shost->irq = pdev->irq;
95 NCR5380_init(shost, FLAG_NO_PSEUDO_DMA | FLAG_DTC3181E);
98 DMX3191D_DRIVER_NAME, shost)) {
104 shost->irq = SCSI_IRQ_NONE;
107 pci_set_drvdata(pdev, shost);
109 error = scsi_add_host(shost, &pdev->dev);
113 scsi_scan_host(shost);
117 free_irq(shost->irq, shost);
128 struct Scsi_Host *shost = pci_get_drvdata(pdev);
130 scsi_remove_host(shost);
132 NCR5380_exit(shost);
134 if (shost->irq != SCSI_IRQ_NONE)
135 free_irq(shost->irq, shost);
136 release_region(shost->io_port, DMX3191D_REGION_LEN);
139 scsi_host_put(shost);