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()
9447 if (ufshcd_is_ufs_dev_poweroff(hba) && ufshcd_is_link_off(hba) && in ufshcd_vreg_set_lpm()9454 if (ufshcd_is_link_hibern8(hba) || ufshcd_is_link_off(hba)) { in ufshcd_vreg_set_lpm()9473 if (ufshcd_is_ufs_dev_poweroff(hba) && ufshcd_is_link_off(hba) && in ufshcd_vreg_set_hpm()9500 if (ufshcd_is_link_off(hba) || ufshcd_can_aggressive_pc(hba)) in ufshcd_hba_vreg_set_lpm()9506 if (ufshcd_is_link_off(hba) || ufshcd_can_aggressive_pc(hba)) in ufshcd_hba_vreg_set_hpm()9653 WARN_ON(!ufshcd_is_link_off(hba)); in __ufshcd_wl_suspend()9657 else if (ufshcd_is_link_off(hba)) in __ufshcd_wl_suspend()9705 WARN_ON(ufshcd_is_ufs_dev_deepsleep(hba) && !ufshcd_is_link_off(hba)); in __ufshcd_wl_resume()9716 } else if (ufshcd_is_link_off(hba)) { in __ufshcd_wl_resume()10088 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