Home
last modified time | relevance | path

Searched refs:vregs (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/remoteproc/
H A Dqcom_wcnss_iris.c25 struct regulator_bulk_data *vregs; member
30 const struct wcnss_vreg_info *vregs; member
37 .vregs = (struct wcnss_vreg_info[]) {
48 .vregs = (struct wcnss_vreg_info[]) {
59 .vregs = (struct wcnss_vreg_info[]) {
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()
164 iris->vregs = devm_kcalloc(&iris->dev, in qcom_iris_probe()
168 if (!iris->vregs) { in qcom_iris_probe()
[all …]
/linux/tools/testing/selftests/kvm/arm64/
H A Dget-reg-list.c164 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_id_to_str()
165 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_id_to_str()
166 idx = (core_off - KVM_REG_ARM_CORE_REG(fp_regs.vregs[0])) / CORE_FPREGS_XX_NR_WORDS; in core_id_to_str()
167 TEST_ASSERT(idx < 32, "%s: Unexpected fp_regs.vregs index: %lld", prefix, idx); in core_id_to_str()
168 return strdup_printf("KVM_REG_ARM_CORE_REG(fp_regs.vregs[%lld])", idx); in core_id_to_str()
611 static __u64 vregs[] = {
612 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]),
613 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[1]),
614 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[2]),
615 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[
609 static __u64 vregs[] = { global() variable
[all...]
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-usb-hs-28nm.c63 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()
H A Dphy-qcom-pcie2.c43 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()
276 qphy->vregs[0].supply = "vdda-vp"; in qcom_pcie2_phy_probe()
277 qphy->vregs[1].supply = "vdda-vph"; in qcom_pcie2_phy_probe()
278 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(qphy->vregs), qphy->vregs); in qcom_pcie2_phy_probe()
H A Dphy-qcom-snps-femto-v2.c134 struct regulator_bulk_data vregs[SNPS_HS_NUM_VREGS]; member
393 ret = regulator_bulk_enable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init()
474 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init()
485 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_exit()
593 num = ARRAY_SIZE(hsphy->vregs); in qcom_snps_hsphy_probe()
595 hsphy->vregs[i].supply = qcom_snps_hsphy_vreg_names[i]; in qcom_snps_hsphy_probe()
597 ret = devm_regulator_bulk_get(dev, num, hsphy->vregs); in qcom_snps_hsphy_probe()
H A Dphy-qcom-qmp-pcie-multiphy.c71 struct regulator_bulk_data *vregs; member
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()
450 if (!qmp->vregs) in qmp_pcie_vreg_init()
454 qmp->vregs[i].supply = cfg->vreg_list[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 Dphy-qcom-m31-eusb2.c121 struct regulator_bulk_data *vregs; member
187 ret = regulator_bulk_enable(M31_EUSB_NUM_VREGS, phy->vregs); in m31eusb2_phy_init()
222 regulator_bulk_disable(M31_EUSB_NUM_VREGS, phy->vregs); in m31eusb2_phy_init()
232 regulator_bulk_disable(M31_EUSB_NUM_VREGS, phy->vregs); in m31eusb2_phy_exit()
281 m31_eusb_phy_vregs, &phy->vregs); in m31eusb2_phy_probe()
H A Dphy-qcom-qusb2.c471 struct regulator_bulk_data vregs[QUSB2_NUM_VREGS]; member
771 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init()
906 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init()
927 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_exit()
1041 num = ARRAY_SIZE(qphy->vregs); in qusb2_phy_probe()
1043 qphy->vregs[i].supply = qusb2_phy_vreg_names[i]; in qusb2_phy_probe()
1045 ret = devm_regulator_bulk_get(dev, num, qphy->vregs); in qusb2_phy_probe()
H A Dphy-qcom-sgmii-eth.c38 struct regulator_bulk_data *vregs; member
285 ret = regulator_bulk_enable(QCOM_SGMII_NUM_SUPPLIES, data->vregs); in qcom_dwmac_sgmii_phy_power_on()
302 regulator_bulk_disable(QCOM_SGMII_NUM_SUPPLIES, data->vregs); in qcom_dwmac_sgmii_phy_power_on()
319 regulator_bulk_disable(QCOM_SGMII_NUM_SUPPLIES, data->vregs); in qcom_dwmac_sgmii_phy_power_off()
409 &data->vregs); in qcom_dwmac_sgmii_phy_probe()
H A Dphy-qcom-qmp-usb-legacy.c541 struct regulator_bulk_data *vregs; member
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()
1053 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_usb_legacy_vreg_init()
1054 if (!qmp->vregs) in qmp_usb_legacy_vreg_init()
1058 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_usb_legacy_vreg_init()
1060 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_usb_legacy_vreg_init()
H A Dphy-qcom-qmp-usbc.c456 struct regulator_bulk_data *vregs; member
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()
1983 qmp->cfg->vreg_list, &qmp->vregs); in qmp_usbc_probe()
H A Dphy-qcom-qmp-ufs.c1206 struct regulator_bulk_data *vregs; member
2068 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_ufs_power_on()
2082 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_ufs_power_on()
2134 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_ufs_power_off()
2357 &qmp->vregs); in qmp_ufs_probe()
H A Dphy-qcom-qmp-usb.c1433 struct regulator_bulk_data *vregs; member
1889 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usb_init()
1918 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_init()
1932 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_exit()
2407 qmp->cfg->vreg_list, &qmp->vregs); in qmp_usb_probe()
H A Dphy-qcom-qmp-pcie.c4038 struct regulator_bulk_data *vregs; member
5704 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_pcie_init()
5750 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_init()
5767 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_exit()
5934 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_pcie_vreg_init()
5935 if (!qmp->vregs) in qmp_pcie_vreg_init()
5939 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_pcie_vreg_init()
5941 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_pcie_vreg_init()
H A Dphy-qcom-qmp-combo.c2585 struct regulator_bulk_data *vregs; member
4022 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_combo_com_init()
4114 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_combo_com_init()
4133 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_combo_com_exit()
5227 qmp->cfg->vreg_list, &qmp->vregs); in qmp_combo_probe()
/linux/drivers/phy/
H A Dphy-snps-eusb2.c170 struct regulator_bulk_data vregs[EUSB2_NUM_VREGS]; member
460 ret = regulator_bulk_enable(ARRAY_SIZE(phy->vregs), phy->vregs); in snps_eusb2_hsphy_init()
501 regulator_bulk_disable(ARRAY_SIZE(phy->vregs), phy->vregs); in snps_eusb2_hsphy_init()
512 regulator_bulk_disable(ARRAY_SIZE(phy->vregs), phy->vregs); in snps_eusb2_hsphy_exit()
579 num = ARRAY_SIZE(phy->vregs); in snps_eusb2_hsphy_probe()
581 phy->vregs[i].supply = eusb2_hsphy_vreg_names[i]; in snps_eusb2_hsphy_probe()
583 ret = devm_regulator_bulk_get(dev, num, phy->vregs); in snps_eusb2_hsphy_probe()
/linux/drivers/power/sequencing/
H A Dpwrseq-qcom-wcn.c21 const char *const *vregs; member
321 .vregs = pwrseq_qca6390_vregs,
340 .vregs = pwrseq_wcn3990_vregs,
359 .vregs = pwrseq_wcn6750_vregs,
380 .vregs = pwrseq_wcn6855_vregs,
398 .vregs = pwrseq_wcn7850_vregs,
481 ctx->regs[i].supply = ctx->pdata->vregs[i]; in pwrseq_qcom_wcn_probe()
/linux/arch/loongarch/include/uapi/asm/
H A Dptrace.h47 __u64 vregs[32*2]; member
52 __u64 vregs[32*4]; member
/linux/tools/testing/selftests/arm64/fp/
H A Dsve-ptrace.c366 p = (unsigned char *)&fpsimd->vregs[i]; in ptrace_sve_fpsimd()
368 for (j = 0; j < sizeof(fpsimd->vregs[i]); ++j) in ptrace_sve_fpsimd()
424 p = (unsigned char *)&fpsimd->vregs[i]; in ptrace_sve_fpsimd_no_sve()
426 for (j = 0; j < sizeof(fpsimd->vregs[i]); ++j) in ptrace_sve_fpsimd_no_sve()
611 if (tmp != fpsimd_state.vregs[i]) { in ptrace_set_sve_get_fpsimd_data()
651 p = (unsigned char *)&write_fpsimd.vregs[i]; in ptrace_set_fpsimd_get_sve_data()
653 for (j = 0; j < sizeof(write_fpsimd.vregs[i]); ++j) in ptrace_set_fpsimd_get_sve_data()
713 if (tmp != write_fpsimd.vregs[i]) { in ptrace_set_fpsimd_get_sve_data()
H A Dfp-ptrace.c499 if (!compare_buffer("initial V via SVE", &fpsimd->vregs[0], in check_ptrace_values_ssve()
592 &fpsimd->vregs[0], v_in, sizeof(v_in))) in check_ptrace_values_za()
715 if (!compare_buffer("initial V", &fpsimd.vregs, v_in, in run_parent()
1147 memcpy(&fpsimd.vregs, v_expected, sizeof(v_expected)); in fpmr_write()
1284 memcpy(&fpsimd->vregs, v_expected, sizeof(v_expected)); in za_write_expected()
/linux/drivers/bluetooth/
H A Dhci_qca.c205 struct qca_vreg *vregs; member
2121 .vregs = (struct qca_vreg []) {
2132 .vregs = (struct qca_vreg []) {
2143 .vregs = (struct qca_vreg []) {
2154 .vregs = (struct qca_vreg []) {
2166 .vregs = (struct qca_vreg []) {
2177 .vregs = (struct qca_vreg []) {
2194 .vregs = (struct qca_vreg []) {
2209 .vregs = (struct qca_vreg []) {
2363 const struct qca_vreg *vregs, size_t num_vregs) in qca_init_regulators() argument
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dsnoc.c1033 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()
1821 ar_snoc->vregs = devm_kcalloc(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe()
1822 sizeof(*ar_snoc->vregs), GFP_KERNEL); in ath10k_snoc_probe()
1823 if (!ar_snoc->vregs) { in ath10k_snoc_probe()
1828 ar_snoc->vregs[i].supply = ath10k_regulators[i]; in ath10k_snoc_probe()
1831 ar_snoc->vregs); in ath10k_snoc_probe()
/linux/arch/arm64/kernel/
H A Dsignal.c287 err = __copy_to_user(ctx->vregs, fpsimd->vregs, sizeof(fpsimd->vregs)); in preserve_fpsimd_context()
308 err = __copy_from_user(fpsimd->vregs, &(user->fpsimd->vregs), in read_fpsimd_context()
309 sizeof(fpsimd->vregs)); in read_fpsimd_context()
H A Dfpsimd.c650 *p = arm64_cpu_to_le128(fst->vregs[i]); in __fpsimd_to_sve()
705 fst->vregs[i] = arm64_le128_to_cpu(*p); in sve_to_fpsimd()
711 memset(&fpsimd->vregs, 0, sizeof(fpsimd->vregs)); in __fpsimd_zero_vregs()