Searched refs:v_regs (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | signal_64.c | 84 /* When CONFIG_ALTIVEC is set, we _always_ setup v_regs even if the setup_sigcontext() 90 * v_regs pointer or not setup_sigcontext() 93 elf_vrreg_t __user *v_regs = (elf_vrreg_t __user *)(((unsigned long)sc->vmx_reserve + 15) & ~0xful); setup_sigcontext() local 99 err |= __put_user(v_regs, &sc->v_regs); setup_sigcontext() 105 err |= __copy_to_user(v_regs, ¤t->thread.vr_state, setup_sigcontext() 117 err |= __put_user(current->thread.vrsave, (u32 __user *)&v_regs[33]); setup_sigcontext() 119 err |= __put_user(0, &sc->v_regs); setup_sigcontext() 133 * then out to userspace. Update v_regs to point after the setup_sigcontext() 138 v_regs += ELF_NVRREG; setup_sigcontext() 139 err |= copy_vsx_to_user(v_regs, current); setup_sigcontext() 175 /* When CONFIG_ALTIVEC is set, we _always_ setup v_regs even if the setup_tm_sigcontexts() 181 * v_regs pointer or not. setup_tm_sigcontexts() 184 elf_vrreg_t __user *v_regs = (elf_vrreg_t __user *) setup_tm_sigcontexts() local 204 err |= __put_user(v_regs, &sc->v_regs); setup_tm_sigcontexts() 205 err |= __put_user(tm_v_regs, &tm_sc->v_regs); setup_tm_sigcontexts() 211 err |= __copy_to_user(v_regs, ¤t->thread.vr_state, setup_tm_sigcontexts() 235 err |= __put_user(current->thread.vrsave, (u32 __user *)&v_regs[33]); setup_tm_sigcontexts() 244 err |= __put_user(0, &sc->v_regs); setup_tm_sigcontexts() 245 err |= __put_user(0, &tm_sc->v_regs); setup_tm_sigcontexts() 258 * then out to userspace. Update v_regs to point after the setup_tm_sigcontexts() 263 v_regs += ELF_NVRREG; setup_tm_sigcontexts() 266 err |= copy_vsx_to_user(v_regs, current); setup_tm_sigcontexts() 305 elf_vrreg_t __user *v_regs; restore_sigcontext() local 358 err |= __get_user(v_regs, &sc->v_regs); restore_sigcontext() 361 if (v_regs && !access_ok(VERIFY_READ, v_regs, 34 * sizeof(vector128))) restore_sigcontext() 364 if (v_regs != NULL && (msr & MSR_VEC) != 0) restore_sigcontext() 365 err |= __copy_from_user(¤t->thread.vr_state, v_regs, restore_sigcontext() 370 if (v_regs != NULL) restore_sigcontext() 371 err |= __get_user(current->thread.vrsave, (u32 __user *)&v_regs[33]); restore_sigcontext() 381 * Get additional VSX data. Update v_regs to point after the restore_sigcontext() 385 v_regs += ELF_NVRREG; restore_sigcontext() 387 err |= copy_vsx_from_user(current, v_regs); restore_sigcontext() 405 elf_vrreg_t __user *v_regs, *tm_v_regs; restore_tm_sigcontexts() local 477 err |= __get_user(v_regs, &sc->v_regs); restore_tm_sigcontexts() 478 err |= __get_user(tm_v_regs, &tm_sc->v_regs); restore_tm_sigcontexts() 481 if (v_regs && !access_ok(VERIFY_READ, v_regs, 34 * sizeof(vector128))) restore_tm_sigcontexts() 487 if (v_regs != NULL && tm_v_regs != NULL && (msr & MSR_VEC) != 0) { restore_tm_sigcontexts() 488 err |= __copy_from_user(¤t->thread.vr_state, v_regs, restore_tm_sigcontexts() 498 if (v_regs != NULL && tm_v_regs != NULL) { restore_tm_sigcontexts() 500 (u32 __user *)&v_regs[33]); restore_tm_sigcontexts() 516 * Get additional VSX data. Update v_regs to point after the restore_tm_sigcontexts() 520 if (v_regs && ((msr & MSR_VSX) != 0)) { restore_tm_sigcontexts() 521 v_regs += ELF_NVRREG; restore_tm_sigcontexts() 523 err |= copy_vsx_from_user(current, v_regs); restore_tm_sigcontexts()
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
H A D | sigcontext.h | 30 * extended by appending a pointer (v_regs) to a quadword type (elf_vrreg_t) 38 * The pointer (v_regs) of vector type (elf_vrreg_t) is type compatible with 82 elf_vrreg_t __user *v_regs; member in struct:sigcontext
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | carminefb.c | 54 void __iomem *v_regs; member in struct:carmine_hw 153 writel(val, hw->v_regs + offset); c_set_hw_reg() 159 return readl(hw->v_regs + offset); c_get_hw_reg() 635 hw->v_regs = ioremap_nocache(carminefb_fix.mmio_start, carminefb_probe() 637 if (!hw->v_regs) { carminefb_probe() 679 ret = alloc_carmine_fb(hw->v_regs + CARMINE_DISP0_REG, carminefb_probe() 690 ret = alloc_carmine_fb(hw->v_regs + CARMINE_DISP1_REG, carminefb_probe() 713 iounmap(hw->v_regs); carminefb_probe() 745 iounmap(hw->v_regs); carminefb_remove()
|
H A D | pm3fb.c | 75 unsigned char __iomem *v_regs;/* virtual address of p_regs */ member in struct:pm3_par 103 return fb_readl(par->v_regs + off); PM3_READ_REG() 108 fb_writel(v, par->v_regs + off); PM3_WRITE_REG() 1356 par->v_regs = pm3fb_probe() 1358 if (!par->v_regs) { pm3fb_probe() 1460 iounmap(par->v_regs); pm3fb_probe() 1488 iounmap(par->v_regs); pm3fb_remove()
|
H A D | pm2fb.c | 96 unsigned char __iomem *v_regs;/* virtual address of p_regs */ member in struct:pm2fb_par 153 return fb_readl(p->v_regs + off); pm2_RD() 158 fb_writel(v, p->v_regs + off); pm2_WR() 1570 default_par->v_regs = pm2fb_probe() 1572 if (!default_par->v_regs) { pm2fb_probe() 1715 iounmap(default_par->v_regs); pm2fb_probe() 1744 iounmap(par->v_regs); pm2fb_remove()
|
Completed in 321 milliseconds