Lines Matching defs:sdev
452 * @sdev: SCSI device destined for TMF.
458 static int send_tmf(struct cxlflash_cfg *cfg, struct scsi_device *sdev,
496 cmd->rcb.port_sel = CHAN2PORTMASK(sdev->channel);
497 cmd->rcb.lun_id = lun_to_lunid(sdev->lun);
2450 struct scsi_device *sdev = scp->device;
2451 struct Scsi_Host *host = sdev->host;
2457 host->host_no, sdev->channel, sdev->id, sdev->lun);
2461 rcr = send_tmf(cfg, sdev, TMF_LUN_RESET);
2530 * @sdev: SCSI device destined for queue depth change.
2537 static int cxlflash_change_queue_depth(struct scsi_device *sdev, int qdepth)
2543 scsi_change_queue_depth(sdev, qdepth);
2544 return sdev->queue_depth;
3083 struct scsi_device *sdev = to_scsi_device(dev);
3086 sdev->hostdata ? "superpipe" : "legacy");