Lines Matching refs:lpm
1071 static int ufs_mtk_unipro_set_lpm(struct ufs_hba *hba, bool lpm)
1078 lpm ? 1 : 0);
1079 if (!ret || !lpm) {
1085 host->unipro_lpm = lpm;
1252 static void ufs_mtk_vccqx_set_lpm(struct ufs_hba *hba, bool lpm)
1262 lpm ? REGULATOR_MODE_IDLE : REGULATOR_MODE_NORMAL);
1265 static void ufs_mtk_vsx_set_lpm(struct ufs_hba *hba, bool lpm)
1269 ufs_mtk_device_pwr_ctrl(!lpm,
1274 static void ufs_mtk_dev_vreg_set_lpm(struct ufs_hba *hba, bool lpm)
1284 if (lpm && ufshcd_is_ufs_dev_active(hba))
1288 if (lpm && hba->vreg_info.vcc->enabled)
1291 if (lpm) {
1292 ufs_mtk_vccqx_set_lpm(hba, lpm);
1293 ufs_mtk_vsx_set_lpm(hba, lpm);
1295 ufs_mtk_vsx_set_lpm(hba, lpm);
1296 ufs_mtk_vccqx_set_lpm(hba, lpm);