Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/
H A Dsignal_64.c127 elf_vrreg_t __user *v_regs = sigcontext_vmx_regs(sc); in __unsafe_setup_sigcontext() local
137 unsafe_put_user(v_regs, &sc->v_regs, efault_out); in __unsafe_setup_sigcontext()
142 unsafe_copy_to_user(v_regs, &tsk->thread.vr_state, in __unsafe_setup_sigcontext()
152 unsafe_put_user(tsk->thread.vrsave, (u32 __user *)&v_regs[33], efault_out); in __unsafe_setup_sigcontext()
154 unsafe_put_user(0, &sc->v_regs, efault_out); in __unsafe_setup_sigcontext()
171 v_regs += ELF_NVRREG; in __unsafe_setup_sigcontext()
172 unsafe_copy_vsx_to_user(v_regs, tsk, efault_out); in __unsafe_setup_sigcontext()
221 elf_vrreg_t __user *v_regs = sigcontext_vmx_regs(sc); in setup_tm_sigcontexts() local
240 err |= __put_user(v_regs, &sc->v_regs); in setup_tm_sigcontexts()
241 err |= __put_user(tm_v_regs, &tm_sc->v_regs); in setup_tm_sigcontexts()
[all …]
/linux/tools/testing/selftests/powerpc/math/
H A Dvmx_signal.c51 if (memcmp(mc->v_regs->vrregs[i], &varray[i - 20], 16)) { in signal_vmx_sig()
62 printf("%d | 0x%04x%04x%04x%04x | 0x%04x%04x%04x%04x\n", j, mc->v_regs->vrregs[j][0], in signal_vmx_sig()
63 mc->v_regs->vrregs[j][1], mc->v_regs->vrregs[j][2], mc->v_regs->vrregs[j][3], in signal_vmx_sig()
/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-vmx.c64 fail = memcmp(ucp->uc_mcontext.v_regs->vrregs[VMX20 + i], in signal_usr1()
71 printf("%08x", ucp->uc_mcontext.v_regs->vrregs[VMX20 + i][j]); in signal_usr1()
82 fail = memcmp(tm_ucp->uc_mcontext.v_regs->vrregs[VMX20 + i], in signal_usr1()
89 printf("%08x", tm_ucp->uc_mcontext.v_regs->vrregs[VMX20 + i][j]); in signal_usr1()
H A Dtm-signal-pagefault.c204 ucp->uc_mcontext.v_regs = in signal_handler()
205 get_uf_mem(sizeof(elf_vrreg_t), ucp->uc_mcontext.v_regs); in signal_handler()
207 ucp->uc_link->uc_mcontext.v_regs = in signal_handler()
208 get_uf_mem(sizeof(elf_vrreg_t), ucp->uc_link->uc_mcontext.v_regs); in signal_handler()
H A Dtm-signal-context-chk-vsx.c96 long *vsx_ptr = (long *)(ucp->uc_mcontext.v_regs + 1); in signal_usr1()
97 long *tm_vsx_ptr = (long *)(tm_ucp->uc_mcontext.v_regs + 1); in signal_usr1()
/linux/drivers/video/fbdev/
H A Dcarminefb.c56 void __iomem *v_regs; member
155 writel(val, hw->v_regs + offset); in c_set_hw_reg()
161 return readl(hw->v_regs + offset); in c_get_hw_reg()
637 hw->v_regs = ioremap(carminefb_fix.mmio_start, in carminefb_probe()
639 if (!hw->v_regs) { in carminefb_probe()
681 ret = alloc_carmine_fb(hw->v_regs + CARMINE_DISP0_REG, in carminefb_probe()
692 ret = alloc_carmine_fb(hw->v_regs + CARMINE_DISP1_REG, in carminefb_probe()
715 iounmap(hw->v_regs); in carminefb_probe()
747 iounmap(hw->v_regs); in carminefb_remove()
H A Dpm3fb.c69 unsigned char __iomem *v_regs;/* virtual address of p_regs */ member
97 return fb_readl(par->v_regs + off); in PM3_READ_REG()
102 fb_writel(v, par->v_regs + off); in PM3_WRITE_REG()
1356 par->v_regs = in pm3fb_probe()
1358 if (!par->v_regs) { in pm3fb_probe()
1456 iounmap(par->v_regs); in pm3fb_probe()
1480 iounmap(par->v_regs); in pm3fb_remove()
H A Dpm2fb.c90 unsigned char __iomem *v_regs;/* virtual address of p_regs */ member
147 return fb_readl(p->v_regs + off); in pm2_RD()
152 fb_writel(v, p->v_regs + off); in pm2_WR()
1578 default_par->v_regs = in pm2fb_probe()
1580 if (!default_par->v_regs) { in pm2fb_probe()
1717 iounmap(default_par->v_regs); in pm2fb_probe()
1741 iounmap(par->v_regs); in pm2fb_remove()
/linux/arch/powerpc/include/uapi/asm/
H A Dsigcontext.h87 elf_vrreg_t __user *v_regs; member