Lines Matching refs:sdev_ufs_device

536 	struct scsi_device *sdev_ufs = hba->sdev_ufs_device;  in ufshcd_print_host_state()
4178 !pm_runtime_suspended(&hba->sdev_ufs_device->sdev_gendev)) { in ufshcd_auto_hibern8_update()
4894 if (hba->sdev_ufs_device) { in ufshcd_setup_links()
4896 &hba->sdev_ufs_device->sdev_gendev, in ufshcd_setup_links()
4900 dev_name(&hba->sdev_ufs_device->sdev_gendev)); in ufshcd_setup_links()
5034 hba->sdev_ufs_device = NULL; in ufshcd_slave_destroy()
5036 } else if (hba->sdev_ufs_device) { in ufshcd_slave_destroy()
5041 if (hba->sdev_ufs_device) { in ufshcd_slave_destroy()
5042 supplier = &hba->sdev_ufs_device->sdev_gendev; in ufshcd_slave_destroy()
5960 if (pm_runtime_status_suspended(&hba->sdev_ufs_device->sdev_gendev) || in ufshcd_err_handling_prepare()
6006 !hba->sdev_ufs_device || in ufshcd_err_handling_should_stop()
6025 ret = pm_runtime_set_active(&hba->sdev_ufs_device->sdev_gendev); in ufshcd_recover_pm_error()
7417 hba->sdev_ufs_device = __scsi_add_device(hba->host, 0, 0, in ufshcd_scsi_add_wlus()
7419 if (IS_ERR(hba->sdev_ufs_device)) { in ufshcd_scsi_add_wlus()
7420 ret = PTR_ERR(hba->sdev_ufs_device); in ufshcd_scsi_add_wlus()
7421 hba->sdev_ufs_device = NULL; in ufshcd_scsi_add_wlus()
7424 scsi_device_put(hba->sdev_ufs_device); in ufshcd_scsi_add_wlus()
7446 scsi_remove_device(hba->sdev_ufs_device); in ufshcd_scsi_add_wlus()
8597 sdp = hba->sdev_ufs_device; in ufshcd_set_dev_pwr_mode()
9158 if (sdev == hba->sdev_ufs_device) in ufshcd_wl_shutdown()
9379 if (hba->sdev_ufs_device) in ufshcd_remove()
9717 if (hba->sdev_ufs_device) { in ufshcd_suspend_prepare()