Lines Matching defs:shost
98 struct Scsi_Host *shost; /* registered host structure */
109 shost = scsi_host_alloc(host, sizeof(struct qlogicfas408_priv));
110 if (!shost)
112 shost->io_port = qbase;
113 shost->n_io_port = 16;
114 shost->dma_channel = -1;
116 shost->irq = qlirq;
118 priv = get_priv_by_host(shost);
122 priv->shost = shost;
125 if (request_irq(qlirq, qlogicfas408_ihandl, 0, qlogic_name, shost))
132 if (scsi_add_host(shost, NULL))
135 scsi_scan_host(shost);
137 return shost;
140 free_irq(qlirq, shost);
143 scsi_host_put(shost);