Lines Matching defs:shost
2806 struct Scsi_Host *shost;
2828 shost = scsi_host_alloc(&initio_template, sizeof(struct initio_host));
2829 if (!shost) {
2834 host = (struct initio_host *)shost->hostdata;
2887 shost->io_port = host->addr;
2888 shost->n_io_port = 0xff;
2889 shost->can_queue = num_scb; /* 03/05/98 */
2890 shost->unique_id = host->addr;
2891 shost->max_id = host->max_tar;
2892 shost->max_lun = 32; /* 10/21/97 */
2893 shost->irq = pdev->irq;
2894 shost->this_id = host->scsi_id; /* Assign HCS index */
2895 shost->base = host->addr;
2896 shost->sg_tablesize = TOTAL_SG_ENTRY;
2898 error = request_irq(pdev->irq, i91u_intr, IRQF_SHARED, "i91u", shost);
2904 pci_set_drvdata(pdev, shost);
2906 error = scsi_add_host(shost, &pdev->dev);
2909 scsi_scan_host(shost);
2912 free_irq(pdev->irq, shost);
2918 scsi_host_put(shost);