Lines Matching refs:shost
60 static int ata_scsi_user_scan(struct Scsi_Host *shost, unsigned int channel,
2756 struct Scsi_Host *shost = scsidev->host;
2759 ap = ata_shost_to_port(shost);
2761 spin_unlock(shost->host_lock);
2775 spin_lock(shost->host_lock);
2873 struct Scsi_Host *shost;
2876 shost = scsi_host_alloc(sht, sizeof(struct ata_port *));
2877 if (!shost)
2880 *(struct ata_port **)&shost->hostdata[0] = ap;
2881 ap->scsi_host = shost;
2883 shost->transportt = &ata_scsi_transport_template;
2884 shost->unique_id = ap->print_id;
2885 shost->max_id = 16;
2886 shost->max_lun = 1;
2887 shost->max_channel = 1;
2888 shost->max_cmd_len = 16;
2901 struct Scsi_Host *shost = host->ports[i]->scsi_host;
2903 scsi_remove_host(shost);
2904 scsi_host_put(shost);
3075 * @shost: SCSI host to scan
3089 static int ata_scsi_user_scan(struct Scsi_Host *shost, unsigned int channel,
3092 struct ata_port *ap = ata_shost_to_port(shost);
3172 * @shost: SCSI host that the scsi device is attached to
3183 struct Scsi_Host *shost)
3192 ap->lock = shost->host_lock;