Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Dpcap-regulator.c99 #define VREG_INFO(_vreg, _reg, _en, _index, _stby, _lowpwr) \ macro
109 VREG_INFO(V1, PCAP_REG_VREG1, 1, 2, 18, 0),
110 VREG_INFO(V2, PCAP_REG_VREG1, 5, 6, 19, 22),
111 VREG_INFO(V3, PCAP_REG_VREG1, 7, 8, 20, 23),
112 VREG_INFO(V4, PCAP_REG_VREG1, 11, 12, 21, 24),
114 VREG_INFO(V5, PCAP_REG_VREG1, 15, 16, 12, 19),
116 VREG_INFO(V6, PCAP_REG_VREG2, 1, 2, 14, 20),
117 VREG_INFO(V7, PCAP_REG_VREG2, 3, 4, 15, 21),
118 VREG_INFO(V8, PCAP_REG_VREG2, 5, 6, 16, 22),
119 VREG_INFO(V9, PCAP_REG_VREG2, 9, 10, 17, 23),
[all …]
/linux/drivers/ufs/host/
H A Dufs-mediatek.c1046 struct ufs_vreg_info *info = &hba->vreg_info; in ufs_mtk_vreg_fix_vcc()
1088 struct ufs_vreg_info *info = &hba->vreg_info; in ufs_mtk_vreg_fix_vccqx()
1738 if (!hba->vreg_info.vccq && !hba->vreg_info.vccq2) in ufs_mtk_vccqx_set_lpm()
1741 if (hba->vreg_info.vccq) in ufs_mtk_vccqx_set_lpm()
1742 vccqx = hba->vreg_info.vccq; in ufs_mtk_vccqx_set_lpm()
1744 vccqx = hba->vreg_info.vccq2; in ufs_mtk_vccqx_set_lpm()
1768 if (!hba->vreg_info.vccq && !hba->vreg_info.vccq2) in ufs_mtk_dev_vreg_set_lpm()
1772 if (!hba->vreg_info.vcc) in ufs_mtk_dev_vreg_set_lpm()
1776 if (lpm && hba->vreg_info.vcc && hba->vreg_info.vcc->enabled) { in ufs_mtk_dev_vreg_set_lpm()
1965 if (ufs_mtk_is_broken_vcc(hba) && hba->vreg_info.vcc) { in ufs_mtk_fixup_dev_quirks()
[all …]
/linux/drivers/ufs/core/
H A Dufshcd.c6541 ufshcd_config_vreg_hpm(hba, hba->vreg_info.vccq); in ufshcd_err_handling_prepare()
6542 ufshcd_config_vreg_hpm(hba, hba->vreg_info.vccq2); in ufshcd_err_handling_prepare()
8140 if (!hba->vreg_info.vcc || !hba->vreg_info.vccq || in ufshcd_find_max_sup_active_icc_level()
8141 !hba->vreg_info.vccq2) { in ufshcd_find_max_sup_active_icc_level()
8154 if (hba->vreg_info.vcc->max_uA) in ufshcd_find_max_sup_active_icc_level()
8156 hba->vreg_info.vcc->max_uA, in ufshcd_find_max_sup_active_icc_level()
8160 if (hba->vreg_info.vccq->max_uA) in ufshcd_find_max_sup_active_icc_level()
8162 hba->vreg_info.vccq->max_uA, in ufshcd_find_max_sup_active_icc_level()
8166 if (hba->vreg_info.vccq2->max_uA) in ufshcd_find_max_sup_active_icc_level()
8168 hba->vreg_info.vccq2->max_uA, in ufshcd_find_max_sup_active_icc_level()
[all …]
/linux/include/ufs/
H A Dufshcd.h891 * @vreg_info: UFS device voltage regulator information
1049 struct ufs_vreg_info vreg_info;
1047 struct ufs_vreg_info vreg_info; global() member