Home
last modified time | relevance | path

Searched refs:vreg_info (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/scsi/ufs/
H A Dufs-mediatek.c933 if (!hba->vreg_info.vccq2 || !hba->vreg_info.vcc) in ufs_mtk_vreg_set_lpm()
936 if (lpm && !hba->vreg_info.vcc->enabled) in ufs_mtk_vreg_set_lpm()
937 regulator_set_mode(hba->vreg_info.vccq2->reg, in ufs_mtk_vreg_set_lpm()
940 regulator_set_mode(hba->vreg_info.vccq2->reg, in ufs_mtk_vreg_set_lpm()
1044 if (ufs_mtk_is_broken_vcc(hba) && hba->vreg_info.vcc && in ufs_mtk_fixup_dev_quirks()
1046 hba->vreg_info.vcc->always_on = true; in ufs_mtk_fixup_dev_quirks()
H A Dufshcd.c5910 ufshcd_config_vreg_hpm(hba, hba->vreg_info.vccq); in ufshcd_err_handling_prepare()
5911 ufshcd_config_vreg_hpm(hba, hba->vreg_info.vccq2); in ufshcd_err_handling_prepare()
7213 if (!hba->vreg_info.vcc || !hba->vreg_info.vccq || in ufshcd_find_max_sup_active_icc_level()
7214 !hba->vreg_info.vccq2) { in ufshcd_find_max_sup_active_icc_level()
7221 if (hba->vreg_info.vcc && hba->vreg_info.vcc->max_uA) in ufshcd_find_max_sup_active_icc_level()
7223 hba->vreg_info.vcc->max_uA, in ufshcd_find_max_sup_active_icc_level()
7227 if (hba->vreg_info.vccq && hba->vreg_info.vccq->max_uA) in ufshcd_find_max_sup_active_icc_level()
7229 hba->vreg_info.vccq->max_uA, in ufshcd_find_max_sup_active_icc_level()
7233 if (hba->vreg_info.vccq2 && hba->vreg_info.vccq2->max_uA) in ufshcd_find_max_sup_active_icc_level()
7235 hba->vreg_info.vccq2->max_uA, in ufshcd_find_max_sup_active_icc_level()
[all …]
H A Dufshcd-pltfrm.c174 struct ufs_vreg_info *info = &hba->vreg_info; in ufshcd_parse_regulator_info()
H A Dufshcd.h894 struct ufs_vreg_info vreg_info; member