Lines Matching refs:shost
110 priv->shost = hreg; in __qlogicfas_detect()
151 struct Scsi_Host *shost; in qlogicfas_detect() local
156 shost = __qlogicfas_detect(sht, iobase[num], irq[num]); in qlogicfas_detect()
157 if (shost == NULL) { in qlogicfas_detect()
161 priv = get_priv_by_host(shost); in qlogicfas_detect()
169 static int qlogicfas_release(struct Scsi_Host *shost) in qlogicfas_release() argument
171 struct qlogicfas408_priv *priv = get_priv_by_host(shost); in qlogicfas_release()
173 scsi_remove_host(shost); in qlogicfas_release()
174 if (shost->irq) { in qlogicfas_release()
176 free_irq(shost->irq, shost); in qlogicfas_release()
178 if (shost->io_port && shost->n_io_port) in qlogicfas_release()
179 release_region(shost->io_port, shost->n_io_port); in qlogicfas_release()
180 scsi_host_put(shost); in qlogicfas_release()
221 qlogicfas_release(priv->shost); in qlogicfas_exit()