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()
1087 struct Scsi_Host *shost; in inia100_probe_one() local
1115 shost = scsi_host_alloc(&inia100_template, sizeof(struct orc_host)); in inia100_probe_one()
1116 if (!shost) in inia100_probe_one()
1119 host = (struct orc_host *)shost->hostdata; in inia100_probe_one()
1149 shost->io_port = host->base; in inia100_probe_one()
1150 shost->n_io_port = 0xff; in inia100_probe_one()
1151 shost->can_queue = ORC_MAXQUEUE; in inia100_probe_one()
1152 shost->unique_id = shost->io_port; in inia100_probe_one()
1153 shost->max_id = host->max_targets; in inia100_probe_one()
1154 shost->max_lun = 16; in inia100_probe_one()
1155 shost->irq = pdev->irq; in inia100_probe_one()
1156 shost->this_id = host->scsi_id; /* Assign HCS index */ in inia100_probe_one()
1157 shost->sg_tablesize = TOTAL_SG_ENTRY; in inia100_probe_one()
1161 "inia100", shost); in inia100_probe_one()
1168 pci_set_drvdata(pdev, shost); in inia100_probe_one()
1170 error = scsi_add_host(shost, &pdev->dev); in inia100_probe_one()
1174 scsi_scan_host(shost); in inia100_probe_one()
1178 free_irq(shost->irq, shost); in inia100_probe_one()
1186 scsi_host_put(shost); in inia100_probe_one()
1197 struct Scsi_Host *shost = pci_get_drvdata(pdev); in inia100_remove_one() local
1198 struct orc_host *host = (struct orc_host *)shost->hostdata; in inia100_remove_one()
1200 scsi_remove_host(shost); in inia100_remove_one()
1202 free_irq(shost->irq, shost); in inia100_remove_one()
1207 release_region(shost->io_port, 256); in inia100_remove_one()
1209 scsi_host_put(shost); in inia100_remove_one()