Lines Matching defs:sht
194 struct scsi_host_template *sht = shost->hostt;
198 sht->info ? sht->info(shost) : sht->name);
202 sht->name);
284 * @sht: pointer to scsi host template
295 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize)
301 if (sht->unchecked_isa_dma && privsize)
337 shost->hostt = sht;
338 shost->this_id = sht->this_id;
339 shost->can_queue = sht->can_queue;
340 shost->sg_tablesize = sht->sg_tablesize;
341 shost->cmd_per_lun = sht->cmd_per_lun;
342 shost->unchecked_isa_dma = sht->unchecked_isa_dma;
343 shost->use_clustering = sht->use_clustering;
344 shost->ordered_tag = sht->ordered_tag;
346 if (sht->max_host_blocked)
347 shost->max_host_blocked = sht->max_host_blocked;
355 if (sht->max_sectors)
356 shost->max_sectors = sht->max_sectors;
363 if (sht->dma_boundary)
364 shost->dma_boundary = sht->dma_boundary;
401 struct Scsi_Host *scsi_register(struct scsi_host_template *sht, int privsize)
403 struct Scsi_Host *shost = scsi_host_alloc(sht, privsize);
405 if (!sht->detect) {
407 "template for driver %s\n", sht->name);
412 list_add_tail(&shost->sht_legacy_list, &sht->legacy_hosts);