Lines Matching defs:sdev
4687 * @sdev- OS provided scsi device
4691 static u16 megasas_get_tm_devhandle(struct scsi_device *sdev)
4700 instance = (struct megasas_instance *)sdev->host->hostdata;
4703 if (!MEGASAS_IS_LOGICAL(sdev)) {
4705 pd_index = (sdev->channel * MEGASAS_MAX_DEV_PER_CHANNEL)
4706 + sdev->id;
4711 sdev_printk(KERN_ERR, sdev, "Firmware expose tmCapable"
4714 device_id = ((sdev->channel % 2) * MEGASAS_MAX_DEV_PER_CHANNEL)
4715 + sdev->id;
4913 struct scsi_device *sdev;
5113 shost_for_each_device(sdev, shost) {
5116 ret_target_prop = megasas_get_target_prop(instance, sdev);
5119 megasas_set_dynamic_target_properties(sdev, is_target_prop);