Lines Matching refs:lpm
1032 static int ufs_mtk_unipro_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_unipro_set_lpm() argument
1039 lpm ? 1 : 0); in ufs_mtk_unipro_set_lpm()
1040 if (!ret || !lpm) { in ufs_mtk_unipro_set_lpm()
1046 host->unipro_lpm = lpm; in ufs_mtk_unipro_set_lpm()
1203 static void ufs_mtk_vccqx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vccqx_set_lpm() argument
1213 lpm ? REGULATOR_MODE_IDLE : REGULATOR_MODE_NORMAL); in ufs_mtk_vccqx_set_lpm()
1216 static void ufs_mtk_vsx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vsx_set_lpm() argument
1220 ufs_mtk_device_pwr_ctrl(!lpm, in ufs_mtk_vsx_set_lpm()
1225 static void ufs_mtk_dev_vreg_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_dev_vreg_set_lpm() argument
1235 if (lpm && ufshcd_is_ufs_dev_active(hba)) in ufs_mtk_dev_vreg_set_lpm()
1239 if (lpm && hba->vreg_info.vcc->enabled) in ufs_mtk_dev_vreg_set_lpm()
1242 if (lpm) { in ufs_mtk_dev_vreg_set_lpm()
1243 ufs_mtk_vccqx_set_lpm(hba, lpm); in ufs_mtk_dev_vreg_set_lpm()
1244 ufs_mtk_vsx_set_lpm(hba, lpm); in ufs_mtk_dev_vreg_set_lpm()
1246 ufs_mtk_vsx_set_lpm(hba, lpm); in ufs_mtk_dev_vreg_set_lpm()
1247 ufs_mtk_vccqx_set_lpm(hba, lpm); in ufs_mtk_dev_vreg_set_lpm()