Lines Matching refs:shost

1059 	struct Scsi_Host *shost = (struct Scsi_Host *)devid;  in inia100_intr()  local
1060 struct orc_host *host = (struct orc_host *)shost->hostdata; in inia100_intr()
1064 spin_lock_irqsave(shost->host_lock, flags); in inia100_intr()
1066 spin_unlock_irqrestore(shost->host_lock, flags); in inia100_intr()
1088 struct Scsi_Host *shost; in inia100_probe_one() local
1116 shost = scsi_host_alloc(&inia100_template, sizeof(struct orc_host)); in inia100_probe_one()
1117 if (!shost) in inia100_probe_one()
1120 host = (struct orc_host *)shost->hostdata; in inia100_probe_one()
1150 shost->io_port = host->base; in inia100_probe_one()
1151 shost->n_io_port = 0xff; in inia100_probe_one()
1152 shost->can_queue = ORC_MAXQUEUE; in inia100_probe_one()
1153 shost->unique_id = shost->io_port; in inia100_probe_one()
1154 shost->max_id = host->max_targets; in inia100_probe_one()
1155 shost->max_lun = 16; in inia100_probe_one()
1156 shost->irq = pdev->irq; in inia100_probe_one()
1157 shost->this_id = host->scsi_id; /* Assign HCS index */ in inia100_probe_one()
1158 shost->sg_tablesize = TOTAL_SG_ENTRY; in inia100_probe_one()
1162 "inia100", shost); in inia100_probe_one()
1169 pci_set_drvdata(pdev, shost); in inia100_probe_one()
1171 error = scsi_add_host(shost, &pdev->dev); in inia100_probe_one()
1175 scsi_scan_host(shost); in inia100_probe_one()
1179 free_irq(shost->irq, shost); in inia100_probe_one()
1187 scsi_host_put(shost); in inia100_probe_one()
1198 struct Scsi_Host *shost = pci_get_drvdata(pdev); in inia100_remove_one() local
1199 struct orc_host *host = (struct orc_host *)shost->hostdata; in inia100_remove_one()
1201 scsi_remove_host(shost); in inia100_remove_one()
1203 free_irq(shost->irq, shost); in inia100_remove_one()
1208 release_region(shost->io_port, 256); in inia100_remove_one()
1210 scsi_host_put(shost); in inia100_remove_one()