Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/remoteproc/
Dqcom_wcnss_iris.c24 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 …]
Dqcom_wcnss.c58 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()
517 ret = wcnss_init_regulators(wcnss, data->vregs, data->num_vregs); in wcnss_probe()
/Linux-v5.10/tools/testing/selftests/kvm/aarch64/
Dget-reg-list.c56 static __u64 base_regs[], vregs[], sve_regs[], rejects_set[]; variable
115 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_id_to_str()
116 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_id_to_str()
117 idx = (core_off - KVM_REG_ARM_CORE_REG(fp_regs.vregs[0])) / CORE_FPREGS_XX_NR_WORDS; in core_id_to_str()
273 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_reg_fixup()
274 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_reg_fixup()
413 vec_regs = vregs; in main()
745 static __u64 vregs[] = { variable
746 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]),
747 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[1]),
[all …]
/Linux-v5.10/tools/testing/selftests/arm64/fp/
Dsve-ptrace.c41 static int check_vregs(const __uint128_t vregs[NR_VREGS]) in check_vregs()
48 dump(&vregs[i], sizeof vregs[i]); in check_vregs()
51 if (vregs[i] != vregs[0]) in check_vregs()
227 p = (unsigned char *)&fpsimd->vregs[i]; in do_parent()
229 for (j = 0; j < sizeof fpsimd->vregs[i]; ++j) in do_parent()
286 dump_sve_regs(new_sve, 3, sizeof fpsimd->vregs[0]); in do_parent()
289 for (i = 0; i < sizeof fpsimd->vregs[0]; ++i) { in do_parent()
293 expected = sizeof fpsimd->vregs[0] - 1 - expected; in do_parent()
/Linux-v5.10/drivers/phy/qualcomm/
Dphy-qcom-snps-femto-v2.c89 struct regulator_bulk_data vregs[SNPS_HS_NUM_VREGS]; member
182 ret = regulator_bulk_enable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init()
252 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init()
263 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_exit()
320 num = ARRAY_SIZE(hsphy->vregs); in qcom_snps_hsphy_probe()
322 hsphy->vregs[i].supply = qcom_snps_hsphy_vreg_names[i]; in qcom_snps_hsphy_probe()
324 ret = devm_regulator_bulk_get(dev, num, hsphy->vregs); in qcom_snps_hsphy_probe()
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()
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()
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()
Dphy-qcom-qusb2.c350 struct regulator_bulk_data vregs[QUSB2_NUM_VREGS]; member
646 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init()
776 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init()
797 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_exit()
889 num = ARRAY_SIZE(qphy->vregs); in qusb2_phy_probe()
891 qphy->vregs[i].supply = qusb2_phy_vreg_names[i]; in qusb2_phy_probe()
893 ret = devm_regulator_bulk_get(dev, num, qphy->vregs); in qusb2_phy_probe()
Dphy-qcom-qmp.c1962 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()
/Linux-v5.10/drivers/hwmon/
Dltc4245.c62 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()
/Linux-v5.10/arch/arm64/kernel/
Dsignal.c177 err = __copy_to_user(ctx->vregs, fpsimd->vregs, sizeof(fpsimd->vregs)); in preserve_fpsimd_context()
203 err = __copy_from_user(fpsimd.vregs, ctx->vregs, in restore_fpsimd_context()
204 sizeof(fpsimd.vregs)); in restore_fpsimd_context()
304 err = __copy_from_user(fpsimd.vregs, user->fpsimd->vregs, in restore_sve_fpsimd_context()
305 sizeof(fpsimd.vregs)); in restore_sve_fpsimd_context()
Dsignal32.c120 .raw = fpsimd->vregs[i >> 1], in compat_preserve_vfp_context()
166 fpsimd.vregs[i >> 1] = vreg.raw; in compat_restore_vfp_context()
Dfpsimd.c431 *p = arm64_cpu_to_le128(fst->vregs[i]); in __fpsimd_to_sve()
485 fst->vregs[i] = arm64_le128_to_cpu(*p); in sve_to_fpsimd()
/Linux-v5.10/arch/arm64/kvm/
Dguest.c50 return off >= KVM_REG_ARM_CORE_REG(fp_regs.vregs) && in core_reg_offset_is_vreg()
76 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_reg_size_from_offset()
77 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_reg_size_from_offset()
152 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_reg_addr()
153 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_reg_addr()
154 off -= KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]); in core_reg_addr()
156 return &vcpu->arch.ctxt.fp_regs.vregs[off]; in core_reg_addr()
/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dsnoc.h73 struct regulator_bulk_data *vregs; member
Dsnoc.c1379 ret = regulator_bulk_enable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on()
1390 regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on()
1402 return regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_off()
1684 ar_snoc->vregs = devm_kcalloc(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe()
1685 sizeof(*ar_snoc->vregs), GFP_KERNEL); in ath10k_snoc_probe()
1686 if (!ar_snoc->vregs) { in ath10k_snoc_probe()
1691 ar_snoc->vregs[i].supply = ath10k_regulators[i]; in ath10k_snoc_probe()
1694 ar_snoc->vregs); in ath10k_snoc_probe()
/Linux-v5.10/arch/arm64/include/uapi/asm/
Dsigcontext.h77 __uint128_t vregs[32]; member
Dptrace.h96 __uint128_t vregs[32]; member
/Linux-v5.10/drivers/bluetooth/
Dhci_qca.c197 struct qca_vreg *vregs; member
1765 .vregs = (struct qca_vreg []) {
1776 .vregs = (struct qca_vreg []) {
1788 .vregs = (struct qca_vreg []) {
1899 const struct qca_vreg *vregs, size_t num_vregs) in qca_init_regulators() argument
1910 bulk[i].supply = vregs[i].name; in qca_init_regulators()
1917 ret = regulator_set_load(bulk[i].consumer, vregs[i].load_uA); in qca_init_regulators()
1959 err = qca_init_regulators(qcadev->bt_power, data->vregs, in qca_serdev_probe()
/Linux-v5.10/Documentation/arm64/
Dsve.rst163 are always restored from the corresponding members of fpsimd_context.vregs[]
/Linux-v5.10/Documentation/virt/kvm/
Dapi.rst2395 0x6040 0000 0010 0054 V0 128 fp_regs.vregs[0] [1]_
2396 0x6040 0000 0010 0058 V1 128 fp_regs.vregs[1] [1]_
2398 0x6040 0000 0010 00d0 V31 128 fp_regs.vregs[31] [1]_