Lines Matching refs:lpm
1155 static int ufs_mtk_unipro_set_lpm(struct ufs_hba *hba, bool lpm)
1162 lpm ? 1 : 0);
1163 if (!ret || !lpm) {
1169 host->unipro_lpm = lpm;
1340 static void ufs_mtk_vccqx_set_lpm(struct ufs_hba *hba, bool lpm)
1350 lpm ? REGULATOR_MODE_IDLE : REGULATOR_MODE_NORMAL);
1353 static void ufs_mtk_vsx_set_lpm(struct ufs_hba *hba, bool lpm)
1357 ufs_mtk_device_pwr_ctrl(!lpm,
1362 static void ufs_mtk_dev_vreg_set_lpm(struct ufs_hba *hba, bool lpm)
1367 if (lpm && ufshcd_is_ufs_dev_active(hba))
1370 /* Skip vccqx lpm control and control vsx only */
1379 if (lpm && hba->vreg_info.vcc && hba->vreg_info.vcc->enabled) {
1380 /* Some device vccqx/vsx can enter lpm */
1387 if (lpm) {
1389 ufs_mtk_vccqx_set_lpm(hba, lpm);
1390 ufs_mtk_vsx_set_lpm(hba, lpm);
1392 ufs_mtk_vsx_set_lpm(hba, lpm);
1394 ufs_mtk_vccqx_set_lpm(hba, lpm);