Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ufs/core/
H A Dufs-sysfs.c61 hba->spm_lvl = value; in ufs_sysfs_pm_lvl_store()
103 return sysfs_emit(buf, "%d\n", hba->spm_lvl); in spm_lvl_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()
335 static DEVICE_ATTR_RW(spm_lvl);
H A Dufshcd.c9668 hba->rpm_lvl : hba->spm_lvl; in __ufshcd_wl_suspend()
10595 if (!hba->spm_lvl) in __ufshcd_suspend_prepare()
10596 hba->spm_lvl = ufs_get_desired_pm_lvl_for_dev_link_state( in __ufshcd_suspend_prepare()
10662 dev_pwr_mode = ufs_get_pm_lvl_to_dev_pwr_mode(hba->spm_lvl); in ufshcd_check_header_layout()
10663 link_state = ufs_get_pm_lvl_to_link_pwr_state(hba->spm_lvl); in ufshcd_check_header_layout()
/openbmc/linux/drivers/ufs/host/
H A Dufshcd-pci.c412 hba->spm_lvl = UFS_PM_LVL_6; in ufs_intel_lkf_late_init()
415 hba->spm_lvl = UFS_PM_LVL_5; in ufs_intel_lkf_late_init()
H A Dufs-hisi.c462 hba->spm_lvl = UFS_PM_LVL_3; in ufs_hisi_set_pm_lvl()
/openbmc/linux/include/ufs/
H A Dufshcd.h809 * @spm_lvl: desired UFS power management level during system PM.
940 enum ufs_pm_level spm_lvl;
938 enum ufs_pm_level spm_lvl; global() member
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-ufs1039 What: /sys/bus/platform/drivers/ufshcd/*/spm_lvl
1040 What: /sys/bus/platform/devices/*.ufs/spm_lvl