Lines Matching refs:sh
53 int cciss_scsi_release(struct Scsi_Host *sh);
784 struct Scsi_Host *sh; in cciss_scsi_detect() local
787 sh = scsi_register(tpnt, sizeof(struct ctlr_info *)); in cciss_scsi_detect()
788 if (sh == NULL) return 0; in cciss_scsi_detect()
790 sh->io_port = 0; // good enough? FIXME, in cciss_scsi_detect()
791 sh->n_io_port = 0; // I don't think we use these two... in cciss_scsi_detect()
793 sh->this_id = SELF_SCSI_ID; in cciss_scsi_detect()
804 hba[i]->scsi_ctlr)->scsi_host = (void *) sh; in cciss_scsi_detect()
805 sh->hostdata[0] = (unsigned long) hba[i]; in cciss_scsi_detect()
806 sh->irq = hba[i]->intr; in cciss_scsi_detect()
807 sh->unique_id = sh->irq; in cciss_scsi_detect()
808 scsi_set_pci_device(sh, hba[i]->pdev); in cciss_scsi_detect()
820 cciss_scsi_release(struct Scsi_Host *sh) in cciss_scsi_release() argument
1230 struct Scsi_Host *sh; in cciss_scsi_proc_info() local
1241 sh = scsi_hostlist; in cciss_scsi_proc_info()
1244 if (sh == NULL) break; in cciss_scsi_proc_info()
1245 if (sh->host_no == hostnum) { in cciss_scsi_proc_info()
1249 sh = sh->next; in cciss_scsi_proc_info()
1250 } while (sh != scsi_hostlist && sh != NULL); in cciss_scsi_proc_info()
1252 if (sh == NULL || found == 0) /* This really shouldn't ever happen. */ in cciss_scsi_proc_info()
1255 ci = (ctlr_info_t *) sh->hostdata[0]; in cciss_scsi_proc_info()