Lines Matching defs:sdev
114 struct scsi_device *sdev; /* SCSI device */
195 return scsi_execute_cmd(st->sdev, scsi_cmd, op, st->smartdata,
225 dev_dbg(&st->sdev->sdev_gendev,
304 struct scsi_device *sdev = st->sdev;
307 if (!sdev->model)
316 if (!strncmp(sdev->model, sct_avoid_models[ctr],
325 struct scsi_device *sdev = st->sdev;
340 vpd = rcu_dereference(sdev->vpd_pg89);
366 dev_notice(&sdev->sdev_gendev,
435 struct scsi_device *sdev = st->sdev;
438 if (!sdev->inquiry || sdev->inquiry_len < 16)
442 if (sdev->type != TYPE_DISK && sdev->type != TYPE_ZBC)
550 * The device argument points to sdev->sdev_dev. Its parent is
551 * sdev->sdev_gendev, which we can use to get the scsi_device pointer.
555 struct scsi_device *sdev = to_scsi_device(dev->parent);
563 st->sdev = sdev;