Lines Matching defs:shost
95 struct Scsi_Host *shost; /* registered host structure */
106 shost = scsi_host_alloc(host, sizeof(struct qlogicfas408_priv));
107 if (!shost)
109 shost->io_port = qbase;
110 shost->n_io_port = 16;
111 shost->dma_channel = -1;
113 shost->irq = qlirq;
115 priv = get_priv_by_host(shost);
119 priv->shost = shost;
122 if (request_irq(qlirq, qlogicfas408_ihandl, 0, qlogic_name, shost))
129 if (scsi_add_host(shost, NULL))
132 scsi_scan_host(shost);
134 return shost;
137 free_irq(qlirq, shost);
140 scsi_host_put(shost);