Home
last modified time | relevance | path

Searched refs:ufshcd_is_link_off (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/ufs/host/
H A Dufs-qcom.h244 #define ufs_qcom_is_link_off(hba) ufshcd_is_link_off(hba)
H A Dufs-mediatek.c687 if (ufshcd_is_link_off(hba)) { in ufs_mtk_setup_clocks()
1344 if (ufshcd_is_link_off(hba)) in ufs_mtk_suspend()
/openbmc/linux/drivers/ufs/core/
H A Dufshcd.c9499 if (ufshcd_is_ufs_dev_poweroff(hba) && ufshcd_is_link_off(hba) && in ufshcd_vreg_set_lpm()
9506 if (ufshcd_is_link_hibern8(hba) || ufshcd_is_link_off(hba)) { in ufshcd_vreg_set_lpm()
9525 if (ufshcd_is_ufs_dev_poweroff(hba) && ufshcd_is_link_off(hba) && in ufshcd_vreg_set_hpm()
9552 if (ufshcd_is_link_off(hba) || ufshcd_can_aggressive_pc(hba)) in ufshcd_hba_vreg_set_lpm()
9558 if (ufshcd_is_link_off(hba) || ufshcd_can_aggressive_pc(hba)) in ufshcd_hba_vreg_set_hpm()
9708 WARN_ON(!ufshcd_is_link_off(hba)); in __ufshcd_wl_suspend()
9712 else if (ufshcd_is_link_off(hba)) in __ufshcd_wl_suspend()
9760 WARN_ON(ufshcd_is_ufs_dev_deepsleep(hba) && !ufshcd_is_link_off(hba)); in __ufshcd_wl_resume()
9771 } else if (ufshcd_is_link_off(hba)) { in __ufshcd_wl_resume()
10145 if (ufshcd_is_ufs_dev_poweroff(hba) && ufshcd_is_link_off(hba)) in ufshcd_wl_shutdown()
/openbmc/linux/include/ufs/
H A Dufshcd.h97 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE) macro