Lines Matching defs:sh
58 struct Scsi_Host *sh,
535 struct Scsi_Host *sh = NULL;
551 sh = h->scsi_ctlr->scsi_host;
643 scsi_device_lookup(sh, removed[i].bus,
662 rc = scsi_add_device(sh, added[i].bus,
857 struct Scsi_Host *sh;
860 sh = scsi_host_alloc(&cciss_driver_template, sizeof(struct ctlr_info *));
861 if (sh == NULL)
863 sh->io_port = 0; // good enough? FIXME,
864 sh->n_io_port = 0; // I don't think we use these two...
865 sh->this_id = SELF_SCSI_ID;
866 sh->can_queue = cciss_tape_cmds;
867 sh->sg_tablesize = h->maxsgentries;
868 sh->max_cmd_len = MAX_COMMAND_SIZE;
871 h->scsi_ctlr)->scsi_host = sh;
872 sh->hostdata[0] = (unsigned long) h;
873 sh->irq = h->intr[SIMPLE_MODE_INT];
874 sh->unique_id = sh->irq;
875 error = scsi_add_host(sh, &h->pdev->dev);
878 scsi_scan_host(sh);
882 scsi_host_put(sh);
1314 cciss_scsi_proc_info(struct Scsi_Host *sh,
1326 h = (ctlr_info_t *) sh->hostdata[0];
1332 h->ctlr, sh->host_no);
1347 sh->host_no, sd->bus, sd->target, sd->lun,
1362 return cciss_scsi_user_command(h, sh->host_no,