Home
last modified time | relevance | path

Searched refs:uic_link_state (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/ufs/
H A Dufshcd.h90 enum uic_link_state { enum
97 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE)
98 #define ufshcd_is_link_active(hba) ((hba)->uic_link_state == \
100 #define ufshcd_is_link_hibern8(hba) ((hba)->uic_link_state == \
102 #define ufshcd_is_link_broken(hba) ((hba)->uic_link_state == \
104 #define ufshcd_set_link_off(hba) ((hba)->uic_link_state = UIC_LINK_OFF_STATE)
105 #define ufshcd_set_link_active(hba) ((hba)->uic_link_state = \
107 #define ufshcd_set_link_hibern8(hba) ((hba)->uic_link_state = \
109 #define ufshcd_set_link_broken(hba) ((hba)->uic_link_state = \
148 enum uic_link_state link_state;
[all …]
/openbmc/linux/drivers/ufs/core/
H A Dufshcd.c215 static inline enum uic_link_state
223 enum uic_link_state link_state) in ufs_get_desired_pm_lvl_for_dev_link_state()
610 hba->curr_dev_pwr_mode, hba->uic_link_state); in ufshcd_print_host_state()
8808 hba->curr_dev_pwr_mode, hba->uic_link_state); in ufshcd_probe_hba()
9381 enum uic_link_state req_link_state, in ufshcd_link_state_transition()
9386 if (req_link_state == hba->uic_link_state) in ufshcd_link_state_transition()
9536 enum uic_link_state req_link_state; in __ufshcd_wl_suspend()
9565 (req_link_state == hba->uic_link_state)) in __ufshcd_wl_suspend()
9714 enum uic_link_state old_link_state = hba->uic_link_state; in __ufshcd_wl_resume()
10520 enum uic_link_state link_state; in ufshcd_rpm_ok_for_spm()
[all …]
H A Dufs-sysfs.c14 enum uic_link_state state) in ufshcd_uic_link_state_to_string()