Lines Matching refs:vreg_info
6140 ufshcd_config_vreg_hpm(hba, hba->vreg_info.vccq); in ufshcd_err_handling_prepare()
6141 ufshcd_config_vreg_hpm(hba, hba->vreg_info.vccq2); in ufshcd_err_handling_prepare()
7485 if (!hba->vreg_info.vcc || !hba->vreg_info.vccq || in ufshcd_find_max_sup_active_icc_level()
7486 !hba->vreg_info.vccq2) { in ufshcd_find_max_sup_active_icc_level()
7499 if (hba->vreg_info.vcc->max_uA) in ufshcd_find_max_sup_active_icc_level()
7501 hba->vreg_info.vcc->max_uA, in ufshcd_find_max_sup_active_icc_level()
7505 if (hba->vreg_info.vccq->max_uA) in ufshcd_find_max_sup_active_icc_level()
7507 hba->vreg_info.vccq->max_uA, in ufshcd_find_max_sup_active_icc_level()
7511 if (hba->vreg_info.vccq2->max_uA) in ufshcd_find_max_sup_active_icc_level()
7513 hba->vreg_info.vccq2->max_uA, in ufshcd_find_max_sup_active_icc_level()
8470 struct ufs_vreg_info *info = &hba->vreg_info; in ufshcd_setup_vreg()
8493 struct ufs_vreg_info *info = &hba->vreg_info; in ufshcd_setup_hba_vreg()
8520 struct ufs_vreg_info *info = &hba->vreg_info; in ufshcd_init_vreg()
8535 struct ufs_vreg_info *info = &hba->vreg_info; in ufshcd_init_hba_vreg()
8933 ufshcd_toggle_vreg(hba->dev, hba->vreg_info.vcc, false); in ufshcd_vreg_set_lpm()
8936 ufshcd_config_vreg_lpm(hba, hba->vreg_info.vccq); in ufshcd_vreg_set_lpm()
8937 ufshcd_config_vreg_lpm(hba, hba->vreg_info.vccq2); in ufshcd_vreg_set_lpm()
8944 if (vcc_off && hba->vreg_info.vcc && in ufshcd_vreg_set_lpm()
8959 ret = ufshcd_config_vreg_hpm(hba, hba->vreg_info.vccq); in ufshcd_vreg_set_hpm()
8962 ret = ufshcd_config_vreg_hpm(hba, hba->vreg_info.vccq2); in ufshcd_vreg_set_hpm()
8966 ret = ufshcd_toggle_vreg(hba->dev, hba->vreg_info.vcc, true); in ufshcd_vreg_set_hpm()
8971 ufshcd_config_vreg_lpm(hba, hba->vreg_info.vccq); in ufshcd_vreg_set_hpm()
8973 ufshcd_toggle_vreg(hba->dev, hba->vreg_info.vcc, false); in ufshcd_vreg_set_hpm()