Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/panel/
H A Dpanel-boe-bf060y8m-aj0.c35 struct regulator_bulk_data vregs[BF060Y8M_VREG_MAX]; member
136 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_EL_VDD].consumer); in boe_bf060y8m_aj0_prepare()
139 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_EL_VSS].consumer); in boe_bf060y8m_aj0_prepare()
143 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_VCC].consumer); in boe_bf060y8m_aj0_prepare()
147 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_VDDIO].consumer); in boe_bf060y8m_aj0_prepare()
151 ret = regulator_enable(boe->vregs[BF060Y8M_VREG_VCI].consumer); in boe_bf060y8m_aj0_prepare()
168 regulator_disable(boe->vregs[BF060Y8M_VREG_VDDIO].consumer); in boe_bf060y8m_aj0_prepare()
170 regulator_disable(boe->vregs[BF060Y8M_VREG_VCC].consumer); in boe_bf060y8m_aj0_prepare()
172 regulator_disable(boe->vregs[BF060Y8M_VREG_EL_VSS].consumer); in boe_bf060y8m_aj0_prepare()
174 regulator_disable(boe->vregs[BF060Y8M_VREG_EL_VDD].consumer); in boe_bf060y8m_aj0_prepare()
[all …]
H A Dpanel-novatek-nt35950.c56 struct regulator_bulk_data vregs[NT35950_VREG_MAX]; member
326 nt->vregs[0].supply = "vddio"; in nt35950_sharp_init_vregs()
327 nt->vregs[1].supply = "avdd"; in nt35950_sharp_init_vregs()
328 nt->vregs[2].supply = "avee"; in nt35950_sharp_init_vregs()
329 nt->vregs[3].supply = "dvdd"; in nt35950_sharp_init_vregs()
330 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(nt->vregs), in nt35950_sharp_init_vregs()
331 nt->vregs); in nt35950_sharp_init_vregs()
335 ret = regulator_is_supported_voltage(nt->vregs[0].consumer, in nt35950_sharp_init_vregs()
339 ret = regulator_is_supported_voltage(nt->vregs[1].consumer, in nt35950_sharp_init_vregs()
344 ret = regulator_is_supported_voltage(nt->vregs[2].consumer, in nt35950_sharp_init_vregs()
[all …]
/linux/tools/testing/selftests/kvm/aarch64/
H A Dget-reg-list.c146 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_id_to_str()
147 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_id_to_str()
148 idx = (core_off - KVM_REG_ARM_CORE_REG(fp_regs.vregs[0])) / CORE_FPREGS_XX_NR_WORDS; in core_id_to_str()
579 static __u64 vregs[] = { variable
580 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]),
581 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[1]),
582 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[2]),
583 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[3]),
584 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[4]),
585 KVM_REG_ARM64 | KVM_REG_SIZE_U128 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.vregs[5]),
[all …]
/linux/drivers/phy/qualcomm/
H A 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()
H A 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()
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()
H A Dphy-qcom-snps-eusb2.c131 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()
H A Dphy-qcom-snps-femto-v2.c134 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()
H A Dphy-qcom-qmp-pcie-msm8996.c213 struct regulator_bulk_data *vregs; member
322 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_init()
354 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_init()
385 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_exit()
535 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_pcie_msm8996_vreg_init()
536 if (!qmp->vregs) in qmp_pcie_msm8996_vreg_init()
540 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_pcie_msm8996_vreg_init()
542 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_pcie_msm8996_vreg_init()
H A Dphy-qcom-qusb2.c436 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()
H A Dphy-qcom-qmp-usbc.c341 struct regulator_bulk_data *vregs; member
465 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usbc_init()
502 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usbc_init()
516 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usbc_exit()
746 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_usbc_vreg_init()
747 if (!qmp->vregs) in qmp_usbc_vreg_init()
751 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_usbc_vreg_init()
753 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_usbc_vreg_init()
H A Dphy-qcom-qmp-usb-legacy.c541 struct regulator_bulk_data *vregs; member
773 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_init()
804 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_init()
818 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_exit()
1045 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_usb_legacy_vreg_init()
1046 if (!qmp->vregs) in qmp_usb_legacy_vreg_init()
1050 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_usb_legacy_vreg_init()
1052 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_usb_legacy_vreg_init()
H A Dphy-qcom-qmp-ufs.c1016 struct regulator_bulk_data *vregs; member
1606 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_ufs_com_init()
1621 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_ufs_com_init()
1634 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_ufs_com_exit()
1796 qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL); in qmp_ufs_vreg_init()
1797 if (!qmp->vregs) in qmp_ufs_vreg_init()
1801 qmp->vregs[i].supply = cfg->vreg_list[i]; in qmp_ufs_vreg_init()
1803 return devm_regulator_bulk_get(dev, num, qmp->vregs); in qmp_ufs_vreg_init()
/linux/drivers/hwmon/
H A 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/arch/loongarch/include/uapi/asm/
H A Dptrace.h51 uint64_t vregs[32*2]; member
56 uint64_t vregs[32*4]; member
/linux/drivers/power/sequencing/
H A Dpwrseq-qcom-wcn.c21 const char *const *vregs; member
268 .vregs = pwrseq_qca6390_vregs,
289 .vregs = pwrseq_wcn6855_vregs,
307 .vregs = pwrseq_wcn7850_vregs,
369 ctx->regs[i].supply = ctx->pdata->vregs[i]; in pwrseq_qcom_wcn_probe()
/linux/tools/testing/selftests/arm64/fp/
H A Dsve-ptrace.c298 p = (unsigned char *)&fpsimd->vregs[i]; in ptrace_sve_fpsimd()
300 for (j = 0; j < sizeof(fpsimd->vregs[i]); ++j) in ptrace_sve_fpsimd()
489 if (tmp != fpsimd_state.vregs[i]) { in ptrace_set_sve_get_fpsimd_data()
529 p = (unsigned char *)&write_fpsimd.vregs[i]; in ptrace_set_fpsimd_get_sve_data()
531 for (j = 0; j < sizeof(write_fpsimd.vregs[i]); ++j) in ptrace_set_fpsimd_get_sve_data()
591 if (tmp != write_fpsimd.vregs[i]) { in ptrace_set_fpsimd_get_sve_data()
H A Dfp-ptrace.c466 if (!compare_buffer("initial V via SVE", &fpsimd->vregs[0], in check_ptrace_values_ssve()
543 &fpsimd->vregs[0], v_in, sizeof(v_in))) in check_ptrace_values_za()
666 if (!compare_buffer("initial V", &fpsimd.vregs, v_in, in run_parent()
1090 memcpy(&fpsimd.vregs, v_expected, sizeof(v_expected)); in za_write_expected()
/linux/arch/arm64/kernel/
H A Dsignal.c254 err = __copy_to_user(ctx->vregs, fpsimd->vregs, sizeof(fpsimd->vregs)); in preserve_fpsimd_context()
275 err = __copy_from_user(fpsimd.vregs, &(user->fpsimd->vregs), in restore_fpsimd_context()
276 sizeof(fpsimd.vregs)); in restore_fpsimd_context()
467 err = __copy_from_user(fpsimd.vregs, user->fpsimd->vregs, in restore_sve_fpsimd_context()
468 sizeof(fpsimd.vregs)); in restore_sve_fpsimd_context()
H A Dsignal32.c118 .raw = fpsimd->vregs[i >> 1], in compat_preserve_vfp_context()
164 fpsimd.vregs[i >> 1] = vreg.raw; in compat_restore_vfp_context()
/linux/drivers/bluetooth/
H A Dhci_qca.c205 struct qca_vreg *vregs; member
2038 .vregs = (struct qca_vreg []) {
2049 .vregs = (struct qca_vreg []) {
2060 .vregs = (struct qca_vreg []) {
2072 .vregs = (struct qca_vreg []) {
2094 .vregs = (struct qca_vreg []) {
2111 .vregs = (struct qca_vreg []) {
2125 .vregs = (struct qca_vreg []) {
2268 const struct qca_vreg *vregs, size_t num_vregs) in qca_init_regulators() argument
2279 bulk[i].supply = vregs[i].name; in qca_init_regulators()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dsnoc.h76 struct regulator_bulk_data *vregs; member
/linux/arch/arm64/include/uapi/asm/
H A Dsigcontext.h81 __uint128_t vregs[32]; member