Searched refs:vregs (Results 1 – 7 of 7) sorted by relevance
/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 | 57 const struct wcnss_vreg_info *vregs; member 82 struct regulator_bulk_data *vregs; member 101 .vregs = (struct wcnss_vreg_info[]) { 113 .vregs = (struct wcnss_vreg_info[]) { 125 .vregs = (struct wcnss_vreg_info[]) { 223 ret = regulator_bulk_enable(wcnss->num_vregs, wcnss->vregs); in wcnss_start() 256 regulator_bulk_disable(wcnss->num_vregs, wcnss->vregs); in wcnss_start() 397 wcnss->vregs = bulk; in wcnss_init_regulators() 508 ret = wcnss_init_regulators(wcnss, data->vregs, data->num_vregs); in wcnss_probe()
|
/drivers/phy/qualcomm/ |
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 | 317 struct regulator_bulk_data vregs[QUSB2_NUM_VREGS]; member 604 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init() 734 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init() 755 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_exit() 835 num = ARRAY_SIZE(qphy->vregs); in qusb2_phy_probe() 837 qphy->vregs[i].supply = qusb2_phy_vreg_names[i]; in qusb2_phy_probe() 839 ret = devm_regulator_bulk_get(dev, num, qphy->vregs); in qusb2_phy_probe()
|
D | phy-qcom-qmp.c | 1228 struct regulator_bulk_data *vregs; member 1617 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_init() 1704 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_init() 1738 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_exit() 2033 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qcom_qmp_phy_vreg_init() 2034 if (!qmp->vregs) in qcom_qmp_phy_vreg_init() 2038 qmp->vregs[i].supply = qmp->cfg->vreg_list[i]; in qcom_qmp_phy_vreg_init() 2040 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/bluetooth/ |
D | hci_qca.c | 140 struct qca_vreg *vregs; member 1334 .vregs = (struct qca_vreg []) { 1345 .vregs = (struct qca_vreg []) { 1386 static int qca_enable_regulator(struct qca_vreg vregs, in qca_enable_regulator() argument 1391 ret = regulator_set_voltage(regulator, vregs.min_uV, in qca_enable_regulator() 1392 vregs.max_uV); in qca_enable_regulator() 1396 if (vregs.load_uA) in qca_enable_regulator() 1398 vregs.load_uA); in qca_enable_regulator() 1407 static void qca_disable_regulator(struct qca_vreg vregs, in qca_disable_regulator() argument 1411 regulator_set_voltage(regulator, 0, vregs.max_uV); in qca_disable_regulator() [all …]
|