Lines Matching defs:shost
2805 struct Scsi_Host *shost;
2827 shost = scsi_host_alloc(&initio_template, sizeof(struct initio_host));
2828 if (!shost) {
2833 host = (struct initio_host *)shost->hostdata;
2886 shost->io_port = host->addr;
2887 shost->n_io_port = 0xff;
2888 shost->can_queue = num_scb; /* 03/05/98 */
2889 shost->unique_id = host->addr;
2890 shost->max_id = host->max_tar;
2891 shost->max_lun = 32; /* 10/21/97 */
2892 shost->irq = pdev->irq;
2893 shost->this_id = host->scsi_id; /* Assign HCS index */
2894 shost->base = host->addr;
2895 shost->sg_tablesize = TOTAL_SG_ENTRY;
2897 error = request_irq(pdev->irq, i91u_intr, IRQF_SHARED, "i91u", shost);
2903 pci_set_drvdata(pdev, shost);
2905 error = scsi_add_host(shost, &pdev->dev);
2908 scsi_scan_host(shost);
2911 free_irq(pdev->irq, shost);
2917 scsi_host_put(shost);