Lines Matching defs:sdev
114 struct scsi_device *sdev; /* SCSI device */
195 return scsi_execute_req(st->sdev, scsi_cmd, data_dir,
226 dev_dbg(&st->sdev->sdev_gendev,
305 struct scsi_device *sdev = st->sdev;
308 if (!sdev->model)
317 if (!strncmp(sdev->model, sct_avoid_models[ctr],
326 struct scsi_device *sdev = st->sdev;
341 vpd = rcu_dereference(sdev->vpd_pg89);
367 dev_notice(&sdev->sdev_gendev,
436 struct scsi_device *sdev = st->sdev;
439 if (!sdev->inquiry || sdev->inquiry_len < 16)
443 if (sdev->type != TYPE_DISK && sdev->type != TYPE_ZBC)
551 * The device argument points to sdev->sdev_dev. Its parent is
552 * sdev->sdev_gendev, which we can use to get the scsi_device pointer.
556 struct scsi_device *sdev = to_scsi_device(dev->parent);
564 st->sdev = sdev;