Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/ufs/core/
Dufshcd-priv.h229 extern const struct ufs_pm_lvl_states ufs_pm_lvl_states[];
Dufs-sysfs.c52 if (ufs_pm_lvl_states[value].dev_state == UFS_DEEPSLEEP_PWR_MODE && in ufs_sysfs_pm_lvl_store()
86 ufs_pm_lvl_states[hba->rpm_lvl].dev_state)); in rpm_target_dev_state_show()
95 ufs_pm_lvl_states[hba->rpm_lvl].link_state)); in rpm_target_link_state_show()
118 ufs_pm_lvl_states[hba->spm_lvl].dev_state)); in spm_target_dev_state_show()
127 ufs_pm_lvl_states[hba->spm_lvl].link_state)); in spm_target_link_state_show()
Dufshcd.c176 const struct ufs_pm_lvl_states ufs_pm_lvl_states[] = { variable
193 return ufs_pm_lvl_states[lvl].dev_state; in ufs_get_pm_lvl_to_dev_pwr_mode()
199 return ufs_pm_lvl_states[lvl].link_state; in ufs_get_pm_lvl_to_link_pwr_state()
209 if ((ufs_pm_lvl_states[lvl].dev_state == dev_state) && in ufs_get_desired_pm_lvl_for_dev_link_state()
210 (ufs_pm_lvl_states[lvl].link_state == link_state)) in ufs_get_desired_pm_lvl_for_dev_link_state()
/linux-6.1.9/include/ufs/
Dufshcd.h142 struct ufs_pm_lvl_states { struct
1233 extern const struct ufs_pm_lvl_states ufs_pm_lvl_states[];