Home
last modified time | relevance | path

Searched refs:vrs (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dvecemu.c267 vector128 *vrs; in emulate_altivec() local
280 vrs = current->thread.vr_state.vr; in emulate_altivec()
285 vaddfp(&vrs[vd], &vrs[va], &vrs[vb]); in emulate_altivec()
288 vsubfp(&vrs[vd], &vrs[va], &vrs[vb]); in emulate_altivec()
291 vrefp(&vrs[vd], &vrs[vb]); in emulate_altivec()
294 vrsqrtefp(&vrs[vd], &vrs[vb]); in emulate_altivec()
298 vrs[vd].u[i] = eexp2(vrs[vb].u[i]); in emulate_altivec()
302 vrs[vd].u[i] = elog2(vrs[vb].u[i]); in emulate_altivec()
306 vrs[vd].u[i] = rfin(vrs[vb].u[i]); in emulate_altivec()
310 vrs[vd].u[i] = rfiz(vrs[vb].u[i]); in emulate_altivec()
[all …]
/kernel/linux/linux-5.10/arch/arm/kernel/
Dunwind.c56 unsigned long vrs[16]; /* virtual register set */ member
242 ctrl->vrs[reg] = READ_ONCE_NOCHECK(*(*vsp)); in unwind_pop_register()
251 unsigned long *vsp = (unsigned long *)ctrl->vrs[SP]; in unwind_exec_pop_subset_r4_to_r13()
263 ctrl->vrs[SP] = (unsigned long)vsp; in unwind_exec_pop_subset_r4_to_r13()
271 unsigned long *vsp = (unsigned long *)ctrl->vrs[SP]; in unwind_exec_pop_r4_to_rN()
283 ctrl->vrs[SP] = (unsigned long)vsp; in unwind_exec_pop_r4_to_rN()
291 unsigned long *vsp = (unsigned long *)ctrl->vrs[SP]; in unwind_exec_pop_subset_r0_to_r3()
302 ctrl->vrs[SP] = (unsigned long)vsp; in unwind_exec_pop_subset_r0_to_r3()
318 ctrl->vrs[SP] += ((insn & 0x3f) << 2) + 4; in unwind_exec_insn()
320 ctrl->vrs[SP] -= ((insn & 0x3f) << 2) + 4; in unwind_exec_insn()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/
Dinstructions.h141 #define PSTXSD(vrs, a, r, d) PREFIX_8LS(0xb8000000, vrs, a, r, d) argument
142 #define PSTXSSP(vrs, a, r, d) PREFIX_8LS(0xbc000000, vrs, a, r, d) argument
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/
Dresets.c111 TEST_ASSERT(!memcmp(sync_regs->vrs, regs_null, sizeof(sync_regs->vrs)), in assert_clear()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mtrr/
Dgeneric.c465 struct mtrr_var_range *vrs; in get_mtrr_state() local
469 vrs = mtrr_state.var_ranges; in get_mtrr_state()
475 get_mtrr_var_range(i, &vrs[i]); in get_mtrr_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.h21 struct mlxsw_sp_vr *vrs; member
Dspectrum_router.c677 vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_vr_find_unused()
723 vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_vr_find()
894 vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_vrs_lpm_tree_replace()
932 mlxsw_sp->router->vrs = kcalloc(max_vrs, sizeof(struct mlxsw_sp_vr), in mlxsw_sp_vrs_init()
934 if (!mlxsw_sp->router->vrs) in mlxsw_sp_vrs_init()
938 vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_vrs_init()
958 kfree(mlxsw_sp->router->vrs); in mlxsw_sp_vrs_fini()
5680 struct mlxsw_sp_vr *vr = &mlxsw_sp->router->vrs[i]; in __mlxsw_sp_router_set_abort_trap()
5865 struct mlxsw_sp_vr *vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_router_fib_flush()
6598 vr = &mlxsw_sp->router->vrs[rif->vr_id]; in mlxsw_sp_rif_destroy()
[all …]
/kernel/linux/linux-5.10/tools/arch/s390/include/uapi/asm/
Dkvm.h260 __u64 vrs[32][2]; /* vector registers (KVM_SYNC_VRS) */ member
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dkvm.h260 __u64 vrs[32][2]; /* vector registers (KVM_SYNC_VRS) */ member
/kernel/linux/linux-5.10/arch/s390/kvm/
Dkvm-s390.c3594 memset(&regs->vrs, 0, sizeof(regs->vrs)); in kvm_arch_vcpu_ioctl_clear_reset()
3654 convert_fp_to_vx((__vector128 *) vcpu->run->s.regs.vrs, in kvm_arch_vcpu_ioctl_set_fpu()
3672 (__vector128 *) vcpu->run->s.regs.vrs); in kvm_arch_vcpu_ioctl_get_fpu()
4294 current->thread.fpu.regs = vcpu->run->s.regs.vrs; in sync_regs()
4467 convert_vx_to_fp(fprs, (__vector128 *) vcpu->run->s.regs.vrs); in kvm_s390_store_status_unloaded()
Dinterrupt.c622 if (write_guest_abs(vcpu, ext_sa_addr, vcpu->run->s.regs.vrs, in __write_machine_check()
647 convert_vx_to_fp(fprs, (__vector128 *) vcpu->run->s.regs.vrs); in __write_machine_check()