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;
992 struct Scsi_Host *shost = NULL;
1003 shost = scsi_host_alloc(&uas_host_template,
1005 if (!shost)
1008 shost->max_cmd_len = 16 + 252;
1009 shost->max_id = 1;
1010 shost->max_lun = 256;
1011 shost->max_channel = 0;
1012 shost->sg_tablesize = udev->bus->sg_tablesize;
1014 devinfo = (struct uas_dev_info *)shost->hostdata;
1035 shost->can_queue = devinfo->qdepth - 2;
1037 usb_set_intfdata(intf, shost);
1038 result = scsi_add_host(shost, &intf->dev);
1052 if (shost)
1053 scsi_host_put(shost);
1107 struct Scsi_Host *shost = usb_get_intfdata(intf);
1108 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;
1115 spin_lock_irqsave(shost->host_lock, flags);
1116 scsi_block_requests(shost);
1117 spin_unlock_irqrestore(shost->host_lock, flags);
1120 shost_printk(KERN_ERR, shost, "%s: timed out\n", __func__);
1121 scsi_unblock_requests(shost);
1132 struct Scsi_Host *shost = usb_get_intfdata(intf);
1133 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;
1142 shost_printk(KERN_ERR, shost,
1147 spin_lock_irqsave(shost->host_lock, flags);
1148 scsi_report_bus_reset(shost, 0);
1149 spin_unlock_irqrestore(shost->host_lock, flags);
1151 scsi_unblock_requests(shost);
1158 struct Scsi_Host *shost = usb_get_intfdata(intf);
1159 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;
1162 shost_printk(KERN_ERR, shost, "%s: timed out\n", __func__);
1176 struct Scsi_Host *shost = usb_get_intfdata(intf);
1177 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;
1183 shost_printk(KERN_ERR, shost,
1189 spin_lock_irqsave(shost->host_lock, flags);
1190 scsi_report_bus_reset(shost, 0);
1191 spin_unlock_irqrestore(shost->host_lock, flags);
1198 struct Scsi_Host *shost = usb_get_intfdata(intf);
1199 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;
1218 scsi_remove_host(shost);
1220 scsi_host_put(shost);
1232 struct Scsi_Host *shost = usb_get_intfdata(intf);
1233 struct uas_dev_info *devinfo = (struct uas_dev_info *)shost->hostdata;