Lines Matching refs:shost
61 struct Scsi_Host *shost; in dmx3191d_probe_one() local
76 shost = scsi_host_alloc(&dmx3191d_driver_template, in dmx3191d_probe_one()
78 if (!shost) in dmx3191d_probe_one()
81 hostdata = shost_priv(shost); in dmx3191d_probe_one()
87 shost->irq = NO_IRQ; in dmx3191d_probe_one()
89 error = NCR5380_init(shost, 0); in dmx3191d_probe_one()
93 NCR5380_maybe_reset_bus(shost); in dmx3191d_probe_one()
95 pci_set_drvdata(pdev, shost); in dmx3191d_probe_one()
97 error = scsi_add_host(shost, &pdev->dev); in dmx3191d_probe_one()
101 scsi_scan_host(shost); in dmx3191d_probe_one()
105 NCR5380_exit(shost); in dmx3191d_probe_one()
107 scsi_host_put(shost); in dmx3191d_probe_one()
118 struct Scsi_Host *shost = pci_get_drvdata(pdev); in dmx3191d_remove_one() local
119 struct NCR5380_hostdata *hostdata = shost_priv(shost); in dmx3191d_remove_one()
122 scsi_remove_host(shost); in dmx3191d_remove_one()
124 NCR5380_exit(shost); in dmx3191d_remove_one()
125 scsi_host_put(shost); in dmx3191d_remove_one()