| /linux/drivers/remoteproc/ |
| H A D | qcom_wcnss_iris.c | 26 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 …]
|
| /linux/drivers/power/sequencing/ |
| H A D | pwrseq-qcom-wcn.c | 22 size_t num_vregs; member 82 return regulator_bulk_enable(ctx->pdata->num_vregs, ctx->regs); in pwrseq_qcom_wcn_vregs_enable() 89 return regulator_bulk_disable(ctx->pdata->num_vregs, ctx->regs); in pwrseq_qcom_wcn_vregs_disable() 322 .num_vregs = ARRAY_SIZE(pwrseq_qca6390_vregs), 341 .num_vregs = ARRAY_SIZE(pwrseq_wcn3990_vregs), 360 .num_vregs = ARRAY_SIZE(pwrseq_wcn6750_vregs), 381 .num_vregs = ARRAY_SIZE(pwrseq_wcn6855_vregs), 399 .num_vregs = ARRAY_SIZE(pwrseq_wcn7850_vregs), 475 ctx->regs = devm_kcalloc(dev, ctx->pdata->num_vregs, in pwrseq_qcom_wcn_probe() 480 for (i = 0; i < ctx->pdata->num_vregs; i++) in pwrseq_qcom_wcn_probe() [all …]
|
| H A D | pwrseq-pcie-m2.c | 38 size_t num_vregs; member 51 return regulator_bulk_enable(ctx->num_vregs, ctx->regs); in pwrseq_pcie_m2_vregs_enable() 58 return regulator_bulk_disable(ctx->num_vregs, ctx->regs); in pwrseq_pcie_m2_vregs_disable() 519 ctx->num_vregs = ret; in pwrseq_pcie_m2_probe() 572 regulator_bulk_free(ctx->num_vregs, ctx->regs); in pwrseq_pcie_m2_probe() 585 regulator_bulk_free(ctx->num_vregs, ctx->regs); in pwrseq_pcie_m2_remove()
|
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-qmp-pcie-multiphy.c | 55 int num_vregs; member 165 .num_vregs = ARRAY_SIZE(glymur_vreg_l), 183 .num_vregs = ARRAY_SIZE(glymur_vreg_l), 201 .num_vregs = ARRAY_SIZE(glymur_vreg_l), 277 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_pcie_init() 298 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_init() 313 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_exit() 448 qmp->vregs = devm_kcalloc(dev, cfg->num_vregs, sizeof(*qmp->vregs), in qmp_pcie_vreg_init() 453 for (i = 0; i < cfg->num_vregs; i++) in qmp_pcie_vreg_init() 456 return devm_regulator_bulk_get(dev, cfg->num_vregs, qmp->vregs); in qmp_pcie_vreg_init()
|
| H A D | phy-qcom-qmp-ufs.c | 1182 int num_vregs; member 1373 .num_vregs = ARRAY_SIZE(milos_ufsphy_vreg_l), 1393 .num_vregs = ARRAY_SIZE(msm8996_ufsphy_vreg_l), 1430 .num_vregs = ARRAY_SIZE(sa8775p_ufsphy_vreg_l), 1464 .num_vregs = ARRAY_SIZE(sc7280_ufsphy_vreg_l), 1498 .num_vregs = ARRAY_SIZE(sc8280xp_ufsphy_vreg_l), 1523 .num_vregs = ARRAY_SIZE(sdm845_ufsphy_vreg_l), 1550 .num_vregs = ARRAY_SIZE(sm6115_ufsphy_vreg_l), 1577 .num_vregs = ARRAY_SIZE(sm7150_ufsphy_vreg_l), 1613 .num_vregs = ARRAY_SIZE(sm8150_ufsphy_vreg_l), [all …]
|
| H A D | phy-qcom-qmp-usb.c | 1404 int num_vregs; member 1563 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 1579 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 1595 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 1611 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 1629 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 1650 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 1668 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 1686 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 1702 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), [all …]
|
| H A D | phy-qcom-qmp-pcie.c | 3993 int num_vregs; member 4294 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 4319 .num_vregs = 0, 4346 .num_vregs = 0, 4375 .num_vregs = 0, 4416 .num_vregs = 0, 4445 .num_vregs = 0, 4473 .num_vregs = 0, 4501 .num_vregs = ARRAY_SIZE(ipq9650_qmp_phy_vreg_l), 4529 .num_vregs = ARRAY_SIZE(ipq9650_qmp_phy_vreg_l), [all …]
|
| H A D | phy-qcom-qmp-usb-legacy.c | 513 int num_vregs; member 618 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 636 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 656 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 677 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 698 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 775 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_init() 806 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_init() 820 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_exit() 1050 int num = cfg->num_vregs; in qmp_usb_legacy_vreg_init()
|
| H A D | phy-qcom-qmp-usbc.c | 424 int num_vregs; member 590 .num_vregs = ARRAY_SIZE(qmp_phy_msm8998_vreg_l), 608 .num_vregs = ARRAY_SIZE(qmp_phy_sm2290_vreg_l), 626 .num_vregs = ARRAY_SIZE(qmp_phy_msm8998_vreg_l), 644 .num_vregs = ARRAY_SIZE(qmp_phy_qcs615_vreg_l), 690 .num_vregs = ARRAY_SIZE(qmp_phy_qcs615_vreg_l), 730 .num_vregs = ARRAY_SIZE(qmp_phy_qcs615_vreg_l), 745 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usbc_com_init() 772 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usbc_com_init() 786 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usbc_com_exit() [all …]
|
| H A D | phy-qcom-qmp-combo.c | 2544 int num_vregs; member 2783 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 2826 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 2871 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 2918 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 2964 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 3009 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 3031 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 3073 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 3118 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), [all …]
|
| /linux/drivers/regulator/ |
| H A D | mt6316-regulator.c | 272 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 D | hci_qca.c | 206 size_t num_vregs; member 216 int num_vregs; member 2109 .num_vregs = 0, 2116 .num_vregs = 0, 2127 .num_vregs = 4, 2138 .num_vregs = 4, 2149 .num_vregs = 4, 2160 .num_vregs = 4, 2172 .num_vregs = 4, 2188 .num_vregs = 9, [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | snoc.c | 1033 ret = regulator_bulk_enable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on() 1044 regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on() 1061 ret_vreg = regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_off() 1811 ar_snoc->num_vregs = ARRAY_SIZE(ath10k_regulators); in ath10k_snoc_probe() 1818 ar_snoc->num_vregs = 1; in ath10k_snoc_probe() 1821 ar_snoc->vregs = devm_kcalloc(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe() 1827 for (i = 0; i < ar_snoc->num_vregs; i++) in ath10k_snoc_probe() 1830 ret = devm_regulator_bulk_get(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe()
|