/linux-5.19.10/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() 164 iris->vregs = devm_kcalloc(&iris->dev, in qcom_iris_probe() 168 if (!iris->vregs) { in qcom_iris_probe() [all …]
|
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() 590 ret = wcnss_init_regulators(wcnss, data->vregs, data->num_vregs, in wcnss_probe()
|
/linux-5.19.10/drivers/gpu/drm/panel/ |
D | panel-boe-bf060y8m-aj0.c | 35 struct regulator_bulk_data vregs[BF060Y8M_VREG_MAX]; member 148 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_EL_VDD].consumer); in boe_bf060y8m_aj0_prepare() 151 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_EL_VSS].consumer); in boe_bf060y8m_aj0_prepare() 155 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_VCC].consumer); in boe_bf060y8m_aj0_prepare() 159 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_VDDIO].consumer); in boe_bf060y8m_aj0_prepare() 163 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_VCI].consumer); in boe_bf060y8m_aj0_prepare() 181 regulator_disable(boe->vregs[BF060Y8M_VREG_VDDIO].consumer); in boe_bf060y8m_aj0_prepare() 183 regulator_disable(boe->vregs[BF060Y8M_VREG_VCC].consumer); in boe_bf060y8m_aj0_prepare() 185 regulator_disable(boe->vregs[BF060Y8M_VREG_EL_VSS].consumer); in boe_bf060y8m_aj0_prepare() 187 regulator_disable(boe->vregs[BF060Y8M_VREG_EL_VDD].consumer); in boe_bf060y8m_aj0_prepare() [all …]
|
D | panel-novatek-nt35950.c | 56 struct regulator_bulk_data vregs[NT35950_VREG_MAX]; member 405 nt->vregs[0].supply = "vddio"; in nt35950_sharp_init_vregs() 406 nt->vregs[1].supply = "avdd"; in nt35950_sharp_init_vregs() 407 nt->vregs[2].supply = "avee"; in nt35950_sharp_init_vregs() 408 nt->vregs[3].supply = "dvdd"; in nt35950_sharp_init_vregs() 409 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(nt->vregs), in nt35950_sharp_init_vregs() 410 nt->vregs); in nt35950_sharp_init_vregs() 414 ret = regulator_is_supported_voltage(nt->vregs[0].consumer, in nt35950_sharp_init_vregs() 418 ret = regulator_is_supported_voltage(nt->vregs[1].consumer, in nt35950_sharp_init_vregs() 423 ret = regulator_is_supported_voltage(nt->vregs[2].consumer, in nt35950_sharp_init_vregs() [all …]
|
/linux-5.19.10/tools/testing/selftests/kvm/aarch64/ |
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() 345 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_reg_fixup() 346 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_reg_fixup() 939 static __u64 vregs[] = { variable 940 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]), 941 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[1]), 942 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[2]), 943 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[3]), [all …]
|
/linux-5.19.10/drivers/phy/qualcomm/ |
D | phy-qcom-snps-femto-v2.c | 90 struct regulator_bulk_data vregs[SNPS_HS_NUM_VREGS]; member 183 ret = regulator_bulk_enable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init() 256 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init() 267 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_exit() 325 num = ARRAY_SIZE(hsphy->vregs); in qcom_snps_hsphy_probe() 327 hsphy->vregs[i].supply = qcom_snps_hsphy_vreg_names[i]; in qcom_snps_hsphy_probe() 329 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() 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()
|
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() 1001 num = ARRAY_SIZE(qphy->vregs); in qusb2_phy_probe() 1003 qphy->vregs[i].supply = qusb2_phy_vreg_names[i]; in qusb2_phy_probe() 1005 ret = devm_regulator_bulk_get(dev, num, qphy->vregs); in qusb2_phy_probe()
|
D | phy-qcom-qmp.c | 3280 struct regulator_bulk_data *vregs; member 5085 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_init() 5157 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_init() 5192 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qcom_qmp_phy_com_exit() 5566 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qcom_qmp_phy_vreg_init() 5567 if (!qmp->vregs) in qcom_qmp_phy_vreg_init() 5571 qmp->vregs[i].supply = cfg->vreg_list[i]; in qcom_qmp_phy_vreg_init() 5573 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qcom_qmp_phy_vreg_init()
|
/linux-5.19.10/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()
|
/linux-5.19.10/tools/testing/selftests/arm64/fp/ |
D | sve-ptrace.c | 286 p = (unsigned char *)&fpsimd->vregs[i]; in ptrace_sve_fpsimd() 288 for (j = 0; j < sizeof(fpsimd->vregs[i]); ++j) in ptrace_sve_fpsimd() 477 if (tmp != fpsimd_state.vregs[i]) { in ptrace_set_sve_get_fpsimd_data() 517 p = (unsigned char *)&write_fpsimd.vregs[i]; in ptrace_set_fpsimd_get_sve_data() 519 for (j = 0; j < sizeof(write_fpsimd.vregs[i]); ++j) in ptrace_set_fpsimd_get_sve_data() 579 if (tmp != write_fpsimd.vregs[i]) { in ptrace_set_fpsimd_get_sve_data()
|
/linux-5.19.10/arch/arm64/kernel/ |
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() 331 err = __copy_from_user(fpsimd.vregs, user->fpsimd->vregs, in restore_sve_fpsimd_context() 332 sizeof(fpsimd.vregs)); in restore_sve_fpsimd_context()
|
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()
|
D | fpsimd.c | 616 *p = arm64_cpu_to_le128(fst->vregs[i]); in __fpsimd_to_sve() 671 fst->vregs[i] = arm64_le128_to_cpu(*p); in sve_to_fpsimd()
|
/linux-5.19.10/arch/arm64/kvm/ |
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-5.19.10/drivers/net/wireless/ath/ath10k/ |
D | snoc.h | 76 struct regulator_bulk_data *vregs; member
|
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() 1758 ar_snoc->vregs = devm_kcalloc(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe() 1759 sizeof(*ar_snoc->vregs), GFP_KERNEL); in ath10k_snoc_probe() 1760 if (!ar_snoc->vregs) { in ath10k_snoc_probe() 1765 ar_snoc->vregs[i].supply = ath10k_regulators[i]; in ath10k_snoc_probe() 1768 ar_snoc->vregs); in ath10k_snoc_probe()
|
/linux-5.19.10/arch/arm64/include/uapi/asm/ |
D | sigcontext.h | 77 __uint128_t vregs[32]; member
|
D | ptrace.h | 96 __uint128_t vregs[32]; member
|
/linux-5.19.10/drivers/bluetooth/ |
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 []) { 1989 const struct qca_vreg *vregs, size_t num_vregs) in qca_init_regulators() argument 2000 bulk[i].supply = vregs[i].name; in qca_init_regulators() 2007 ret = regulator_set_load(bulk[i].consumer, vregs[i].load_uA); in qca_init_regulators() 2051 err = qca_init_regulators(qcadev->bt_power, data->vregs, in qca_serdev_probe()
|
/linux-5.19.10/Documentation/arm64/ |
D | sve.rst | 183 are always restored from the corresponding members of fpsimd_context.vregs[]
|
/linux-5.19.10/Documentation/virt/kvm/ |
D | api.rst | 2550 0x6040 0000 0010 0054 V0 128 fp_regs.vregs[0] [1]_ 2551 0x6040 0000 0010 0058 V1 128 fp_regs.vregs[1] [1]_ 2553 0x6040 0000 0010 00d0 V31 128 fp_regs.vregs[31] [1]_
|