Home
last modified time | relevance | path

Searched refs:num_vregs (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/remoteproc/
H A Dqcom_wcnss_iris.c26 size_t num_vregs; member
31 size_t num_vregs; member
43 .num_vregs = 4,
54 .num_vregs = 4,
65 .num_vregs = 4,
73 ret = regulator_bulk_enable(iris->num_vregs, iris->vregs); in qcom_iris_enable()
86 regulator_bulk_disable(iris->num_vregs, iris->vregs); in qcom_iris_enable()
94 regulator_bulk_disable(iris->num_vregs, iris->vregs); in qcom_iris_disable()
163 iris->num_vregs = data->num_vregs; in qcom_iris_probe()
165 iris->num_vregs, in qcom_iris_probe()
[all …]
H A Dqcom_wcnss.c63 size_t num_vregs, num_pd_vregs; member
90 size_t num_vregs; member
113 .num_vregs = 3,
127 .num_vregs = 1,
141 .num_vregs = 1,
152 .num_vregs = 1,
249 ret = regulator_bulk_enable(wcnss->num_vregs, wcnss->vregs); in wcnss_start()
282 regulator_bulk_disable(wcnss->num_vregs, wcnss->vregs); in wcnss_start()
445 int num_vregs, int num_pd_vregs) in wcnss_init_regulators() argument
460 num_vregs += num_pd_vregs - wcnss->num_pds; in wcnss_init_regulators()
[all …]
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-eusb2-repeater.c60 int num_vregs; member
100 .num_vregs = ARRAY_SIZE(pm8550b_vreg_l),
108 .num_vregs = ARRAY_SIZE(pm8550b_vreg_l),
115 .num_vregs = ARRAY_SIZE(pm8550b_vreg_l),
122 .num_vregs = ARRAY_SIZE(pm8550b_vreg_l),
127 int num = rptr->cfg->num_vregs; in eusb2_repeater_init_vregs()
153 ret = regulator_bulk_enable(rptr->cfg->num_vregs, rptr->vregs); in eusb2_repeater_init()
233 return regulator_bulk_disable(rptr->cfg->num_vregs, rptr->vregs); in eusb2_repeater_exit()
H A Dphy-qcom-qmp-ufs.c1172 int num_vregs; member
1349 .num_vregs = ARRAY_SIZE(milos_ufsphy_vreg_l),
1369 .num_vregs = ARRAY_SIZE(msm8996_ufsphy_vreg_l),
1406 .num_vregs = ARRAY_SIZE(sa8775p_ufsphy_vreg_l),
1440 .num_vregs = ARRAY_SIZE(sc7280_ufsphy_vreg_l),
1474 .num_vregs = ARRAY_SIZE(sc8280xp_ufsphy_vreg_l),
1499 .num_vregs = ARRAY_SIZE(sdm845_ufsphy_vreg_l),
1526 .num_vregs = ARRAY_SIZE(sm6115_ufsphy_vreg_l),
1553 .num_vregs = ARRAY_SIZE(sm7150_ufsphy_vreg_l),
1589 .num_vregs = ARRAY_SIZE(sm8150_ufsphy_vreg_l),
[all …]
H A Dphy-qcom-qmp-usb.c1404 int num_vregs; member
1561 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1577 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1593 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1609 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1627 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1648 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1666 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1684 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1700 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
[all …]
H A Dphy-qcom-qmp-pcie.c3285 int num_vregs; member
3553 .num_vregs = 0,
3580 .num_vregs = 0,
3609 .num_vregs = 0,
3636 .num_vregs = 0,
3664 .num_vregs = 0,
3690 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
3724 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
3751 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
3774 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
[all …]
H A Dphy-qcom-qmp-usb-legacy.c513 int num_vregs; member
616 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
634 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
654 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
675 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
696 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
773 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_init()
804 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_init()
818 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_exit()
1042 int num = cfg->num_vregs; in qmp_usb_legacy_vreg_init()
H A Dphy-qcom-qmp-pcie-msm8996.c162 int num_vregs; member
276 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
322 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_init()
354 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_init()
385 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_exit()
532 int num = cfg->num_vregs; in qmp_pcie_msm8996_vreg_init()
H A Dphy-qcom-qmp-usbc.c424 int num_vregs; member
586 .num_vregs = ARRAY_SIZE(qmp_phy_msm8998_vreg_l),
604 .num_vregs = ARRAY_SIZE(qmp_phy_sm2290_vreg_l),
622 .num_vregs = ARRAY_SIZE(qmp_phy_msm8998_vreg_l),
640 .num_vregs = ARRAY_SIZE(qmp_phy_qcs615_vreg_l),
686 .num_vregs = ARRAY_SIZE(qmp_phy_qcs615_vreg_l),
701 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usbc_com_init()
728 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usbc_com_init()
742 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usbc_com_exit()
1938 ret = devm_regulator_bulk_get_const(qmp->dev, qmp->cfg->num_vregs, in qmp_usbc_probe()
H A Dphy-qcom-qmp-combo.c2253 int num_vregs; member
2475 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2518 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2563 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2611 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2658 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2704 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2747 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2793 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2842 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
[all …]
/linux/drivers/power/sequencing/
H A Dpwrseq-pcie-m2.c26 size_t num_vregs; member
34 return regulator_bulk_enable(ctx->num_vregs, ctx->regs); in pwrseq_pcie_m2_m_vregs_enable()
41 return regulator_bulk_disable(ctx->num_vregs, ctx->regs); in pwrseq_pcie_m2_m_vregs_disable()
98 regulator_bulk_free(ctx->num_vregs, ctx->regs); in pwrseq_pcie_m2_free_regulators()
128 ctx->num_vregs = ret; in pwrseq_pcie_m2_probe()
/linux/drivers/regulator/
H A Dmt6316-regulator.c272 int num_vregs, ret; in mt6316_regulator_probe() local
300 num_vregs = ARRAY_SIZE(mt6316bv_regulators); in mt6316_regulator_probe()
304 num_vregs = ARRAY_SIZE(mt6316chk_regulators); in mt6316_regulator_probe()
308 num_vregs = ARRAY_SIZE(mt6316dt_regulators); in mt6316_regulator_probe()
314 for (i = 0; i < num_vregs; i++) { in mt6316_regulator_probe()
/linux/drivers/bluetooth/
H A Dhci_qca.c208 size_t num_vregs; member
218 int num_vregs; member
2107 .num_vregs = 4,
2118 .num_vregs = 4,
2129 .num_vregs = 4,
2140 .num_vregs = 4,
2152 .num_vregs = 4,
2157 .num_vregs = 0,
2164 .num_vregs = 0,
2180 .num_vregs = 9,
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dsnoc.c1032 ret = regulator_bulk_enable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on()
1043 regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on()
1060 ret_vreg = regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_off()
1803 ar_snoc->num_vregs = ARRAY_SIZE(ath10k_regulators); in ath10k_snoc_probe()
1810 ar_snoc->num_vregs = 1; in ath10k_snoc_probe()
1813 ar_snoc->vregs = devm_kcalloc(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe()
1819 for (i = 0; i < ar_snoc->num_vregs; i++) in ath10k_snoc_probe()
1822 ret = devm_regulator_bulk_get(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe()
H A Dsnoc.h80 size_t num_vregs; member