Home
last modified time | relevance | path

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

/drivers/remoteproc/
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,
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()
173 for (i = 0; i < iris->num_vregs; i++) in qcom_iris_probe()
[all …]
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,
445 int num_vregs, int num_pd_vregs) in wcnss_init_regulators() argument
462 num_vregs += num_pd_vregs; in wcnss_init_regulators()
471 for (i = 0; i < num_vregs; i++) in wcnss_init_regulators()
478 for (i = 0; i < num_vregs; i++) { in wcnss_init_regulators()
[all …]
/drivers/power/sequencing/
A Dpwrseq-qcom-wcn.c22 size_t num_vregs; member
59 return regulator_bulk_enable(ctx->pdata->num_vregs, ctx->regs); in pwrseq_qcom_wcn_vregs_enable()
66 return regulator_bulk_disable(ctx->pdata->num_vregs, ctx->regs); in pwrseq_qcom_wcn_vregs_disable()
269 .num_vregs = ARRAY_SIZE(pwrseq_qca6390_vregs),
287 .num_vregs = ARRAY_SIZE(pwrseq_wcn6750_vregs),
308 .num_vregs = ARRAY_SIZE(pwrseq_wcn6855_vregs),
326 .num_vregs = ARRAY_SIZE(pwrseq_wcn7850_vregs),
381 ctx->regs = devm_kcalloc(dev, ctx->pdata->num_vregs, in pwrseq_qcom_wcn_probe()
386 for (i = 0; i < ctx->pdata->num_vregs; i++) in pwrseq_qcom_wcn_probe()
389 ret = devm_regulator_bulk_get(dev, ctx->pdata->num_vregs, ctx->regs); in pwrseq_qcom_wcn_probe()
/drivers/phy/qualcomm/
A Dphy-qcom-eusb2-repeater.c49 int num_vregs; member
82 .num_vregs = ARRAY_SIZE(pm8550b_vreg_l),
89 .num_vregs = ARRAY_SIZE(pm8550b_vreg_l),
94 int num = rptr->cfg->num_vregs; in eusb2_repeater_init_vregs()
118 ret = regulator_bulk_enable(rptr->cfg->num_vregs, rptr->vregs); in eusb2_repeater_init()
186 return regulator_bulk_disable(rptr->cfg->num_vregs, rptr->vregs); in eusb2_repeater_exit()
A Dphy-qcom-qmp-ufs.c1111 int num_vregs; member
1206 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1243 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1311 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1336 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1363 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1390 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1426 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1460 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1494 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
[all …]
A Dphy-qcom-qmp-usb.c1270 int num_vregs; member
1418 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1434 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1450 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1466 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1484 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1505 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1523 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1541 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
1557 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
[all …]
A Dphy-qcom-qmp-pcie.c3016 int num_vregs; member
3250 .num_vregs = 0,
3277 .num_vregs = 0,
3306 .num_vregs = 0,
3333 .num_vregs = 0,
3361 .num_vregs = 0,
3387 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
3421 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
3448 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
3471 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
[all …]
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()
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()
A Dphy-qcom-qmp-usbc.c314 int num_vregs; member
421 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
437 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
453 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
465 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usbc_init()
502 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usbc_init()
516 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usbc_exit()
743 int num = cfg->num_vregs; in qmp_usbc_vreg_init()
A Dphy-qcom-qmp-combo.c1805 int num_vregs; member
2001 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2043 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2088 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2135 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2181 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2226 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2269 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2314 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
2362 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
[all …]
/drivers/bluetooth/
A Dhci_qca.c207 size_t num_vregs; member
217 int num_vregs; member
2069 .num_vregs = 4,
2080 .num_vregs = 4,
2091 .num_vregs = 4,
2102 .num_vregs = 4,
2114 .num_vregs = 4,
2119 .num_vregs = 0,
2125 .num_vregs = 0,
2141 .num_vregs = 9,
[all …]
/drivers/net/wireless/ath/ath10k/
A Dsnoc.h77 size_t num_vregs; member
A Dsnoc.c1026 ret = regulator_bulk_enable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on()
1037 regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on()
1049 return regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_off()
1773 ar_snoc->num_vregs = ARRAY_SIZE(ath10k_regulators); in ath10k_snoc_probe()
1774 ar_snoc->vregs = devm_kcalloc(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe()
1780 for (i = 0; i < ar_snoc->num_vregs; i++) in ath10k_snoc_probe()
1783 ret = devm_regulator_bulk_get(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe()

Completed in 858 milliseconds