Searched refs:spm_lvl (Results 1 – 6 of 6) sorted by relevance
260 int spm_lvl = hba->spm_lvl; in ufshcd_pci_poweroff() local267 hba->spm_lvl = 5; in ufshcd_pci_poweroff()269 hba->spm_lvl = spm_lvl; in ufshcd_pci_poweroff()
55 hba->spm_lvl = value; in ufs_sysfs_pm_lvl_store()97 return sysfs_emit(buf, "%d\n", hba->spm_lvl); in spm_lvl_show()112 ufs_pm_lvl_states[hba->spm_lvl].dev_state)); in spm_target_dev_state_show()121 ufs_pm_lvl_states[hba->spm_lvl].link_state)); in spm_target_link_state_show()190 static DEVICE_ATTR_RW(spm_lvl);
461 hba->spm_lvl = UFS_PM_LVL_3; in ufs_hisi_set_pm_lvl()
815 enum ufs_pm_level spm_lvl; member
8694 hba->rpm_lvl : hba->spm_lvl; in ufshcd_suspend()8974 if ((ufs_get_pm_lvl_to_dev_pwr_mode(hba->spm_lvl) == in ufshcd_system_suspend()8976 (ufs_get_pm_lvl_to_link_pwr_state(hba->spm_lvl) == in ufshcd_system_suspend()9425 hba->spm_lvl = ufs_get_desired_pm_lvl_for_dev_link_state( in ufshcd_init()
952 What: /sys/bus/platform/drivers/ufshcd/*/spm_lvl