/kernel/linux/linux-5.10/drivers/remoteproc/ |
H 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[]) { 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() 119 iris->vregs = devm_kcalloc(&pdev->dev, in qcom_iris_probe() 123 if (!iris->vregs) in qcom_iris_probe() [all...] |
H A D | qcom_wcnss.c | 58 const struct wcnss_vreg_info *vregs; member 83 struct regulator_bulk_data *vregs; member 102 .vregs = (struct wcnss_vreg_info[]) { 114 .vregs = (struct wcnss_vreg_info[]) { 126 .vregs = (struct wcnss_vreg_info[]) { 231 ret = regulator_bulk_enable(wcnss->num_vregs, wcnss->vregs); in wcnss_start() 264 regulator_bulk_disable(wcnss->num_vregs, wcnss->vregs); in wcnss_start() 405 wcnss->vregs = bulk; in wcnss_init_regulators() 524 ret = wcnss_init_regulators(wcnss, data->vregs, data->num_vregs); in wcnss_probe()
|
/kernel/linux/linux-6.6/drivers/remoteproc/ |
H A 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...] |
H 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[]) { 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, dat in wcnss_probe() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/aarch64/ |
H A 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() 137 TEST_ASSERT(idx < 32, "%s: Unexpected fp_regs.vregs index: %lld", prefix, idx); in core_id_to_str() 138 return strdup_printf("KVM_REG_ARM_CORE_REG(fp_regs.vregs[%lld])", idx); 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[ [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A 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_VD in boe_bf060y8m_aj0_prepare() [all...] |
H A 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[ in nt35950_sharp_init_vregs() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/aarch64/ |
H A D | get-reg-list.c | 56 static __u64 base_regs[], vregs[], sve_regs[], rejects_set[]; variable 115 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_id_to_str() 116 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_id_to_str() 117 idx = (core_off - KVM_REG_ARM_CORE_REG(fp_regs.vregs[0])) / CORE_FPREGS_XX_NR_WORDS; in core_id_to_str() 118 TEST_ASSERT(idx < 32, "Unexpected fp_regs.vregs index: %lld", idx); in core_id_to_str() 119 return str_with_index("KVM_REG_ARM_CORE_REG(fp_regs.vregs[##])", idx); in core_id_to_str() 273 case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... in core_reg_fixup() 274 KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): in core_reg_fixup() 413 vec_regs = vregs; in main() 745 static __u64 vregs[] variable [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/fp/ |
H A D | sve-ptrace.c | 41 static int check_vregs(const __uint128_t vregs[NR_VREGS]) in check_vregs() argument 48 dump(&vregs[i], sizeof vregs[i]); in check_vregs() 51 if (vregs[i] != vregs[0]) in check_vregs() 227 p = (unsigned char *)&fpsimd->vregs[i]; in do_parent() 229 for (j = 0; j < sizeof fpsimd->vregs[i]; ++j) in do_parent() 286 dump_sve_regs(new_sve, 3, sizeof fpsimd->vregs[0]); in do_parent() 289 for (i = 0; i < sizeof fpsimd->vregs[0]; ++i) { in do_parent() 293 expected = sizeof fpsimd->vregs[ in do_parent() [all...] |
/kernel/linux/linux-5.10/drivers/phy/qualcomm/ |
H A D | phy-qcom-snps-femto-v2.c | 79 * @vregs: regulator supplies bulk data 93 struct regulator_bulk_data vregs[SNPS_HS_NUM_VREGS]; member 203 ret = regulator_bulk_enable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init() 273 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_init() 284 regulator_bulk_disable(ARRAY_SIZE(hsphy->vregs), hsphy->vregs); in qcom_snps_hsphy_exit() 339 num = ARRAY_SIZE(hsphy->vregs); in qcom_snps_hsphy_probe() 341 hsphy->vregs[ in qcom_snps_hsphy_probe() [all...] |
H 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_1P in qcom_snps_hsphy_probe() [all...] |
H 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() 275 qphy->vregs[0].supply = "vdda-vp"; in qcom_pcie2_phy_probe() 276 qphy->vregs[1].supply = "vdda-vph"; in qcom_pcie2_phy_probe() 277 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(qphy->vregs), qphy->vregs); in qcom_pcie2_phy_probe()
|
H A D | phy-qcom-qusb2.c | 330 * @vregs: regulator supplies bulk data 350 struct regulator_bulk_data vregs[QUSB2_NUM_VREGS]; member 650 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init() 780 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init() 801 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_exit() 893 num = ARRAY_SIZE(qphy->vregs); in qusb2_phy_probe() 895 qphy->vregs[ in qusb2_phy_probe() [all...] |
/kernel/linux/linux-6.6/drivers/phy/qualcomm/ |
H 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_1P in qcom_snps_hsphy_probe() [all...] |
H 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() 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 D | phy-qcom-eusb2-repeater.c | 103 struct regulator_bulk_data *vregs; member 131 rptr->vregs = devm_kcalloc(dev, num, sizeof(*rptr->vregs), GFP_KERNEL); in eusb2_repeater_init_vregs() 132 if (!rptr->vregs) in eusb2_repeater_init_vregs() 136 rptr->vregs[i].supply = rptr->cfg->vreg_list[i]; in eusb2_repeater_init_vregs() 138 return devm_regulator_bulk_get(dev, num, rptr->vregs); in eusb2_repeater_init_vregs() 150 ret = regulator_bulk_enable(rptr->cfg->num_vregs, rptr->vregs); in eusb2_repeater_init() 215 return regulator_bulk_disable(rptr->cfg->num_vregs, rptr->vregs); in eusb2_repeater_exit()
|
H A D | phy-qcom-snps-femto-v2.c | 120 * @vregs: regulator supplies bulk data 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[ in qcom_snps_hsphy_probe() [all...] |
H A 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() [all...] |
H A D | phy-qcom-qusb2.c | 416 * @vregs: regulator supplies bulk data 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[ in qusb2_phy_probe() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H 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()
|
/kernel/linux/linux-6.6/arch/loongarch/include/uapi/asm/ |
H A D | ptrace.h | 51 uint64_t vregs[32*2]; member 56 uint64_t vregs[32*4]; member
|
/kernel/linux/linux-5.10/arch/loongarch/include/uapi/asm/ |
H A D | ptrace.h | 51 uint64_t vregs[32*2]; member 56 uint64_t vregs[32*4]; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-loongarch/asm/ |
H A D | ptrace.h | 60 uint64_t vregs[32*2]; member 65 uint64_t vregs[32*4]; member
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H 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() 305 err = __copy_from_user(fpsimd.vregs, user->fpsimd->vregs, in restore_sve_fpsimd_context() 306 sizeof(fpsimd.vregs)); in restore_sve_fpsimd_context()
|