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);
2473 struct scsi_device *sdev = scp->device;
2474 struct Scsi_Host *host = sdev->host;
2480 host->host_no, sdev->channel, sdev->id, sdev->lun);
2484 rcr = send_tmf(cfg, sdev, TMF_LUN_RESET);
2553 * @sdev: SCSI device destined for queue depth change.
2560 static int cxlflash_change_queue_depth(struct scsi_device *sdev, int qdepth)
2566 scsi_change_queue_depth(sdev, qdepth);
2567 return sdev->queue_depth;
3106 struct scsi_device *sdev = to_scsi_device(dev);
3109 sdev->hostdata ? "superpipe" : "legacy");