Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/ufs/
Dufs-sysfs.c77 ufs_pm_lvl_states[hba->rpm_lvl].dev_state)); in rpm_target_dev_state_show()
86 ufs_pm_lvl_states[hba->rpm_lvl].link_state)); in rpm_target_link_state_show()
109 ufs_pm_lvl_states[hba->spm_lvl].dev_state)); in spm_target_dev_state_show()
118 ufs_pm_lvl_states[hba->spm_lvl].link_state)); in spm_target_link_state_show()
Dufshcd.h145 struct ufs_pm_lvl_states { struct
1081 extern struct ufs_pm_lvl_states ufs_pm_lvl_states[];
Dufshcd.c181 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()