Lines Matching defs:shost
2811 struct Scsi_Host *shost;
2833 shost = scsi_host_alloc(&initio_template, sizeof(struct initio_host));
2834 if (!shost) {
2839 host = (struct initio_host *)shost->hostdata;
2891 shost->io_port = host->addr;
2892 shost->n_io_port = 0xff;
2893 shost->can_queue = num_scb; /* 03/05/98 */
2894 shost->unique_id = host->addr;
2895 shost->max_id = host->max_tar;
2896 shost->max_lun = 32; /* 10/21/97 */
2897 shost->irq = pdev->irq;
2898 shost->this_id = host->scsi_id; /* Assign HCS index */
2899 shost->base = host->addr;
2900 shost->sg_tablesize = TOTAL_SG_ENTRY;
2902 error = request_irq(pdev->irq, i91u_intr, IRQF_SHARED, "i91u", shost);
2908 pci_set_drvdata(pdev, shost);
2910 error = scsi_add_host(shost, &pdev->dev);
2913 scsi_scan_host(shost);
2916 free_irq(pdev->irq, shost);
2922 scsi_host_put(shost);