Lines Matching refs:shost
106 priv->shost = hreg; in __qlogicfas_detect()
147 struct Scsi_Host *shost; in qlogicfas_detect() local
152 shost = __qlogicfas_detect(sht, iobase[num], irq[num]); in qlogicfas_detect()
153 if (shost == NULL) { in qlogicfas_detect()
157 priv = get_priv_by_host(shost); in qlogicfas_detect()
165 static int qlogicfas_release(struct Scsi_Host *shost) in qlogicfas_release() argument
167 struct qlogicfas408_priv *priv = get_priv_by_host(shost); in qlogicfas_release()
169 scsi_remove_host(shost); in qlogicfas_release()
170 if (shost->irq) { in qlogicfas_release()
172 free_irq(shost->irq, shost); in qlogicfas_release()
174 if (shost->io_port && shost->n_io_port) in qlogicfas_release()
175 release_region(shost->io_port, shost->n_io_port); in qlogicfas_release()
176 scsi_host_put(shost); in qlogicfas_release()
217 qlogicfas_release(priv->shost); in qlogicfas_exit()