/drivers/remoteproc/ |
D | qcom_wcnss_iris.c | 24 struct regulator_bulk_data *vregs; member 29 const struct wcnss_vreg_info *vregs; member 36 .vregs = (struct wcnss_vreg_info[]) { 47 .vregs = (struct wcnss_vreg_info[]) { 58 .vregs = (struct wcnss_vreg_info[]) { 72 ret = regulator_bulk_enable(iris->num_vregs, iris->vregs); in qcom_iris_enable() 85 regulator_bulk_disable(iris->num_vregs, iris->vregs); in qcom_iris_enable() 93 regulator_bulk_disable(iris->num_vregs, iris->vregs); in qcom_iris_disable() 119 iris->vregs = devm_kcalloc(&pdev->dev, in qcom_iris_probe() 123 if (!iris->vregs) in qcom_iris_probe() [all …]
|
D | qcom_wcnss.c | 58 const struct wcnss_vreg_info *vregs; member 83 struct regulator_bulk_data *vregs; member 102 .vregs = (struct wcnss_vreg_info[]) { 114 .vregs = (struct wcnss_vreg_info[]) { 126 .vregs = (struct wcnss_vreg_info[]) { 231 ret = regulator_bulk_enable(wcnss->num_vregs, wcnss->vregs); in wcnss_start() 264 regulator_bulk_disable(wcnss->num_vregs, wcnss->vregs); in wcnss_start() 405 wcnss->vregs = bulk; in wcnss_init_regulators() 524 ret = wcnss_init_regulators(wcnss, data->vregs, data->num_vregs); in wcnss_probe()
|
/drivers/phy/qualcomm/ |
D | phy-qcom-snps-femto-v2.c | 93 struct regulator_bulk_data vregs[SNPS_HS_NUM_VREGS]; member 203 ret = regulator_bulk_enable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init() 273 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init() 284 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_exit() 339 num = ARRAY_SIZE(hsphy->vregs); in qcom_snps_hsphy_probe() 341 hsphy->vregs[i].supply = qcom_snps_hsphy_vreg_names[i]; in qcom_snps_hsphy_probe() 343 ret = devm_regulator_bulk_get(dev, num, hsphy->vregs); in qcom_snps_hsphy_probe()
|
D | phy-qcom-usb-hs-28nm.c | 63 struct regulator_bulk_data vregs[VREG_NUM]; member 160 ret = regulator_bulk_enable(VREG_NUM, priv->vregs); in qcom_snps_hsphy_power_on() 176 regulator_bulk_disable(VREG_NUM, priv->vregs); in qcom_snps_hsphy_power_off() 344 priv->vregs[VDD].supply = "vdd"; in qcom_snps_hsphy_probe() 345 priv->vregs[VDDA_1P8].supply = "vdda1p8"; in qcom_snps_hsphy_probe() 346 priv->vregs[VDDA_3P3].supply = "vdda3p3"; in qcom_snps_hsphy_probe() 348 ret = devm_regulator_bulk_get(dev, VREG_NUM, priv->vregs); in qcom_snps_hsphy_probe() 365 ret = regulator_set_load(priv->vregs[VDDA_1P8].consumer, 19000); in qcom_snps_hsphy_probe() 369 ret = regulator_set_load(priv->vregs[VDDA_3P3].consumer, 16000); in qcom_snps_hsphy_probe() 376 regulator_set_load(priv->vregs[VDDA_1P8].consumer, 0); in qcom_snps_hsphy_probe()
|
D | phy-qcom-pcie2.c | 43 struct regulator_bulk_data vregs[2]; member 61 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qcom_pcie2_phy_init() 191 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qcom_pcie2_phy_exit() 275 qphy->vregs[0].supply = "vdda-vp"; in qcom_pcie2_phy_probe() 276 qphy->vregs[1].supply = "vdda-vph"; in qcom_pcie2_phy_probe() 277 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(qphy->vregs), qphy->vregs); in qcom_pcie2_phy_probe()
|
D | phy-qcom-qusb2.c | 350 struct regulator_bulk_data vregs[QUSB2_NUM_VREGS]; member 650 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init() 780 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init() 801 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_exit() 893 num = ARRAY_SIZE(qphy->vregs); in qusb2_phy_probe() 895 qphy->vregs[i].supply = qusb2_phy_vreg_names[i]; in qusb2_phy_probe() 897 ret = devm_regulator_bulk_get(dev, num, qphy->vregs); in qusb2_phy_probe()
|
D | phy-qcom-qmp.c | 1962 struct regulator_bulk_data *vregs; member 2926 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_init() 3000 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_init() 3035 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_exit() 3387 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qcom_qmp_phy_vreg_init() 3388 if (!qmp->vregs) in qcom_qmp_phy_vreg_init() 3392 qmp->vregs[i].supply = cfg->vreg_list[i]; in qcom_qmp_phy_vreg_init() 3394 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qcom_qmp_phy_vreg_init()
|
/drivers/hwmon/ |
D | ltc4245.c | 62 u8 vregs[0x0d]; member 85 data->gpios[0] = data->vregs[LTC4245_GPIOADC - 0x10]; in ltc4245_update_gpios() 110 data->gpios[gpio_curr] = data->vregs[LTC4245_GPIOADC - 0x10]; in ltc4245_update_gpios() 149 for (i = 0; i < ARRAY_SIZE(data->vregs); i++) { in ltc4245_update_device() 152 data->vregs[i] = 0; in ltc4245_update_device() 154 data->vregs[i] = val; in ltc4245_update_device() 173 const u8 regval = data->vregs[reg - 0x10]; in ltc4245_get_voltage() 209 const u8 regval = data->vregs[reg - 0x10]; in ltc4245_get_current()
|
/drivers/net/wireless/ath/ath10k/ |
D | snoc.c | 1389 ret = regulator_bulk_enable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on() 1400 regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on() 1412 return regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_off() 1694 ar_snoc->vregs = devm_kcalloc(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe() 1695 sizeof(*ar_snoc->vregs), GFP_KERNEL); in ath10k_snoc_probe() 1696 if (!ar_snoc->vregs) { in ath10k_snoc_probe() 1701 ar_snoc->vregs[i].supply = ath10k_regulators[i]; in ath10k_snoc_probe() 1704 ar_snoc->vregs); in ath10k_snoc_probe()
|
D | snoc.h | 73 struct regulator_bulk_data *vregs; member
|
/drivers/bluetooth/ |
D | hci_qca.c | 204 struct qca_vreg *vregs; member 1782 .vregs = (struct qca_vreg []) { 1793 .vregs = (struct qca_vreg []) { 1805 .vregs = (struct qca_vreg []) { 1922 const struct qca_vreg *vregs, size_t num_vregs) in qca_init_regulators() argument 1933 bulk[i].supply = vregs[i].name; in qca_init_regulators() 1940 ret = regulator_set_load(bulk[i].consumer, vregs[i].load_uA); in qca_init_regulators() 1982 err = qca_init_regulators(qcadev->bt_power, data->vregs, in qca_serdev_probe()
|