/linux-6.1.9/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-6.1.9/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-6.1.9/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() 943 static __u64 vregs[] = { variable 944 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]), 945 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[1]), 946 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[2]), 947 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[3]), [all …]
|
/linux-6.1.9/drivers/phy/qualcomm/ |
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-snps-femto-v2.c | 131 struct regulator_bulk_data vregs[SNPS_HS_NUM_VREGS]; member 373 ret = regulator_bulk_enable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init() 454 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init() 465 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_exit() 572 num = ARRAY_SIZE(hsphy->vregs); in qcom_snps_hsphy_probe() 574 hsphy->vregs[i].supply = qcom_snps_hsphy_vreg_names[i]; in qcom_snps_hsphy_probe() 576 ret = devm_regulator_bulk_get(dev, num, hsphy->vregs); in qcom_snps_hsphy_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() 995 num = ARRAY_SIZE(qphy->vregs); in qusb2_phy_probe() 997 qphy->vregs[i].supply = qusb2_phy_vreg_names[i]; in qusb2_phy_probe() 999 ret = devm_regulator_bulk_get(dev, num, qphy->vregs); in qusb2_phy_probe()
|
D | phy-qcom-qmp-pcie-msm8996.c | 273 struct regulator_bulk_data *vregs; member 425 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_init() 457 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_init() 487 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_exit() 647 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_pcie_msm8996_vreg_init() 648 if (!qmp->vregs) in qmp_pcie_msm8996_vreg_init() 652 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_pcie_msm8996_vreg_init() 654 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_pcie_msm8996_vreg_init()
|
D | phy-qcom-qmp-ufs.c | 610 struct regulator_bulk_data *vregs; member 849 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_ufs_com_init() 870 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_ufs_com_init() 884 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_ufs_com_exit() 1050 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_ufs_vreg_init() 1051 if (!qmp->vregs) in qmp_ufs_vreg_init() 1055 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_ufs_vreg_init() 1057 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_ufs_vreg_init()
|
D | phy-qcom-qmp-combo.c | 955 struct regulator_bulk_data *vregs; member 1993 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_combo_com_init() 2050 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_combo_com_init() 2074 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_combo_com_exit() 2361 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_combo_vreg_init() 2362 if (!qmp->vregs) in qmp_combo_vreg_init() 2366 qmp->vregs[i].supply = cfg->vreg_list[i].name; in qmp_combo_vreg_init() 2368 ret = devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_combo_vreg_init() 2375 ret = regulator_set_load(qmp->vregs[i].consumer, in qmp_combo_vreg_init() 2379 qmp->vregs[i].supply); in qmp_combo_vreg_init()
|
D | phy-qcom-qmp-pcie.c | 1441 struct regulator_bulk_data *vregs; member 1952 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_pcie_init() 1987 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_init() 2002 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_exit() 2141 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_pcie_vreg_init() 2142 if (!qmp->vregs) in qmp_pcie_vreg_init() 2146 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_pcie_vreg_init() 2148 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_pcie_vreg_init()
|
D | phy-qcom-qmp-usb.c | 1520 struct regulator_bulk_data *vregs; member 2019 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usb_init() 2071 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_init() 2086 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_exit() 2313 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_usb_vreg_init() 2314 if (!qmp->vregs) in qmp_usb_vreg_init() 2318 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_usb_vreg_init() 2320 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_usb_vreg_init()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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() 339 err = __copy_from_user(fpsimd.vregs, user->fpsimd->vregs, in restore_sve_fpsimd_context() 340 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 | 615 *p = arm64_cpu_to_le128(fst->vregs[i]); in __fpsimd_to_sve() 670 fst->vregs[i] = arm64_le128_to_cpu(*p); in sve_to_fpsimd()
|
/linux-6.1.9/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-6.1.9/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() 1757 ar_snoc->vregs = devm_kcalloc(&pdev->dev, ar_snoc->num_vregs, in ath10k_snoc_probe() 1758 sizeof(*ar_snoc->vregs), GFP_KERNEL); in ath10k_snoc_probe() 1759 if (!ar_snoc->vregs) { in ath10k_snoc_probe() 1764 ar_snoc->vregs[i].supply = ath10k_regulators[i]; in ath10k_snoc_probe() 1767 ar_snoc->vregs); in ath10k_snoc_probe()
|
/linux-6.1.9/arch/arm64/include/uapi/asm/ |
D | sigcontext.h | 77 __uint128_t vregs[32]; member
|
D | ptrace.h | 96 __uint128_t vregs[32]; member
|
/linux-6.1.9/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()
|