Lines Matching refs:sdev
114 struct scsi_device *sdev; /* SCSI device */ member
195 return scsi_execute_cmd(st->sdev, scsi_cmd, op, st->smartdata, in drivetemp_scsi_command()
225 dev_dbg(&st->sdev->sdev_gendev, in drivetemp_get_smarttemp()
304 struct scsi_device *sdev = st->sdev; in drivetemp_sct_avoid() local
307 if (!sdev->model) in drivetemp_sct_avoid()
316 if (!strncmp(sdev->model, sct_avoid_models[ctr], in drivetemp_sct_avoid()
325 struct scsi_device *sdev = st->sdev; in drivetemp_identify_sata() local
340 vpd = rcu_dereference(sdev->vpd_pg89); in drivetemp_identify_sata()
366 dev_notice(&sdev->sdev_gendev, in drivetemp_identify_sata()
435 struct scsi_device *sdev = st->sdev; in drivetemp_identify() local
438 if (!sdev->inquiry || sdev->inquiry_len < 16) in drivetemp_identify()
442 if (sdev->type != TYPE_DISK && sdev->type != TYPE_ZBC) in drivetemp_identify()
555 struct scsi_device *sdev = to_scsi_device(dev->parent); in drivetemp_add() local
563 st->sdev = sdev; in drivetemp_add()