Lines Matching defs:shost
4202 * @shost: SCSI host of command to be sent
4219 int ata_scsi_queuecmd(struct Scsi_Host *shost, struct scsi_cmnd *cmd)
4227 ap = ata_shost_to_port(shost);
4380 struct Scsi_Host *shost;
4383 shost = scsi_host_alloc(sht, sizeof(struct ata_port *));
4384 if (!shost)
4387 shost->eh_noresume = 1;
4388 *(struct ata_port **)&shost->hostdata[0] = ap;
4389 ap->scsi_host = shost;
4391 shost->transportt = ata_scsi_transport_template;
4392 shost->unique_id = ap->print_id;
4393 shost->max_id = 16;
4394 shost->max_lun = 1;
4395 shost->max_channel = 1;
4396 shost->max_cmd_len = 32;
4403 shost->max_host_blocked = 1;
4405 rc = scsi_add_host_with_dma(shost, &ap->tdev, ap->host->dev);
4414 struct Scsi_Host *shost = host->ports[i]->scsi_host;
4417 scsi_remove_host(shost);
4686 * @shost: SCSI host to scan
4700 int ata_scsi_user_scan(struct Scsi_Host *shost, unsigned int channel,
4703 struct ata_port *ap = ata_shost_to_port(shost);