Lines Matching defs:sdev
4575 * @sdev- OS provided scsi device
4579 static u16 megasas_get_tm_devhandle(struct scsi_device *sdev)
4588 instance = (struct megasas_instance *)sdev->host->hostdata;
4591 if (!MEGASAS_IS_LOGICAL(sdev)) {
4593 pd_index = (sdev->channel * MEGASAS_MAX_DEV_PER_CHANNEL)
4594 + sdev->id;
4599 sdev_printk(KERN_ERR, sdev, "Firmware expose tmCapable"
4602 device_id = ((sdev->channel % 2) * MEGASAS_MAX_DEV_PER_CHANNEL)
4603 + sdev->id;
4801 struct scsi_device *sdev;
5001 shost_for_each_device(sdev, shost) {
5004 ret_target_prop = megasas_get_target_prop(instance, sdev);
5007 megasas_set_dynamic_target_properties(sdev, is_target_prop);