Searched refs:ufshcd_is_link_off (Results 1 – 4 of 4) sorted by relevance
244 #define ufs_qcom_is_link_off(hba) ufshcd_is_link_off(hba)
687 if (ufshcd_is_link_off(hba)) { in ufs_mtk_setup_clocks()1344 if (ufshcd_is_link_off(hba)) in ufs_mtk_suspend()
9599 if (ufshcd_is_ufs_dev_poweroff(hba) && ufshcd_is_link_off(hba) && in ufshcd_vreg_set_lpm()9606 if (ufshcd_is_link_hibern8(hba) || ufshcd_is_link_off(hba)) { in ufshcd_vreg_set_lpm()9625 if (ufshcd_is_ufs_dev_poweroff(hba) && ufshcd_is_link_off(hba) && in ufshcd_vreg_set_hpm()9652 if (ufshcd_is_link_off(hba) || ufshcd_can_aggressive_pc(hba)) in ufshcd_hba_vreg_set_lpm()9658 if (ufshcd_is_link_off(hba) || ufshcd_can_aggressive_pc(hba)) in ufshcd_hba_vreg_set_hpm()9810 WARN_ON(!ufshcd_is_link_off(hba)); in __ufshcd_wl_suspend()9814 else if (ufshcd_is_link_off(hba)) in __ufshcd_wl_suspend()9862 WARN_ON(ufshcd_is_ufs_dev_deepsleep(hba) && !ufshcd_is_link_off(hba)); in __ufshcd_wl_resume()9873 } else if (ufshcd_is_link_off(hba)) { in __ufshcd_wl_resume()10249 if (ufshcd_is_ufs_dev_poweroff(hba) && ufshcd_is_link_off(hba)) in ufshcd_wl_shutdown()
97 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE) macro