Lines Matching refs:pm_op
6130 enum ufs_pm_op pm_op; in ufshcd_err_handling_prepare() local
6146 pm_op = hba->is_sys_suspended ? UFS_SYSTEM_PM : UFS_RUNTIME_PM; in ufshcd_err_handling_prepare()
6147 ufshcd_vops_resume(hba, pm_op); in ufshcd_err_handling_prepare()
8991 static int __ufshcd_wl_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in __ufshcd_wl_suspend() argument
9000 if (pm_op != UFS_SHUTDOWN_PM) { in __ufshcd_wl_suspend()
9001 pm_lvl = pm_op == UFS_RUNTIME_PM ? in __ufshcd_wl_suspend()
9037 if (pm_op == UFS_RUNTIME_PM) { in __ufshcd_wl_suspend()
9066 ret = ufshcd_vops_suspend(hba, pm_op, PRE_CHANGE); in __ufshcd_wl_suspend()
9071 if (pm_op != UFS_RUNTIME_PM) in __ufshcd_wl_suspend()
9077 if (ret && pm_op != UFS_SHUTDOWN_PM) { in __ufshcd_wl_suspend()
9097 if (ret && pm_op != UFS_SHUTDOWN_PM) { in __ufshcd_wl_suspend()
9115 ret = ufshcd_vops_suspend(hba, pm_op, POST_CHANGE); in __ufshcd_wl_suspend()
9164 static int __ufshcd_wl_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in __ufshcd_wl_resume() argument
9176 ret = ufshcd_vops_resume(hba, pm_op); in __ufshcd_wl_resume()
9243 ufshcd_vops_suspend(hba, pm_op, PRE_CHANGE); in __ufshcd_wl_resume()
9244 ufshcd_vops_suspend(hba, pm_op, POST_CHANGE); in __ufshcd_wl_resume()