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()
53 hba->spm_lvl = value; in ufs_sysfs_pm_lvl_store()95 return sprintf(buf, "%d\n", hba->spm_lvl); in spm_lvl_show()110 ufs_pm_lvl_states[hba->spm_lvl].dev_state)); in spm_target_dev_state_show()119 ufs_pm_lvl_states[hba->spm_lvl].link_state)); in spm_target_link_state_show()188 static DEVICE_ATTR_RW(spm_lvl);
461 hba->spm_lvl = UFS_PM_LVL_3; in ufs_hisi_set_pm_lvl()
706 enum ufs_pm_level spm_lvl; member
8527 hba->rpm_lvl : hba->spm_lvl; in ufshcd_suspend()8805 if ((ufs_get_pm_lvl_to_dev_pwr_mode(hba->spm_lvl) == in ufshcd_system_suspend()8807 (ufs_get_pm_lvl_to_link_pwr_state(hba->spm_lvl) == in ufshcd_system_suspend()9262 hba->spm_lvl = ufs_get_desired_pm_lvl_for_dev_link_state( in ufshcd_init()
952 What: /sys/bus/platform/drivers/ufshcd/*/spm_lvl