Lines Matching defs:shost
135 struct Scsi_Host *shost = usb_get_intfdata(devinfo->intf);
138 scsi_scan_host(shost);
300 struct Scsi_Host *shost = urb->context;
301 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;
995 struct Scsi_Host *shost = NULL;
1006 shost = scsi_host_alloc(&uas_host_template,
1008 if (!shost)
1011 shost->max_cmd_len = 16 + 252;
1012 shost->max_id = 1;
1013 shost->max_lun = 256;
1014 shost->max_channel = 0;
1015 shost->sg_tablesize = udev->bus->sg_tablesize;
1017 devinfo = (struct uas_dev_info *)shost->hostdata;
1038 shost->can_queue = devinfo->qdepth - 2;
1040 usb_set_intfdata(intf, shost);
1041 result = scsi_add_host(shost, &intf->dev);
1055 if (shost)
1056 scsi_host_put(shost);
1110 struct Scsi_Host *shost = usb_get_intfdata(intf);
1111 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;
1118 spin_lock_irqsave(shost->host_lock, flags);
1119 scsi_block_requests(shost);
1120 spin_unlock_irqrestore(shost->host_lock, flags);
1123 shost_printk(KERN_ERR, shost, "%s: timed out\n", __func__);
1124 scsi_unblock_requests(shost);
1135 struct Scsi_Host *shost = usb_get_intfdata(intf);
1136 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;
1145 shost_printk(KERN_ERR, shost,
1150 spin_lock_irqsave(shost->host_lock, flags);
1151 scsi_report_bus_reset(shost, 0);
1152 spin_unlock_irqrestore(shost->host_lock, flags);
1154 scsi_unblock_requests(shost);
1161 struct Scsi_Host *shost = usb_get_intfdata(intf);
1162 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;
1165 shost_printk(KERN_ERR, shost, "%s: timed out\n", __func__);
1179 struct Scsi_Host *shost = usb_get_intfdata(intf);
1180 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;
1186 shost_printk(KERN_ERR, shost,
1192 spin_lock_irqsave(shost->host_lock, flags);
1193 scsi_report_bus_reset(shost, 0);
1194 spin_unlock_irqrestore(shost->host_lock, flags);
1201 struct Scsi_Host *shost = usb_get_intfdata(intf);
1202 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;
1221 scsi_remove_host(shost);
1223 scsi_host_put(shost);
1235 struct Scsi_Host *shost = usb_get_intfdata(intf);
1236 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;