Searched refs:ufshcd_is_link_off (Results 1 – 4 of 4) sorted by relevance
235 #define ufs_qcom_is_link_off(hba) ufshcd_is_link_off(hba)
685 if (ufshcd_is_link_off(hba)) { in ufs_mtk_setup_clocks()1300 if (ufshcd_is_link_off(hba)) in ufs_mtk_suspend()
93 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE) macro
8928 if (ufshcd_is_ufs_dev_poweroff(hba) && ufshcd_is_link_off(hba) && in ufshcd_vreg_set_lpm()8935 if (ufshcd_is_link_hibern8(hba) || ufshcd_is_link_off(hba)) { in ufshcd_vreg_set_lpm()8954 if (ufshcd_is_ufs_dev_poweroff(hba) && ufshcd_is_link_off(hba) && in ufshcd_vreg_set_hpm()8981 if (ufshcd_is_link_off(hba) || ufshcd_can_aggressive_pc(hba)) in ufshcd_hba_vreg_set_lpm()8987 if (ufshcd_is_link_off(hba) || ufshcd_can_aggressive_pc(hba)) in ufshcd_hba_vreg_set_hpm()9128 WARN_ON(!ufshcd_is_link_off(hba)); in __ufshcd_wl_suspend()9132 else if (ufshcd_is_link_off(hba)) in __ufshcd_wl_suspend()9181 WARN_ON(ufshcd_is_ufs_dev_deepsleep(hba) && !ufshcd_is_link_off(hba)); in __ufshcd_wl_resume()9192 } else if (ufshcd_is_link_off(hba)) { in __ufshcd_wl_resume()9567 if (ufshcd_is_ufs_dev_poweroff(hba) && ufshcd_is_link_off(hba)) in ufshcd_shutdown()