Lines Matching defs:sht
212 struct scsi_host_template *sht = shost->hostt;
216 sht->info ? sht->info(shost) : sht->name);
366 * @sht: pointer to scsi host template
377 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize)
383 if (sht->unchecked_isa_dma && privsize)
424 shost->hostt = sht;
425 shost->this_id = sht->this_id;
426 shost->can_queue = sht->can_queue;
427 shost->sg_tablesize = sht->sg_tablesize;
428 shost->sg_prot_tablesize = sht->sg_prot_tablesize;
429 shost->cmd_per_lun = sht->cmd_per_lun;
430 shost->unchecked_isa_dma = sht->unchecked_isa_dma;
431 shost->no_write_same = sht->no_write_same;
432 shost->host_tagset = sht->host_tagset;
434 if (shost_eh_deadline == -1 || !sht->eh_host_reset_handler)
444 if (sht->supported_mode == MODE_UNKNOWN)
448 shost->active_mode = sht->supported_mode;
450 if (sht->max_host_blocked)
451 shost->max_host_blocked = sht->max_host_blocked;
459 if (sht->max_sectors)
460 shost->max_sectors = sht->max_sectors;
464 if (sht->max_segment_size)
465 shost->max_segment_size = sht->max_segment_size;
472 if (sht->dma_boundary)
473 shost->dma_boundary = sht->dma_boundary;
477 if (sht->virt_boundary_mask)
478 shost->virt_boundary_mask = sht->virt_boundary_mask;