Lines Matching refs:shost
75 struct Scsi_Host *shost; in dmx3191d_probe_one() local
89 shost = scsi_host_alloc(&dmx3191d_driver_template, in dmx3191d_probe_one()
91 if (!shost) in dmx3191d_probe_one()
93 shost->io_port = io; in dmx3191d_probe_one()
98 shost->irq = NO_IRQ; in dmx3191d_probe_one()
100 NCR5380_init(shost, FLAG_NO_PSEUDO_DMA | FLAG_DTC3181E); in dmx3191d_probe_one()
102 pci_set_drvdata(pdev, shost); in dmx3191d_probe_one()
104 error = scsi_add_host(shost, &pdev->dev); in dmx3191d_probe_one()
108 scsi_scan_host(shost); in dmx3191d_probe_one()
121 struct Scsi_Host *shost = pci_get_drvdata(pdev); in dmx3191d_remove_one() local
123 scsi_remove_host(shost); in dmx3191d_remove_one()
125 NCR5380_exit(shost); in dmx3191d_remove_one()
127 release_region(shost->io_port, DMX3191D_REGION_LEN); in dmx3191d_remove_one()
130 scsi_host_put(shost); in dmx3191d_remove_one()