Home
last modified time | relevance | path

Searched refs:spm_lvl (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/ufs/host/
H A Dufshcd-pci.c419 hba->spm_lvl = UFS_PM_LVL_6; in ufs_intel_lkf_init()
422 hba->spm_lvl = UFS_PM_LVL_5; in ufs_intel_lkf_init()
440 hba->spm_lvl = UFS_PM_LVL_2; in ufs_intel_mtl_init()
556 if (pm_suspend_target_state != PM_SUSPEND_TO_IDLE && hba->spm_lvl < UFS_PM_LVL_5) { in ufs_intel_suspend_prepare()
557 host->saved_spm_lvl = hba->spm_lvl; in ufs_intel_suspend_prepare()
558 hba->spm_lvl = UFS_PM_LVL_5; in ufs_intel_suspend_prepare()
564 hba->spm_lvl = host->saved_spm_lvl; in ufs_intel_suspend_prepare()
579 hba->spm_lvl = host->saved_spm_lvl; in ufs_intel_resume_complete()
H A Dufs-rockchip.c58 hba->spm_lvl = UFS_PM_LVL_5; in ufs_rockchip_set_pm_lvl()
313 if (hba->spm_lvl < UFS_PM_LVL_5) in ufs_rockchip_system_suspend()
H A Dufs-hisi.c461 hba->spm_lvl = UFS_PM_LVL_3; in ufs_hisi_set_pm_lvl()
H A Dufs-qcom.c1454 hba->spm_lvl = UFS_PM_LVL_5; in ufs_qcom_init()
1504 hba->spm_lvl = hba->rpm_lvl = hba->pm_lvl_min = UFS_PM_LVL_5; in ufs_qcom_fw_managed_init()
/linux/drivers/ufs/core/
H A Dufs-sysfs.c156 hba->spm_lvl = value; in ufs_sysfs_pm_lvl_store()
198 return sysfs_emit(buf, "%d\n", hba->spm_lvl); in spm_lvl_show()
213 ufs_pm_lvl_states[hba->spm_lvl].dev_state)); in spm_target_dev_state_show()
222 ufs_pm_lvl_states[hba->spm_lvl].link_state)); in spm_target_link_state_show()
611 static DEVICE_ATTR_RW(spm_lvl);
H A Dufshcd.c9995 hba->rpm_lvl : hba->spm_lvl; in __ufshcd_wl_suspend()
10876 hba->spm_lvl = ufs_get_desired_pm_lvl_for_dev_link_state( in ufshcd_init()
11107 dev_pwr_mode = ufs_get_pm_lvl_to_dev_pwr_mode(hba->spm_lvl); in ufshcd_rpm_ok_for_spm()
11108 link_state = ufs_get_pm_lvl_to_link_pwr_state(hba->spm_lvl); in ufshcd_rpm_ok_for_spm()
/linux/include/ufs/
H A Dufshcd.h975 enum ufs_pm_level spm_lvl; member
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-ufs1041 What: /sys/bus/platform/drivers/ufshcd/*/spm_lvl
1042 What: /sys/bus/platform/devices/*.ufs/spm_lvl