Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kernel/
H A 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 …]
/openbmc/linux/arch/arm/kernel/
H A Dunwind.c56 unsigned long vrs[16]; /* virtual register set */ member
243 ctrl->vrs[reg] = READ_ONCE_NOCHECK(*(*vsp)); in unwind_pop_register()
254 unsigned long *vsp = (unsigned long *)ctrl->vrs[SP]; in unwind_exec_pop_subset_r4_to_r13()
266 ctrl->vrs[SP] = (unsigned long)vsp; in unwind_exec_pop_subset_r4_to_r13()
275 unsigned long *vsp = (unsigned long *)ctrl->vrs[SP]; in unwind_exec_pop_r4_to_rN()
287 ctrl->vrs[SP] = (unsigned long)vsp; in unwind_exec_pop_r4_to_rN()
295 unsigned long *vsp = (unsigned long *)ctrl->vrs[SP]; in unwind_exec_pop_subset_r0_to_r3()
306 ctrl->vrs[SP] = (unsigned long)vsp; in unwind_exec_pop_subset_r0_to_r3()
345 ctrl->vrs[SP] += ((insn & 0x3f) << 2) + 4; in unwind_exec_insn()
347 ctrl->vrs[SP] -= ((insn & 0x3f) << 2) + 4; in unwind_exec_insn()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/include/
H A 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
/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Dresets.c108 TEST_ASSERT(!memcmp(sync_regs->vrs, regs_null, sizeof(sync_regs->vrs)), in assert_clear()
/openbmc/linux/arch/x86/kernel/cpu/mtrr/
H A Dgeneric.c681 struct mtrr_var_range *vrs; in get_mtrr_state() local
685 vrs = mtrr_state.var_ranges; in get_mtrr_state()
691 get_mtrr_var_range(i, &vrs[i]); in get_mtrr_state()
/openbmc/linux/tools/arch/s390/include/uapi/asm/
H A Dkvm.h261 __u64 vrs[32][2]; /* vector registers (KVM_SYNC_VRS) */ member
/openbmc/linux/arch/s390/include/uapi/asm/
H A Dkvm.h277 __u64 vrs[32][2]; /* vector registers (KVM_SYNC_VRS) */ member
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.h30 struct mlxsw_sp_vr *vrs; member
H A Dspectrum_router.c783 vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_vr_find_unused()
830 vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_vr_find()
1002 vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_vrs_lpm_tree_replace()
1040 mlxsw_sp->router->vrs = kcalloc(max_vrs, sizeof(struct mlxsw_sp_vr), in mlxsw_sp_vrs_init()
1042 if (!mlxsw_sp->router->vrs) in mlxsw_sp_vrs_init()
1046 vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_vrs_init()
1066 kfree(mlxsw_sp->router->vrs); in mlxsw_sp_vrs_fini()
7527 struct mlxsw_sp_vr *vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_router_fib_flush()
8499 vr = &mlxsw_sp->router->vrs[rif->vr_id]; in mlxsw_sp_rif_destroy()
9475 vr = &mlxsw_sp->router->vrs[rif->vr_id]; in mlxsw_sp_router_port_change_event()
[all …]
/openbmc/qemu/linux-headers/asm-s390/
H A Dkvm.h590 __u64 vrs[32][2]; /* vector registers (KVM_SYNC_VRS) */ member
/openbmc/qemu/target/s390x/kvm/
H A Dkvm.c493 cs->kvm_run->s.regs.vrs[i][0] = env->vregs[i][0]; in kvm_arch_put_registers()
494 cs->kvm_run->s.regs.vrs[i][1] = env->vregs[i][1]; in kvm_arch_put_registers()
623 env->vregs[i][0] = cs->kvm_run->s.regs.vrs[i][0]; in kvm_arch_get_registers()
624 env->vregs[i][1] = cs->kvm_run->s.regs.vrs[i][1]; in kvm_arch_get_registers()
/openbmc/linux/arch/s390/kvm/
H A Dkvm-s390.c4262 memset(&regs->vrs, 0, sizeof(regs->vrs)); in kvm_arch_vcpu_ioctl_clear_reset()
4318 convert_fp_to_vx((__vector128 *) vcpu->run->s.regs.vrs, in kvm_arch_vcpu_ioctl_set_fpu()
4335 (__vector128 *) vcpu->run->s.regs.vrs); in kvm_arch_vcpu_ioctl_get_fpu()
4959 current->thread.fpu.regs = vcpu->run->s.regs.vrs; in sync_regs()
5141 convert_vx_to_fp(fprs, (__vector128 *) vcpu->run->s.regs.vrs); in kvm_s390_store_status_unloaded()
H A Dinterrupt.c618 if (write_guest_abs(vcpu, ext_sa_addr, vcpu->run->s.regs.vrs, in __write_machine_check()
643 convert_vx_to_fp(fprs, (__vector128 *) vcpu->run->s.regs.vrs); in __write_machine_check()