/linux/drivers/remoteproc/ |
A 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[]) { 168 if (!iris->vregs) { in qcom_iris_probe() 174 iris->vregs[i].supply = data->vregs[i].name; in qcom_iris_probe() 183 if (data->vregs[i].max_voltage) in qcom_iris_probe() 185 data->vregs[i].min_voltage, in qcom_iris_probe() 188 if (data->vregs[i].load_uA) in qcom_iris_probe() [all …]
|
A D | qcom_wcnss.c | 62 const struct wcnss_vreg_info *vregs; member 89 struct regulator_bulk_data *vregs; member 108 .vregs = (struct wcnss_vreg_info[]) { 121 .vregs = (struct wcnss_vreg_info[]) { 135 .vregs = (struct wcnss_vreg_info[]) { 238 ret = regulator_bulk_enable(wcnss->num_vregs, wcnss->vregs); in wcnss_start() 271 regulator_bulk_disable(wcnss->num_vregs, wcnss->vregs); in wcnss_start() 457 wcnss->vregs = bulk; in wcnss_init_regulators() 583 ret = wcnss_init_regulators(wcnss, data->vregs, data->num_vregs, in wcnss_probe()
|
/linux/tools/testing/selftests/kvm/aarch64/ |
A D | get-reg-list.c | 182 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_id_to_str() 183 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_id_to_str() 184 idx = (core_off - KVM_REG_ARM_CORE_REG(fp_regs.vregs[0])) / CORE_FPREGS_XX_NR_WORDS; in core_id_to_str() 340 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_reg_fixup() 341 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_reg_fixup() 924 static __u64 vregs[] = { variable 925 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]), 926 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[1]), 927 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[2]), 928 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[3]), [all …]
|
/linux/drivers/phy/qualcomm/ |
A D | phy-qcom-snps-femto-v2.c | 89 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()
|
A 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()
|
A 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() 272 qphy->vregs[0].supply = "vdda-vp"; in qcom_pcie2_phy_probe() 273 qphy->vregs[1].supply = "vdda-vph"; in qcom_pcie2_phy_probe() 274 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(qphy->vregs), qphy->vregs); in qcom_pcie2_phy_probe()
|
A D | phy-qcom-qusb2.c | 437 struct regulator_bulk_data vregs[QUSB2_NUM_VREGS]; member 737 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init() 872 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init() 893 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_exit() 998 num = ARRAY_SIZE(qphy->vregs); in qusb2_phy_probe() 1000 qphy->vregs[i].supply = qusb2_phy_vreg_names[i]; in qusb2_phy_probe() 1002 ret = devm_regulator_bulk_get(dev, num, qphy->vregs); in qusb2_phy_probe()
|
A D | phy-qcom-qmp.c | 3027 struct regulator_bulk_data *vregs; member 4711 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_init() 4783 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_init() 4818 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_exit() 5192 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qcom_qmp_phy_vreg_init() 5193 if (!qmp->vregs) in qcom_qmp_phy_vreg_init() 5197 qmp->vregs[i].supply = cfg->vreg_list[i]; in qcom_qmp_phy_vreg_init() 5199 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qcom_qmp_phy_vreg_init()
|
/linux/drivers/hwmon/ |
A 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()
|
/linux/arch/arm64/kernel/ |
A D | signal.c | 178 err = __copy_to_user(ctx->vregs, fpsimd->vregs, sizeof(fpsimd->vregs)); in preserve_fpsimd_context() 204 err = __copy_from_user(fpsimd.vregs, ctx->vregs, in restore_fpsimd_context() 205 sizeof(fpsimd.vregs)); in restore_fpsimd_context() 310 err = __copy_from_user(fpsimd.vregs, user->fpsimd->vregs, in restore_sve_fpsimd_context() 311 sizeof(fpsimd.vregs)); in restore_sve_fpsimd_context()
|
A D | signal32.c | 118 .raw = fpsimd->vregs[i >> 1], in compat_preserve_vfp_context() 164 fpsimd.vregs[i >> 1] = vreg.raw; in compat_restore_vfp_context()
|
A D | fpsimd.c | 485 *p = arm64_cpu_to_le128(fst->vregs[i]); in __fpsimd_to_sve() 539 fst->vregs[i] = arm64_le128_to_cpu(*p); in sve_to_fpsimd()
|
/linux/arch/arm64/kvm/ |
A D | guest.c | 66 return off >= KVM_REG_ARM_CORE_REG(fp_regs.vregs) && in core_reg_offset_is_vreg() 92 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_reg_size_from_offset() 93 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_reg_size_from_offset() 168 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_reg_addr() 169 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_reg_addr() 170 off -= KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]); in core_reg_addr() 172 return &vcpu->arch.ctxt.fp_regs.vregs[off]; in core_reg_addr()
|
/linux/tools/testing/selftests/arm64/fp/ |
A D | sve-ptrace.c | 240 p = (unsigned char *)&fpsimd->vregs[i]; in ptrace_sve_fpsimd() 242 for (j = 0; j < sizeof(fpsimd->vregs[i]); ++j) in ptrace_sve_fpsimd() 421 if (tmp != fpsimd_state.vregs[i]) { in ptrace_set_sve_get_fpsimd_data()
|
/linux/drivers/net/wireless/ath/ath10k/ |
A D | snoc.c | 1014 ret = regulator_bulk_enable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on() 1025 regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on() 1037 return regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_off() 1764 ar_snoc->vregs = devm_kcalloc(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe() 1765 sizeof(*ar_snoc->vregs), GFP_KERNEL); in ath10k_snoc_probe() 1766 if (!ar_snoc->vregs) { in ath10k_snoc_probe() 1771 ar_snoc->vregs[i].supply = ath10k_regulators[i]; in ath10k_snoc_probe() 1774 ar_snoc->vregs); in ath10k_snoc_probe()
|
A D | snoc.h | 76 struct regulator_bulk_data *vregs; member
|
/linux/drivers/bluetooth/ |
A D | hci_qca.c | 203 struct qca_vreg *vregs; member 1824 .vregs = (struct qca_vreg []) { 1835 .vregs = (struct qca_vreg []) { 1847 .vregs = (struct qca_vreg []) { 1863 .vregs = (struct qca_vreg []) { 1986 const struct qca_vreg *vregs, size_t num_vregs) in qca_init_regulators() argument 1997 bulk[i].supply = vregs[i].name; in qca_init_regulators() 2004 ret = regulator_set_load(bulk[i].consumer, vregs[i].load_uA); in qca_init_regulators() 2048 err = qca_init_regulators(qcadev->bt_power, data->vregs, in qca_serdev_probe()
|
/linux/arch/arm64/include/uapi/asm/ |
A D | sigcontext.h | 77 __uint128_t vregs[32]; member
|
A D | ptrace.h | 96 __uint128_t vregs[32]; member
|
/linux/Documentation/arm64/ |
A D | sve.rst | 163 are always restored from the corresponding members of fpsimd_context.vregs[]
|
/linux/Documentation/virt/kvm/ |
A D | api.rst | 2481 0x6040 0000 0010 0054 V0 128 fp_regs.vregs[0] [1]_ 2482 0x6040 0000 0010 0058 V1 128 fp_regs.vregs[1] [1]_ 2484 0x6040 0000 0010 00d0 V31 128 fp_regs.vregs[31] [1]_
|