Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/kernel/
A Dsignal_64.c137 unsafe_put_user(v_regs, &sc->v_regs, efault_out); in __unsafe_setup_sigcontext()
171 v_regs += ELF_NVRREG; in __unsafe_setup_sigcontext()
240 err |= __put_user(v_regs, &sc->v_regs); in setup_tm_sigcontexts()
297 v_regs += ELF_NVRREG; in setup_tm_sigcontexts()
390 unsafe_get_user(v_regs, &sc->v_regs, efault_out); in __unsafe_restore_sigcontext()
391 if (v_regs && !access_ok(v_regs, 34 * sizeof(vector128))) in __unsafe_restore_sigcontext()
402 if (v_regs != NULL) in __unsafe_restore_sigcontext()
417 v_regs += ELF_NVRREG; in __unsafe_restore_sigcontext()
509 err |= __get_user(v_regs, &sc->v_regs); in restore_tm_sigcontexts()
513 if (v_regs && !access_ok(v_regs, 34 * sizeof(vector128))) in restore_tm_sigcontexts()
[all …]
/linux-6.3-rc2/tools/testing/selftests/powerpc/math/
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-6.3-rc2/tools/testing/selftests/powerpc/tm/
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()
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()
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-6.3-rc2/drivers/video/fbdev/
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()
641 hw->v_regs = ioremap(carminefb_fix.mmio_start, in carminefb_probe()
643 if (!hw->v_regs) { in carminefb_probe()
685 ret = alloc_carmine_fb(hw->v_regs + CARMINE_DISP0_REG, in carminefb_probe()
696 ret = alloc_carmine_fb(hw->v_regs + CARMINE_DISP1_REG, in carminefb_probe()
719 iounmap(hw->v_regs); in carminefb_probe()
751 iounmap(hw->v_regs); in carminefb_remove()
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()
1354 par->v_regs = in pm3fb_probe()
1356 if (!par->v_regs) { in pm3fb_probe()
1455 iounmap(par->v_regs); in pm3fb_probe()
1479 iounmap(par->v_regs); in pm3fb_remove()
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()
1576 default_par->v_regs = in pm2fb_probe()
1578 if (!default_par->v_regs) { in pm2fb_probe()
1716 iounmap(default_par->v_regs); in pm2fb_probe()
1740 iounmap(par->v_regs); in pm2fb_remove()
/linux-6.3-rc2/arch/powerpc/include/uapi/asm/
A Dsigcontext.h87 elf_vrreg_t __user *v_regs; member

Completed in 21 milliseconds