/linux-master/arch/m68k/include/asm/ |
H A D | ucontext.h | 16 gregset_t gregs; member in struct:mcontext
|
/linux-master/arch/nios2/include/uapi/asm/ |
H A D | sigcontext.h | 28 unsigned long gregs[32]; member in struct:sigcontext
|
/linux-master/arch/x86/um/os-Linux/ |
H A D | mcontext.c | 10 #define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y] 11 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] 12 #define COPY_SEG(X) regs->gp[X] = mc->gregs[REG_##X] & 0xffff; 13 #define COPY_SEG_CPL3(X) regs->gp[X] = (mc->gregs[REG_##X] & 0xffff) | 3; 20 #define COPY2(X,Y) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##Y] 21 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X]
|
/linux-master/arch/x86/um/shared/sysdep/ |
H A D | mcontext.h | 16 (fi).error_code = (mc)->gregs[REG_ERR]; \ 17 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \ 24 (fi).cr2 = (mc)->gregs[REG_CR2]; \ 25 (fi).error_code = (mc)->gregs[REG_ERR]; \ 26 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
|
/linux-master/drivers/net/ethernet/sun/ |
H A D | sunbmac.h | 290 void __iomem *gregs; /* QEC Global Registers */ member in struct:bigmac
|
H A D | sunqe.h | 315 void __iomem *gregs; /* QEC Global Registers */ member in struct:sunqec
|
H A D | sunbmac.c | 80 static int qec_global_reset(void __iomem *gregs) argument 84 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); 86 if (sbus_readl(gregs + GLOB_CTRL) & GLOB_CTRL_RESET) { 101 void __iomem *gregs = bp->gregs; local 112 sbus_writel(regval | GLOB_CTRL_BMODE, gregs + GLOB_CTRL); 113 sbus_writel(GLOB_PSIZE_2048, gregs + GLOB_PSIZE); 117 gregs + GLOB_MSIZE); 121 gregs + GLOB_TSIZE); 123 gregs 622 void __iomem *gregs = bp->gregs; local [all...] |
H A D | sunhme.c | 943 static void happy_meal_stop(struct happy_meal *hp, void __iomem *gregs) argument 950 hme_write32(hp, gregs + GREG_SWRESET, GREG_RESET_ALL); 951 while (hme_read32(hp, gregs + GREG_SWRESET) && --tries) 1259 void __iomem *gregs = hp->gregs; local 1279 happy_meal_stop(hp, gregs); 1395 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST64); 1421 hme_write32(hp, gregs + GREG_CFG, gcfg); 1424 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST32); 1427 hme_write32(hp, gregs 1536 void __iomem *gregs = hp->gregs; local [all...] |
H A D | sunhme.h | 402 void __iomem *gregs; /* Happy meal global registers */ member in struct:happy_meal
|
H A D | sunqe.c | 63 static inline int qec_global_reset(void __iomem *gregs) argument 67 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); 69 u32 tmp = sbus_readl(gregs + GLOB_CTRL); 146 void __iomem *gregs = qecp->gregs; local 168 tmp = qep->channel * sbus_readl(gregs + GLOB_MSIZE); 173 sbus_readl(gregs + GLOB_RSIZE); 475 qec_status = sbus_readl(qecp->gregs + GLOB_STAT); 722 sbus_writel(GLOB_CTRL_B64, qecp->gregs + GLOB_CTRL); 724 sbus_writel(GLOB_CTRL_B32, qecp->gregs [all...] |
/linux-master/include/linux/ |
H A D | fsl_ifc.h | 837 struct fsl_ifc_global __iomem *gregs; member in struct:fsl_ifc_ctrl
|
/linux-master/samples/seccomp/ |
H A D | bpf-direct.c | 73 syscall = ctx->uc_mcontext.gregs[REG_SYSCALL]; 74 buf = (char *) ctx->uc_mcontext.gregs[REG_ARG1]; 75 len = (size_t) ctx->uc_mcontext.gregs[REG_ARG2]; 79 if (ctx->uc_mcontext.gregs[REG_ARG0] != STDERR_FILENO) 82 ctx->uc_mcontext.gregs[REG_RESULT] = -1; 85 ctx->uc_mcontext.gregs[REG_RESULT] = bytes;
|
/linux-master/tools/testing/selftests/powerpc/alignment/ |
H A D | copy_first_unaligned.c | 24 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.uc_regs->gregs[PT_NIP];
|
/linux-master/tools/testing/selftests/powerpc/copyloops/ |
H A D | exc_validate.c | 16 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP]
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-msr-resv.c | 43 ucp->uc_mcontext.uc_regs->gregs[PT_MSR] |= (7ULL);
|
/linux-master/tools/testing/selftests/x86/ |
H A D | entry_from_vm86.c | 58 if (ctx->uc_mcontext.gregs[REG_EFL] & X86_EFLAGS_VM || 59 (ctx->uc_mcontext.gregs[REG_CS] & 3) != 3) { 73 (unsigned long)ctx->uc_mcontext.gregs[REG_EFL], 74 (unsigned short)ctx->uc_mcontext.gregs[REG_CS]);
|
H A D | sysret_rip.c | 73 if (rip != ctx->uc_mcontext.gregs[REG_RIP]) { 75 rip, (unsigned long)ctx->uc_mcontext.gregs[REG_RIP]); 80 memcpy(&ctx->uc_mcontext.gregs, &initial_regs, sizeof(gregset_t)); 89 memcpy(&initial_regs, &ctx->uc_mcontext.gregs, sizeof(gregset_t)); 92 ctx->uc_mcontext.gregs[REG_RIP] = rip; 93 ctx->uc_mcontext.gregs[REG_RCX] = rip; 96 assert(ctx->uc_mcontext.gregs[REG_EFL] == 97 ctx->uc_mcontext.gregs[REG_R11]); 117 if (rip != ctx->uc_mcontext.gregs[REG_RIP]) { 119 rip, (unsigned long)ctx->uc_mcontext.gregs[REG_RI [all...] |
/linux-master/arch/m68k/kernel/ |
H A D | signal.c | 715 greg_t __user *gregs = uc->uc_mcontext.gregs; local 726 err |= __get_user(regs->d0, &gregs[0]); 727 err |= __get_user(regs->d1, &gregs[1]); 728 err |= __get_user(regs->d2, &gregs[2]); 729 err |= __get_user(regs->d3, &gregs[3]); 730 err |= __get_user(regs->d4, &gregs[4]); 731 err |= __get_user(regs->d5, &gregs[5]); 732 err |= __get_user(sw->d6, &gregs[6]); 733 err |= __get_user(sw->d7, &gregs[ 835 greg_t __user *gregs = uc->uc_mcontext.gregs; local [all...] |
/linux-master/arch/nios2/kernel/ |
H A D | signal.c | 42 unsigned long __user *gregs = uc->uc_mcontext.gregs; local 52 err |= __get_user(regs->r1, &gregs[0]); 53 err |= __get_user(regs->r2, &gregs[1]); 54 err |= __get_user(regs->r3, &gregs[2]); 55 err |= __get_user(regs->r4, &gregs[3]); 56 err |= __get_user(regs->r5, &gregs[4]); 57 err |= __get_user(regs->r6, &gregs[5]); 58 err |= __get_user(regs->r7, &gregs[6]); 59 err |= __get_user(regs->r8, &gregs[ 131 unsigned long __user *gregs = uc->uc_mcontext.gregs; local [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | elf.h | 54 #define ELF_CORE_COPY_REGS(gregs, regs) ppc_elf_core_copy_regs(gregs, regs);
|
H A D | mpic.h | 307 struct mpic_reg_bank gregs; member in struct:mpic
|
/linux-master/arch/powerpc/kernel/ |
H A D | signal_32.c | 94 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; local 102 val = gregs[i]; 115 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; local 121 unsafe_get_user(gregs[i], &sr->mc_gregs[i], failed);
|
/linux-master/arch/powerpc/sysdev/ |
H A D | mpic.c | 220 return _mpic_read(type, &mpic->gregs, offset); 228 _mpic_write(mpic->reg_type, &mpic->gregs, offset, value); 355 mpic_write(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0), MPIC_VECPRI_MASK); 356 r = mpic_read(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0)); 1359 mpic_map(mpic, mpic->paddr, &mpic->gregs, MPIC_INFO(GREG_BASE), 0x1000); 1419 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), 1420 mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) 1422 while( mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) 1429 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), 1430 mpic_read(mpic->gregs, MPIC_INF [all...] |
/linux-master/drivers/memory/ |
H A D | fsl_ifc.c | 51 if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->gregs) 55 u32 cspr = ifc_in32(&fsl_ifc_ctrl_dev->gregs->cspr_cs[i].cspr); 68 struct fsl_ifc_global __iomem *ifc = ctrl->gregs; 98 iounmap(ctrl->gregs); 148 struct fsl_ifc_global __iomem *ifc = ctrl->gregs; 218 fsl_ifc_ctrl_dev->gregs = of_iomap(dev->dev.of_node, 0); 219 if (!fsl_ifc_ctrl_dev->gregs) { 232 version = ifc_in32(&fsl_ifc_ctrl_dev->gregs->ifc_rev) & 242 addr = fsl_ifc_ctrl_dev->gregs; 302 iounmap(fsl_ifc_ctrl_dev->gregs); [all...] |
/linux-master/drivers/mtd/nand/raw/ |
H A D | fsl_ifc_nand.c | 711 struct fsl_ifc_global __iomem *ifc_global = ctrl->gregs; 781 struct fsl_ifc_global __iomem *ifc_global = ctrl->gregs; 857 struct fsl_ifc_global __iomem *ifc_global = ctrl->gregs; 1005 if (match_bank(fsl_ifc_ctrl_dev->gregs, bank, res.start))
|