Searched refs:v_regs (Results 1 - 9 of 9) sorted by relevance

/linux-master/arch/powerpc/include/uapi/asm/
H A Dsigcontext.h35 * extended by appending a pointer (v_regs) to a quadword type (elf_vrreg_t)
43 * The pointer (v_regs) of vector type (elf_vrreg_t) is type compatible with
87 elf_vrreg_t __user *v_regs; member in struct:sigcontext
/linux-master/tools/testing/selftests/powerpc/math/
H A Dvmx_signal.c51 if (memcmp(mc->v_regs->vrregs[i], &varray[i - 20], 16)) {
62 printf("%d | 0x%04x%04x%04x%04x | 0x%04x%04x%04x%04x\n", j, mc->v_regs->vrregs[j][0],
63 mc->v_regs->vrregs[j][1], mc->v_regs->vrregs[j][2], mc->v_regs->vrregs[j][3],
/linux-master/arch/powerpc/kernel/
H A Dsignal_64.c118 /* When CONFIG_ALTIVEC is set, we _always_ setup v_regs even if the
124 * v_regs pointer or not
127 elf_vrreg_t __user *v_regs = sigcontext_vmx_regs(sc); local
137 unsafe_put_user(v_regs, &sc->v_regs, efault_out);
142 unsafe_copy_to_user(v_regs, &tsk->thread.vr_state,
152 unsafe_put_user(tsk->thread.vrsave, (u32 __user *)&v_regs[33], efault_out);
154 unsafe_put_user(0, &sc->v_regs, efault_out);
167 * then out to userspace. Update v_regs to point after the
171 v_regs
221 elf_vrreg_t __user *v_regs = sigcontext_vmx_regs(sc); local
341 elf_vrreg_t __user *v_regs; local
442 elf_vrreg_t __user *v_regs, *tm_v_regs; local
[all...]
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-vmx.c64 fail = memcmp(ucp->uc_mcontext.v_regs->vrregs[VMX20 + i],
71 printf("%08x", ucp->uc_mcontext.v_regs->vrregs[VMX20 + i][j]);
82 fail = memcmp(tm_ucp->uc_mcontext.v_regs->vrregs[VMX20 + i],
89 printf("%08x", tm_ucp->uc_mcontext.v_regs->vrregs[VMX20 + i][j]);
H A Dtm-signal-pagefault.c204 ucp->uc_mcontext.v_regs =
205 get_uf_mem(sizeof(elf_vrreg_t), ucp->uc_mcontext.v_regs);
207 ucp->uc_link->uc_mcontext.v_regs =
208 get_uf_mem(sizeof(elf_vrreg_t), ucp->uc_link->uc_mcontext.v_regs);
H A Dtm-signal-context-chk-vsx.c75 * half vsr32-63 too) are stored right after the v_regs pointer, in an
85 * v_regs is a 16 byte aligned pointer at the start of vmx_reserve
86 * (vmx_reserve may or may not be 16 aligned) where the v_regs structure
87 * exists, so v_regs points to where vr0-31 / vsr32-63 registers are
88 * fully stored. Since v_regs type is elf_vrregset_t, v_regs + 1
90 * part of one VSX half, i.e. v_regs + 1 points to the least significant
96 long *vsx_ptr = (long *)(ucp->uc_mcontext.v_regs + 1);
97 long *tm_vsx_ptr = (long *)(tm_ucp->uc_mcontext.v_regs + 1);
/linux-master/drivers/video/fbdev/
H A Dcarminefb.c56 void __iomem *v_regs; member in struct:carmine_hw
155 writel(val, hw->v_regs + offset);
161 return readl(hw->v_regs + offset);
637 hw->v_regs = ioremap(carminefb_fix.mmio_start,
639 if (!hw->v_regs) {
681 ret = alloc_carmine_fb(hw->v_regs + CARMINE_DISP0_REG,
692 ret = alloc_carmine_fb(hw->v_regs + CARMINE_DISP1_REG,
715 iounmap(hw->v_regs);
747 iounmap(hw->v_regs);
H A Dpm2fb.c90 unsigned char __iomem *v_regs;/* virtual address of p_regs */ member in struct:pm2fb_par
147 return fb_readl(p->v_regs + off);
152 fb_writel(v, p->v_regs + off);
1578 default_par->v_regs =
1580 if (!default_par->v_regs) {
1717 iounmap(default_par->v_regs);
1741 iounmap(par->v_regs);
H A Dpm3fb.c69 unsigned char __iomem *v_regs;/* virtual address of p_regs */ member in struct:pm3_par
97 return fb_readl(par->v_regs + off);
102 fb_writel(v, par->v_regs + off);
1356 par->v_regs =
1358 if (!par->v_regs) {
1456 iounmap(par->v_regs);
1480 iounmap(par->v_regs);

Completed in 233 milliseconds