Lines Matching defs:shost
4109 * @shost: SCSI host of command to be sent
4126 int ata_scsi_queuecmd(struct Scsi_Host *shost, struct scsi_cmnd *cmd)
4134 ap = ata_shost_to_port(shost);
4284 struct Scsi_Host *shost;
4287 shost = scsi_host_alloc(sht, sizeof(struct ata_port *));
4288 if (!shost)
4291 shost->eh_noresume = 1;
4292 *(struct ata_port **)&shost->hostdata[0] = ap;
4293 ap->scsi_host = shost;
4295 shost->transportt = ata_scsi_transport_template;
4296 shost->unique_id = ap->print_id;
4297 shost->max_id = 16;
4298 shost->max_lun = 1;
4299 shost->max_channel = 1;
4300 shost->max_cmd_len = 32;
4307 shost->max_host_blocked = 1;
4309 rc = scsi_add_host_with_dma(shost, &ap->tdev, ap->host->dev);
4318 struct Scsi_Host *shost = host->ports[i]->scsi_host;
4321 scsi_remove_host(shost);
4594 * @shost: SCSI host to scan
4608 int ata_scsi_user_scan(struct Scsi_Host *shost, unsigned int channel,
4611 struct ata_port *ap = ata_shost_to_port(shost);