/Linux-v6.6/drivers/remoteproc/ |
D | qcom_wcnss_iris.c | 25 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() 165 iris->vregs = devm_kcalloc(&iris->dev, in qcom_iris_probe() 169 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[]) { 149 .vregs = (struct wcnss_vreg_info[]) { 249 ret = regulator_bulk_enable(wcnss->num_vregs, wcnss->vregs); in wcnss_start() 282 regulator_bulk_disable(wcnss->num_vregs, wcnss->vregs); in wcnss_start() 468 wcnss->vregs = bulk; in wcnss_init_regulators() 597 ret = wcnss_init_regulators(wcnss, data->vregs, data->num_vregs, in wcnss_probe()
|
/Linux-v6.6/drivers/gpu/drm/panel/ |
D | panel-boe-bf060y8m-aj0.c | 35 struct regulator_bulk_data vregs[BF060Y8M_VREG_MAX]; member 140 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_EL_VDD].consumer); in boe_bf060y8m_aj0_prepare() 143 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_EL_VSS].consumer); in boe_bf060y8m_aj0_prepare() 147 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_VCC].consumer); in boe_bf060y8m_aj0_prepare() 151 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_VDDIO].consumer); in boe_bf060y8m_aj0_prepare() 155 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_VCI].consumer); in boe_bf060y8m_aj0_prepare() 173 regulator_disable(boe->vregs[BF060Y8M_VREG_VDDIO].consumer); in boe_bf060y8m_aj0_prepare() 175 regulator_disable(boe->vregs[BF060Y8M_VREG_VCC].consumer); in boe_bf060y8m_aj0_prepare() 177 regulator_disable(boe->vregs[BF060Y8M_VREG_EL_VSS].consumer); in boe_bf060y8m_aj0_prepare() 179 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 397 nt->vregs[0].supply = "vddio"; in nt35950_sharp_init_vregs() 398 nt->vregs[1].supply = "avdd"; in nt35950_sharp_init_vregs() 399 nt->vregs[2].supply = "avee"; in nt35950_sharp_init_vregs() 400 nt->vregs[3].supply = "dvdd"; in nt35950_sharp_init_vregs() 401 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(nt->vregs), in nt35950_sharp_init_vregs() 402 nt->vregs); in nt35950_sharp_init_vregs() 406 ret = regulator_is_supported_voltage(nt->vregs[0].consumer, in nt35950_sharp_init_vregs() 410 ret = regulator_is_supported_voltage(nt->vregs[1].consumer, in nt35950_sharp_init_vregs() 415 ret = regulator_is_supported_voltage(nt->vregs[2].consumer, in nt35950_sharp_init_vregs() [all …]
|
/Linux-v6.6/tools/testing/selftests/kvm/aarch64/ |
D | get-reg-list.c | 134 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_id_to_str() 135 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_id_to_str() 136 idx = (core_off - KVM_REG_ARM_CORE_REG(fp_regs.vregs[0])) / CORE_FPREGS_XX_NR_WORDS; in core_id_to_str() 565 static __u64 vregs[] = { variable 566 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]), 567 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[1]), 568 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[2]), 569 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[3]), 570 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[4]), 571 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[5]), [all …]
|
/Linux-v6.6/drivers/phy/qualcomm/ |
D | phy-qcom-eusb2-repeater.c | 53 struct regulator_bulk_data *vregs; member 82 rptr->vregs = devm_kcalloc(dev, num, sizeof(*rptr->vregs), GFP_KERNEL); in eusb2_repeater_init_vregs() 83 if (!rptr->vregs) in eusb2_repeater_init_vregs() 87 rptr->vregs[i].supply = rptr->cfg->vreg_list[i]; in eusb2_repeater_init_vregs() 89 return devm_regulator_bulk_get(dev, num, rptr->vregs); in eusb2_repeater_init_vregs() 101 ret = regulator_bulk_enable(rptr->cfg->num_vregs, rptr->vregs); in eusb2_repeater_init() 162 return regulator_bulk_disable(rptr->cfg->num_vregs, rptr->vregs); in eusb2_repeater_exit()
|
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() 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()
|
D | phy-qcom-snps-eusb2.c | 131 struct regulator_bulk_data vregs[EUSB2_NUM_VREGS]; member 238 ret = regulator_bulk_enable(ARRAY_SIZE(phy->vregs), phy->vregs); in qcom_snps_eusb2_hsphy_init() 342 regulator_bulk_disable(ARRAY_SIZE(phy->vregs), phy->vregs); in qcom_snps_eusb2_hsphy_init() 353 regulator_bulk_disable(ARRAY_SIZE(phy->vregs), phy->vregs); in qcom_snps_eusb2_hsphy_exit() 394 num = ARRAY_SIZE(phy->vregs); in qcom_snps_eusb2_hsphy_probe() 396 phy->vregs[i].supply = eusb2_hsphy_vreg_names[i]; in qcom_snps_eusb2_hsphy_probe() 398 ret = devm_regulator_bulk_get(dev, num, phy->vregs); in qcom_snps_eusb2_hsphy_probe()
|
D | phy-qcom-snps-femto-v2.c | 134 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()
|
D | phy-qcom-qmp-pcie-msm8996.c | 243 struct regulator_bulk_data *vregs; member 378 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_init() 410 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_init() 441 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_exit() 591 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_pcie_msm8996_vreg_init() 592 if (!qmp->vregs) in qmp_pcie_msm8996_vreg_init() 596 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_pcie_msm8996_vreg_init() 598 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_pcie_msm8996_vreg_init()
|
D | phy-qcom-qusb2.c | 436 struct regulator_bulk_data vregs[QUSB2_NUM_VREGS]; member 736 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init() 871 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init() 892 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_exit() 997 num = ARRAY_SIZE(qphy->vregs); in qusb2_phy_probe() 999 qphy->vregs[i].supply = qusb2_phy_vreg_names[i]; in qusb2_phy_probe() 1001 ret = devm_regulator_bulk_get(dev, num, qphy->vregs); in qusb2_phy_probe()
|
D | phy-qcom-qmp-usb-legacy.c | 562 struct regulator_bulk_data *vregs; member 804 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_init() 835 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_init() 849 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_exit() 1078 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_usb_legacy_vreg_init() 1079 if (!qmp->vregs) in qmp_usb_legacy_vreg_init() 1083 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_usb_legacy_vreg_init() 1085 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_usb_legacy_vreg_init()
|
D | phy-qcom-qmp-ufs.c | 763 struct regulator_bulk_data *vregs; member 1241 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_ufs_com_init() 1256 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_ufs_com_init() 1269 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_ufs_com_exit() 1425 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_ufs_vreg_init() 1426 if (!qmp->vregs) in qmp_ufs_vreg_init() 1430 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_ufs_vreg_init() 1432 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_ufs_vreg_init()
|
D | phy-qcom-qmp-usb.c | 1218 struct regulator_bulk_data *vregs; member 1661 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usb_init() 1690 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_init() 1704 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_exit() 1938 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_usb_vreg_init() 1939 if (!qmp->vregs) in qmp_usb_vreg_init() 1943 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_usb_vreg_init() 1945 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_usb_vreg_init()
|
/Linux-v6.6/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-v6.6/arch/loongarch/include/uapi/asm/ |
D | ptrace.h | 51 uint64_t vregs[32*2]; member 56 uint64_t vregs[32*4]; member
|
/Linux-v6.6/tools/testing/selftests/arm64/fp/ |
D | sve-ptrace.c | 296 p = (unsigned char *)&fpsimd->vregs[i]; in ptrace_sve_fpsimd() 298 for (j = 0; j < sizeof(fpsimd->vregs[i]); ++j) in ptrace_sve_fpsimd() 487 if (tmp != fpsimd_state.vregs[i]) { in ptrace_set_sve_get_fpsimd_data() 527 p = (unsigned char *)&write_fpsimd.vregs[i]; in ptrace_set_fpsimd_get_sve_data() 529 for (j = 0; j < sizeof(write_fpsimd.vregs[i]); ++j) in ptrace_set_fpsimd_get_sve_data() 589 if (tmp != write_fpsimd.vregs[i]) { in ptrace_set_fpsimd_get_sve_data()
|
/Linux-v6.6/arch/arm64/kvm/ |
D | guest.c | 67 return off >= KVM_REG_ARM_CORE_REG(fp_regs.vregs) && in core_reg_offset_is_vreg() 93 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_reg_size_from_offset() 94 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_reg_size_from_offset() 169 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_reg_addr() 170 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_reg_addr() 171 off -= KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]); in core_reg_addr() 173 return &vcpu->arch.ctxt.fp_regs.vregs[off]; in core_reg_addr()
|
/Linux-v6.6/arch/arm64/kernel/ |
D | signal.c | 194 err = __copy_to_user(ctx->vregs, fpsimd->vregs, sizeof(fpsimd->vregs)); in preserve_fpsimd_context() 215 err = __copy_from_user(fpsimd.vregs, &(user->fpsimd->vregs), in restore_fpsimd_context() 216 sizeof(fpsimd.vregs)); in restore_fpsimd_context() 352 err = __copy_from_user(fpsimd.vregs, user->fpsimd->vregs, in restore_sve_fpsimd_context() 353 sizeof(fpsimd.vregs)); in restore_sve_fpsimd_context()
|
/Linux-v6.6/drivers/bluetooth/ |
D | hci_qca.c | 204 struct qca_vreg *vregs; member 1992 .vregs = (struct qca_vreg []) { 2003 .vregs = (struct qca_vreg []) { 2014 .vregs = (struct qca_vreg []) { 2026 .vregs = (struct qca_vreg []) { 2042 .vregs = (struct qca_vreg []) { 2059 .vregs = (struct qca_vreg []) { 2073 .vregs = (struct qca_vreg []) { 2205 const struct qca_vreg *vregs, size_t num_vregs) in qca_init_regulators() argument 2216 bulk[i].supply = vregs[i].name; in qca_init_regulators() [all …]
|
/Linux-v6.6/drivers/net/wireless/ath/ath10k/ |
D | snoc.h | 76 struct regulator_bulk_data *vregs; member
|
D | snoc.c | 1015 ret = regulator_bulk_enable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on() 1026 regulator_bulk_disable(ar_snoc->num_vregs, ar_snoc->vregs); in ath10k_hw_power_on() 1038 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-v6.6/arch/arm64/include/uapi/asm/ |
D | sigcontext.h | 81 __uint128_t vregs[32]; member
|
D | ptrace.h | 96 __uint128_t vregs[32]; member
|