gregs 258 arch/ia64/kernel/unwind_decoder.c int gregs = (code & 0x10) != 0; gregs 261 arch/ia64/kernel/unwind_decoder.c if (gregs) gregs 16 arch/m68k/include/asm/ucontext.h gregset_t gregs; gregs 736 arch/m68k/kernel/signal.c greg_t __user *gregs = uc->uc_mcontext.gregs; gregs 747 arch/m68k/kernel/signal.c err |= __get_user(regs->d0, &gregs[0]); gregs 748 arch/m68k/kernel/signal.c err |= __get_user(regs->d1, &gregs[1]); gregs 749 arch/m68k/kernel/signal.c err |= __get_user(regs->d2, &gregs[2]); gregs 750 arch/m68k/kernel/signal.c err |= __get_user(regs->d3, &gregs[3]); gregs 751 arch/m68k/kernel/signal.c err |= __get_user(regs->d4, &gregs[4]); gregs 752 arch/m68k/kernel/signal.c err |= __get_user(regs->d5, &gregs[5]); gregs 753 arch/m68k/kernel/signal.c err |= __get_user(sw->d6, &gregs[6]); gregs 754 arch/m68k/kernel/signal.c err |= __get_user(sw->d7, &gregs[7]); gregs 755 arch/m68k/kernel/signal.c err |= __get_user(regs->a0, &gregs[8]); gregs 756 arch/m68k/kernel/signal.c err |= __get_user(regs->a1, &gregs[9]); gregs 757 arch/m68k/kernel/signal.c err |= __get_user(regs->a2, &gregs[10]); gregs 758 arch/m68k/kernel/signal.c err |= __get_user(sw->a3, &gregs[11]); gregs 759 arch/m68k/kernel/signal.c err |= __get_user(sw->a4, &gregs[12]); gregs 760 arch/m68k/kernel/signal.c err |= __get_user(sw->a5, &gregs[13]); gregs 761 arch/m68k/kernel/signal.c err |= __get_user(sw->a6, &gregs[14]); gregs 762 arch/m68k/kernel/signal.c err |= __get_user(usp, &gregs[15]); gregs 764 arch/m68k/kernel/signal.c err |= __get_user(regs->pc, &gregs[16]); gregs 765 arch/m68k/kernel/signal.c err |= __get_user(temp, &gregs[17]); gregs 851 arch/m68k/kernel/signal.c greg_t __user *gregs = uc->uc_mcontext.gregs; gregs 855 arch/m68k/kernel/signal.c err |= __put_user(regs->d0, &gregs[0]); gregs 856 arch/m68k/kernel/signal.c err |= __put_user(regs->d1, &gregs[1]); gregs 857 arch/m68k/kernel/signal.c err |= __put_user(regs->d2, &gregs[2]); gregs 858 arch/m68k/kernel/signal.c err |= __put_user(regs->d3, &gregs[3]); gregs 859 arch/m68k/kernel/signal.c err |= __put_user(regs->d4, &gregs[4]); gregs 860 arch/m68k/kernel/signal.c err |= __put_user(regs->d5, &gregs[5]); gregs 861 arch/m68k/kernel/signal.c err |= __put_user(sw->d6, &gregs[6]); gregs 862 arch/m68k/kernel/signal.c err |= __put_user(sw->d7, &gregs[7]); gregs 863 arch/m68k/kernel/signal.c err |= __put_user(regs->a0, &gregs[8]); gregs 864 arch/m68k/kernel/signal.c err |= __put_user(regs->a1, &gregs[9]); gregs 865 arch/m68k/kernel/signal.c err |= __put_user(regs->a2, &gregs[10]); gregs 866 arch/m68k/kernel/signal.c err |= __put_user(sw->a3, &gregs[11]); gregs 867 arch/m68k/kernel/signal.c err |= __put_user(sw->a4, &gregs[12]); gregs 868 arch/m68k/kernel/signal.c err |= __put_user(sw->a5, &gregs[13]); gregs 869 arch/m68k/kernel/signal.c err |= __put_user(sw->a6, &gregs[14]); gregs 870 arch/m68k/kernel/signal.c err |= __put_user(rdusp(), &gregs[15]); gregs 871 arch/m68k/kernel/signal.c err |= __put_user(regs->pc, &gregs[16]); gregs 872 arch/m68k/kernel/signal.c err |= __put_user(regs->sr, &gregs[17]); gregs 28 arch/nios2/include/uapi/asm/sigcontext.h unsigned long gregs[32]; gregs 42 arch/nios2/kernel/signal.c unsigned long *gregs = uc->uc_mcontext.gregs; gregs 52 arch/nios2/kernel/signal.c err |= __get_user(regs->r1, &gregs[0]); gregs 53 arch/nios2/kernel/signal.c err |= __get_user(regs->r2, &gregs[1]); gregs 54 arch/nios2/kernel/signal.c err |= __get_user(regs->r3, &gregs[2]); gregs 55 arch/nios2/kernel/signal.c err |= __get_user(regs->r4, &gregs[3]); gregs 56 arch/nios2/kernel/signal.c err |= __get_user(regs->r5, &gregs[4]); gregs 57 arch/nios2/kernel/signal.c err |= __get_user(regs->r6, &gregs[5]); gregs 58 arch/nios2/kernel/signal.c err |= __get_user(regs->r7, &gregs[6]); gregs 59 arch/nios2/kernel/signal.c err |= __get_user(regs->r8, &gregs[7]); gregs 60 arch/nios2/kernel/signal.c err |= __get_user(regs->r9, &gregs[8]); gregs 61 arch/nios2/kernel/signal.c err |= __get_user(regs->r10, &gregs[9]); gregs 62 arch/nios2/kernel/signal.c err |= __get_user(regs->r11, &gregs[10]); gregs 63 arch/nios2/kernel/signal.c err |= __get_user(regs->r12, &gregs[11]); gregs 64 arch/nios2/kernel/signal.c err |= __get_user(regs->r13, &gregs[12]); gregs 65 arch/nios2/kernel/signal.c err |= __get_user(regs->r14, &gregs[13]); gregs 66 arch/nios2/kernel/signal.c err |= __get_user(regs->r15, &gregs[14]); gregs 67 arch/nios2/kernel/signal.c err |= __get_user(sw->r16, &gregs[15]); gregs 68 arch/nios2/kernel/signal.c err |= __get_user(sw->r17, &gregs[16]); gregs 69 arch/nios2/kernel/signal.c err |= __get_user(sw->r18, &gregs[17]); gregs 70 arch/nios2/kernel/signal.c err |= __get_user(sw->r19, &gregs[18]); gregs 71 arch/nios2/kernel/signal.c err |= __get_user(sw->r20, &gregs[19]); gregs 72 arch/nios2/kernel/signal.c err |= __get_user(sw->r21, &gregs[20]); gregs 73 arch/nios2/kernel/signal.c err |= __get_user(sw->r22, &gregs[21]); gregs 74 arch/nios2/kernel/signal.c err |= __get_user(sw->r23, &gregs[22]); gregs 76 arch/nios2/kernel/signal.c err |= __get_user(sw->fp, &gregs[24]); /* Verify, should this be gregs 78 arch/nios2/kernel/signal.c err |= __get_user(sw->gp, &gregs[25]); /* Verify, should this be gregs 81 arch/nios2/kernel/signal.c err |= __get_user(temp, &gregs[26]); /* Not really necessary no user gregs 83 arch/nios2/kernel/signal.c err |= __get_user(regs->ea, &gregs[27]); gregs 85 arch/nios2/kernel/signal.c err |= __get_user(regs->ra, &gregs[23]); gregs 86 arch/nios2/kernel/signal.c err |= __get_user(regs->sp, &gregs[28]); gregs 130 arch/nios2/kernel/signal.c unsigned long *gregs = uc->uc_mcontext.gregs; gregs 134 arch/nios2/kernel/signal.c err |= __put_user(regs->r1, &gregs[0]); gregs 135 arch/nios2/kernel/signal.c err |= __put_user(regs->r2, &gregs[1]); gregs 136 arch/nios2/kernel/signal.c err |= __put_user(regs->r3, &gregs[2]); gregs 137 arch/nios2/kernel/signal.c err |= __put_user(regs->r4, &gregs[3]); gregs 138 arch/nios2/kernel/signal.c err |= __put_user(regs->r5, &gregs[4]); gregs 139 arch/nios2/kernel/signal.c err |= __put_user(regs->r6, &gregs[5]); gregs 140 arch/nios2/kernel/signal.c err |= __put_user(regs->r7, &gregs[6]); gregs 141 arch/nios2/kernel/signal.c err |= __put_user(regs->r8, &gregs[7]); gregs 142 arch/nios2/kernel/signal.c err |= __put_user(regs->r9, &gregs[8]); gregs 143 arch/nios2/kernel/signal.c err |= __put_user(regs->r10, &gregs[9]); gregs 144 arch/nios2/kernel/signal.c err |= __put_user(regs->r11, &gregs[10]); gregs 145 arch/nios2/kernel/signal.c err |= __put_user(regs->r12, &gregs[11]); gregs 146 arch/nios2/kernel/signal.c err |= __put_user(regs->r13, &gregs[12]); gregs 147 arch/nios2/kernel/signal.c err |= __put_user(regs->r14, &gregs[13]); gregs 148 arch/nios2/kernel/signal.c err |= __put_user(regs->r15, &gregs[14]); gregs 149 arch/nios2/kernel/signal.c err |= __put_user(sw->r16, &gregs[15]); gregs 150 arch/nios2/kernel/signal.c err |= __put_user(sw->r17, &gregs[16]); gregs 151 arch/nios2/kernel/signal.c err |= __put_user(sw->r18, &gregs[17]); gregs 152 arch/nios2/kernel/signal.c err |= __put_user(sw->r19, &gregs[18]); gregs 153 arch/nios2/kernel/signal.c err |= __put_user(sw->r20, &gregs[19]); gregs 154 arch/nios2/kernel/signal.c err |= __put_user(sw->r21, &gregs[20]); gregs 155 arch/nios2/kernel/signal.c err |= __put_user(sw->r22, &gregs[21]); gregs 156 arch/nios2/kernel/signal.c err |= __put_user(sw->r23, &gregs[22]); gregs 157 arch/nios2/kernel/signal.c err |= __put_user(regs->ra, &gregs[23]); gregs 158 arch/nios2/kernel/signal.c err |= __put_user(sw->fp, &gregs[24]); gregs 159 arch/nios2/kernel/signal.c err |= __put_user(sw->gp, &gregs[25]); gregs 160 arch/nios2/kernel/signal.c err |= __put_user(regs->ea, &gregs[27]); gregs 161 arch/nios2/kernel/signal.c err |= __put_user(regs->sp, &gregs[28]); gregs 54 arch/powerpc/include/asm/elf.h #define ELF_CORE_COPY_REGS(gregs, regs) ppc_elf_core_copy_regs(gregs, regs); gregs 307 arch/powerpc/include/asm/mpic.h struct mpic_reg_bank gregs; gregs 105 arch/powerpc/kernel/signal_32.c elf_greg_t64 *gregs = (elf_greg_t64 *)regs; gregs 121 arch/powerpc/kernel/signal_32.c if (__put_user((unsigned int)gregs[i], &frame->mc_gregs[i])) gregs 130 arch/powerpc/kernel/signal_32.c elf_greg_t64 *gregs = (elf_greg_t64 *)regs; gregs 136 arch/powerpc/kernel/signal_32.c if (__get_user(gregs[i], &sr->mc_gregs[i])) gregs 218 arch/powerpc/sysdev/mpic.c return _mpic_read(type, &mpic->gregs, offset); gregs 226 arch/powerpc/sysdev/mpic.c _mpic_write(mpic->reg_type, &mpic->gregs, offset, value); gregs 353 arch/powerpc/sysdev/mpic.c mpic_write(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0), MPIC_VECPRI_MASK); gregs 354 arch/powerpc/sysdev/mpic.c r = mpic_read(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0)); gregs 1358 arch/powerpc/sysdev/mpic.c mpic_map(mpic, mpic->paddr, &mpic->gregs, MPIC_INFO(GREG_BASE), 0x1000); gregs 1420 arch/powerpc/sysdev/mpic.c mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), gregs 1421 arch/powerpc/sysdev/mpic.c mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) gregs 1423 arch/powerpc/sysdev/mpic.c while( mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) gregs 1430 arch/powerpc/sysdev/mpic.c mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), gregs 1431 arch/powerpc/sysdev/mpic.c mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) gregs 1435 arch/powerpc/sysdev/mpic.c mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), gregs 1436 arch/powerpc/sysdev/mpic.c mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) gregs 1458 arch/powerpc/sysdev/mpic.c greg_feature = mpic_read(mpic->gregs, MPIC_INFO(GREG_FEATURE_0)); gregs 1624 arch/powerpc/sysdev/mpic.c mpic_write(mpic->gregs, MPIC_INFO(GREG_SPURIOUS), mpic->spurious_vec); gregs 1628 arch/powerpc/sysdev/mpic.c mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), gregs 1629 arch/powerpc/sysdev/mpic.c mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) gregs 1633 arch/powerpc/sysdev/mpic.c mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), gregs 1634 arch/powerpc/sysdev/mpic.c mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) gregs 1913 arch/powerpc/sysdev/mpic.c pir = mpic_read(mpic->gregs, MPIC_INFO(GREG_PROCESSOR_INIT)); gregs 1915 arch/powerpc/sysdev/mpic.c mpic_write(mpic->gregs, MPIC_INFO(GREG_PROCESSOR_INIT), pir); gregs 1916 arch/powerpc/sysdev/mpic.c mpic_read(mpic->gregs, MPIC_INFO(GREG_PROCESSOR_INIT)); gregs 1920 arch/powerpc/sysdev/mpic.c mpic_write(mpic->gregs, MPIC_INFO(GREG_PROCESSOR_INIT), pir); gregs 1921 arch/powerpc/sysdev/mpic.c mpic_read(mpic->gregs, MPIC_INFO(GREG_PROCESSOR_INIT)); gregs 10 arch/x86/um/os-Linux/mcontext.c #define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y] gregs 11 arch/x86/um/os-Linux/mcontext.c #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] gregs 12 arch/x86/um/os-Linux/mcontext.c #define COPY_SEG(X) regs->gp[X] = mc->gregs[REG_##X] & 0xffff; gregs 13 arch/x86/um/os-Linux/mcontext.c #define COPY_SEG_CPL3(X) regs->gp[X] = (mc->gregs[REG_##X] & 0xffff) | 3; gregs 20 arch/x86/um/os-Linux/mcontext.c #define COPY2(X,Y) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##Y] gregs 21 arch/x86/um/os-Linux/mcontext.c #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X] gregs 16 arch/x86/um/shared/sysdep/mcontext.h (fi).error_code = (mc)->gregs[REG_ERR]; \ gregs 17 arch/x86/um/shared/sysdep/mcontext.h (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \ gregs 24 arch/x86/um/shared/sysdep/mcontext.h (fi).cr2 = (mc)->gregs[REG_CR2]; \ gregs 25 arch/x86/um/shared/sysdep/mcontext.h (fi).error_code = (mc)->gregs[REG_ERR]; \ gregs 26 arch/x86/um/shared/sysdep/mcontext.h (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \ gregs 51 drivers/memory/fsl_ifc.c if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->gregs) gregs 55 drivers/memory/fsl_ifc.c u32 cspr = ifc_in32(&fsl_ifc_ctrl_dev->gregs->cspr_cs[i].cspr); gregs 67 drivers/memory/fsl_ifc.c struct fsl_ifc_global __iomem *ifc = ctrl->gregs; gregs 96 drivers/memory/fsl_ifc.c iounmap(ctrl->gregs); gregs 149 drivers/memory/fsl_ifc.c struct fsl_ifc_global __iomem *ifc = ctrl->gregs; gregs 218 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->gregs = of_iomap(dev->dev.of_node, 0); gregs 219 drivers/memory/fsl_ifc.c if (!fsl_ifc_ctrl_dev->gregs) { gregs 233 drivers/memory/fsl_ifc.c version = ifc_in32(&fsl_ifc_ctrl_dev->gregs->ifc_rev) & gregs 243 drivers/memory/fsl_ifc.c addr = fsl_ifc_ctrl_dev->gregs; gregs 757 drivers/mtd/nand/raw/fsl_ifc_nand.c struct fsl_ifc_global __iomem *ifc_global = ctrl->gregs; gregs 833 drivers/mtd/nand/raw/fsl_ifc_nand.c struct fsl_ifc_global __iomem *ifc_global = ctrl->gregs; gregs 1000 drivers/mtd/nand/raw/fsl_ifc_nand.c if (match_bank(fsl_ifc_ctrl_dev->gregs, bank, res.start)) gregs 80 drivers/net/ethernet/sun/sunbmac.c static int qec_global_reset(void __iomem *gregs) gregs 84 drivers/net/ethernet/sun/sunbmac.c sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); gregs 86 drivers/net/ethernet/sun/sunbmac.c if (sbus_readl(gregs + GLOB_CTRL) & GLOB_CTRL_RESET) { gregs 101 drivers/net/ethernet/sun/sunbmac.c void __iomem *gregs = bp->gregs; gregs 112 drivers/net/ethernet/sun/sunbmac.c sbus_writel(regval | GLOB_CTRL_BMODE, gregs + GLOB_CTRL); gregs 113 drivers/net/ethernet/sun/sunbmac.c sbus_writel(GLOB_PSIZE_2048, gregs + GLOB_PSIZE); gregs 117 drivers/net/ethernet/sun/sunbmac.c gregs + GLOB_MSIZE); gregs 121 drivers/net/ethernet/sun/sunbmac.c gregs + GLOB_TSIZE); gregs 123 drivers/net/ethernet/sun/sunbmac.c gregs + GLOB_RSIZE); gregs 622 drivers/net/ethernet/sun/sunbmac.c void __iomem *gregs = bp->gregs; gregs 632 drivers/net/ethernet/sun/sunbmac.c qec_global_reset(gregs); gregs 682 drivers/net/ethernet/sun/sunbmac.c sbus_writel(sbus_readl(gregs + GLOB_RSIZE), gregs 684 drivers/net/ethernet/sun/sunbmac.c sbus_writel(sbus_readl(gregs + GLOB_RSIZE), gregs 897 drivers/net/ethernet/sun/sunbmac.c qec_status = sbus_readl(bp->gregs + GLOB_STAT); gregs 1102 drivers/net/ethernet/sun/sunbmac.c bp->gregs = of_ioremap(&qec_op->resource[0], 0, gregs 1104 drivers/net/ethernet/sun/sunbmac.c if (!bp->gregs) { gregs 1110 drivers/net/ethernet/sun/sunbmac.c if ((sbus_readl(bp->gregs + GLOB_CTRL) & 0xf0000000) != GLOB_CTRL_BMODE) { gregs 1116 drivers/net/ethernet/sun/sunbmac.c if (qec_global_reset(bp->gregs)) gregs 1206 drivers/net/ethernet/sun/sunbmac.c if (bp->gregs) gregs 1207 drivers/net/ethernet/sun/sunbmac.c of_iounmap(&qec_op->resource[0], bp->gregs, GLOB_REG_SIZE); gregs 1250 drivers/net/ethernet/sun/sunbmac.c of_iounmap(&qec_op->resource[0], bp->gregs, GLOB_REG_SIZE); gregs 290 drivers/net/ethernet/sun/sunbmac.h void __iomem *gregs; /* QEC Global Registers */ gregs 915 drivers/net/ethernet/sun/sunhme.c static void happy_meal_stop(struct happy_meal *hp, void __iomem *gregs) gregs 922 drivers/net/ethernet/sun/sunhme.c hme_write32(hp, gregs + GREG_SWRESET, GREG_RESET_ALL); gregs 923 drivers/net/ethernet/sun/sunhme.c while (hme_read32(hp, gregs + GREG_SWRESET) && --tries) gregs 1423 drivers/net/ethernet/sun/sunhme.c void __iomem *gregs = hp->gregs; gregs 1448 drivers/net/ethernet/sun/sunhme.c happy_meal_stop(hp, gregs); gregs 1572 drivers/net/ethernet/sun/sunhme.c hme_read32(hp, gregs + GREG_CFG))); gregs 1576 drivers/net/ethernet/sun/sunhme.c hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST64); gregs 1602 drivers/net/ethernet/sun/sunhme.c hme_write32(hp, gregs + GREG_CFG, gcfg); gregs 1605 drivers/net/ethernet/sun/sunhme.c hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST32); gregs 1608 drivers/net/ethernet/sun/sunhme.c hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST16); gregs 1611 drivers/net/ethernet/sun/sunhme.c hme_write32(hp, gregs + GREG_CFG, 0); gregs 1617 drivers/net/ethernet/sun/sunhme.c hme_write32(hp, gregs + GREG_IMASK, gregs 1715 drivers/net/ethernet/sun/sunhme.c void __iomem *gregs = hp->gregs; gregs 1717 drivers/net/ethernet/sun/sunhme.c happy_meal_stop(hp, gregs); gregs 2102 drivers/net/ethernet/sun/sunhme.c u32 happy_status = hme_read32(hp, hp->gregs + GREG_STAT); gregs 2145 drivers/net/ethernet/sun/sunhme.c u32 happy_status = hme_read32(hp, hp->gregs + GREG_STAT); gregs 2225 drivers/net/ethernet/sun/sunhme.c happy_meal_stop(hp, hp->gregs); gregs 2256 drivers/net/ethernet/sun/sunhme.c hme_read32(hp, hp->gregs + GREG_STAT), gregs 2754 drivers/net/ethernet/sun/sunhme.c hp->gregs = of_ioremap(&op->resource[0], 0, gregs 2756 drivers/net/ethernet/sun/sunhme.c if (!hp->gregs) { gregs 2877 drivers/net/ethernet/sun/sunhme.c if (hp->gregs) gregs 2878 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[0], hp->gregs, GREG_REG_SIZE); gregs 3093 drivers/net/ethernet/sun/sunhme.c hp->gregs = (hpreg_base + 0x0000UL); gregs 3201 drivers/net/ethernet/sun/sunhme.c iounmap(hp->gregs); gregs 3225 drivers/net/ethernet/sun/sunhme.c iounmap(hp->gregs); gregs 3295 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[0], hp->gregs, GREG_REG_SIZE); gregs 402 drivers/net/ethernet/sun/sunhme.h void __iomem *gregs; /* Happy meal global registers */ gregs 63 drivers/net/ethernet/sun/sunqe.c static inline int qec_global_reset(void __iomem *gregs) gregs 67 drivers/net/ethernet/sun/sunqe.c sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); gregs 69 drivers/net/ethernet/sun/sunqe.c u32 tmp = sbus_readl(gregs + GLOB_CTRL); gregs 146 drivers/net/ethernet/sun/sunqe.c void __iomem *gregs = qecp->gregs; gregs 168 drivers/net/ethernet/sun/sunqe.c tmp = qep->channel * sbus_readl(gregs + GLOB_MSIZE); gregs 173 drivers/net/ethernet/sun/sunqe.c sbus_readl(gregs + GLOB_RSIZE); gregs 475 drivers/net/ethernet/sun/sunqe.c qec_status = sbus_readl(qecp->gregs + GLOB_STAT); gregs 722 drivers/net/ethernet/sun/sunqe.c sbus_writel(GLOB_CTRL_B64, qecp->gregs + GLOB_CTRL); gregs 724 drivers/net/ethernet/sun/sunqe.c sbus_writel(GLOB_CTRL_B32, qecp->gregs + GLOB_CTRL); gregs 726 drivers/net/ethernet/sun/sunqe.c sbus_writel(GLOB_CTRL_B16, qecp->gregs + GLOB_CTRL); gregs 732 drivers/net/ethernet/sun/sunqe.c sbus_writel(GLOB_PSIZE_2048, qecp->gregs + GLOB_PSIZE); gregs 736 drivers/net/ethernet/sun/sunqe.c qecp->gregs + GLOB_MSIZE); gregs 742 drivers/net/ethernet/sun/sunqe.c qecp->gregs + GLOB_TSIZE); gregs 744 drivers/net/ethernet/sun/sunqe.c qecp->gregs + GLOB_RSIZE); gregs 779 drivers/net/ethernet/sun/sunqe.c qecp->gregs = of_ioremap(&op->resource[0], 0, gregs 782 drivers/net/ethernet/sun/sunqe.c if (!qecp->gregs) gregs 786 drivers/net/ethernet/sun/sunqe.c ctrl = sbus_readl(qecp->gregs + GLOB_CTRL); gregs 793 drivers/net/ethernet/sun/sunqe.c if (qec_global_reset(qecp->gregs)) gregs 816 drivers/net/ethernet/sun/sunqe.c if (qecp->gregs) gregs 817 drivers/net/ethernet/sun/sunqe.c of_iounmap(&op->resource[0], qecp->gregs, GLOB_REG_SIZE); gregs 987 drivers/net/ethernet/sun/sunqe.c of_iounmap(&op->resource[0], root_qec_dev->gregs, gregs 315 drivers/net/ethernet/sun/sunqe.h void __iomem *gregs; /* QEC Global Registers */ gregs 837 include/linux/fsl_ifc.h struct fsl_ifc_global __iomem *gregs; gregs 73 samples/seccomp/bpf-direct.c syscall = ctx->uc_mcontext.gregs[REG_SYSCALL]; gregs 74 samples/seccomp/bpf-direct.c buf = (char *) ctx->uc_mcontext.gregs[REG_ARG1]; gregs 75 samples/seccomp/bpf-direct.c len = (size_t) ctx->uc_mcontext.gregs[REG_ARG2]; gregs 79 samples/seccomp/bpf-direct.c if (ctx->uc_mcontext.gregs[REG_ARG0] != STDERR_FILENO) gregs 82 samples/seccomp/bpf-direct.c ctx->uc_mcontext.gregs[REG_RESULT] = -1; gregs 85 samples/seccomp/bpf-direct.c ctx->uc_mcontext.gregs[REG_RESULT] = bytes; gregs 69 tools/testing/selftests/powerpc/alignment/alignment_handler.c ucp->uc_mcontext.uc_regs->gregs[PT_NIP] += 4; gregs 24 tools/testing/selftests/powerpc/alignment/copy_first_unaligned.c unsigned int *pc = (unsigned int *)ctx->uc_mcontext.uc_regs->gregs[PT_NIP]; gregs 16 tools/testing/selftests/powerpc/copyloops/exc_validate.c #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP] gregs 107 tools/testing/selftests/powerpc/include/utils.h #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP] gregs 108 tools/testing/selftests/powerpc/include/utils.h #define UCONTEXT_MSR(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_MSR] gregs 43 tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c ucp->uc_mcontext.uc_regs->gregs[PT_MSR] |= (7ULL); gregs 58 tools/testing/selftests/x86/entry_from_vm86.c if (ctx->uc_mcontext.gregs[REG_EFL] & X86_EFLAGS_VM || gregs 59 tools/testing/selftests/x86/entry_from_vm86.c (ctx->uc_mcontext.gregs[REG_CS] & 3) != 3) { gregs 73 tools/testing/selftests/x86/entry_from_vm86.c (unsigned long)ctx->uc_mcontext.gregs[REG_EFL], gregs 74 tools/testing/selftests/x86/entry_from_vm86.c (unsigned short)ctx->uc_mcontext.gregs[REG_CS]); gregs 76 tools/testing/selftests/x86/fsgsbase.c ctx->uc_mcontext.gregs[REG_RIP] += 4; /* Skip the faulting mov */ gregs 122 tools/testing/selftests/x86/mov_ss_trap.c (unsigned long)ctx->uc_mcontext.gregs[REG_IP], gregs 123 tools/testing/selftests/x86/mov_ss_trap.c !!(ctx->uc_mcontext.gregs[REG_EFL] & X86_EFLAGS_RF)); gregs 131 tools/testing/selftests/x86/mov_ss_trap.c (unsigned long)ctx->uc_mcontext.gregs[REG_IP]); gregs 139 tools/testing/selftests/x86/mov_ss_trap.c (unsigned long)ctx->uc_mcontext.gregs[REG_IP]); gregs 277 tools/testing/selftests/x86/protection_keys.c trapno = uctxt->uc_mcontext.gregs[REG_TRAPNO]; gregs 278 tools/testing/selftests/x86/protection_keys.c ip = uctxt->uc_mcontext.gregs[REG_IP_IDX]; gregs 309 tools/testing/selftests/x86/sigreturn.c struct selectors *sels = (void *)&ctx->uc_mcontext.gregs[REG_CSGSFS]; gregs 315 tools/testing/selftests/x86/sigreturn.c struct selectors *sels = (void *)&ctx->uc_mcontext.gregs[REG_CSGSFS]; gregs 325 tools/testing/selftests/x86/sigreturn.c return &ctx->uc_mcontext.gregs[REG_SS]; gregs 330 tools/testing/selftests/x86/sigreturn.c return &ctx->uc_mcontext.gregs[REG_CS]; gregs 444 tools/testing/selftests/x86/sigreturn.c memcpy(&initial_regs, &ctx->uc_mcontext.gregs, sizeof(gregset_t)); gregs 449 tools/testing/selftests/x86/sigreturn.c ctx->uc_mcontext.gregs[REG_IP] = gregs 451 tools/testing/selftests/x86/sigreturn.c ctx->uc_mcontext.gregs[REG_SP] = (unsigned long)0x8badf00d5aadc0deULL; gregs 452 tools/testing/selftests/x86/sigreturn.c ctx->uc_mcontext.gregs[REG_CX] = 0; gregs 463 tools/testing/selftests/x86/sigreturn.c ctx->uc_mcontext.gregs[REG_DS] = 0; gregs 464 tools/testing/selftests/x86/sigreturn.c ctx->uc_mcontext.gregs[REG_ES] = 0; gregs 467 tools/testing/selftests/x86/sigreturn.c memcpy(&requested_regs, &ctx->uc_mcontext.gregs, sizeof(gregset_t)); gregs 484 tools/testing/selftests/x86/sigreturn.c sig_err = ctx->uc_mcontext.gregs[REG_ERR]; gregs 485 tools/testing/selftests/x86/sigreturn.c sig_trapno = ctx->uc_mcontext.gregs[REG_TRAPNO]; gregs 490 tools/testing/selftests/x86/sigreturn.c greg_t asm_ss = ctx->uc_mcontext.gregs[REG_CX]; gregs 498 tools/testing/selftests/x86/sigreturn.c memcpy(&resulting_regs, &ctx->uc_mcontext.gregs, sizeof(gregset_t)); gregs 499 tools/testing/selftests/x86/sigreturn.c memcpy(&ctx->uc_mcontext.gregs, &initial_regs, sizeof(gregset_t)); gregs 89 tools/testing/selftests/x86/single_step_syscall.c (unsigned long)ctx->uc_mcontext.gregs[REG_IP]); gregs 70 tools/testing/selftests/x86/syscall_arg_fault.c long ax = (long)ctx->uc_mcontext.gregs[REG_AX]; gregs 94 tools/testing/selftests/x86/syscall_arg_fault.c unsigned short *ip = (unsigned short *)ctx->uc_mcontext.gregs[REG_IP]; gregs 111 tools/testing/selftests/x86/syscall_arg_fault.c unsigned short *ip = (unsigned short *)ctx->uc_mcontext.gregs[REG_IP]; gregs 73 tools/testing/selftests/x86/sysret_rip.c if (rip != ctx->uc_mcontext.gregs[REG_RIP]) { gregs 75 tools/testing/selftests/x86/sysret_rip.c rip, (unsigned long)ctx->uc_mcontext.gregs[REG_RIP]); gregs 80 tools/testing/selftests/x86/sysret_rip.c memcpy(&ctx->uc_mcontext.gregs, &initial_regs, sizeof(gregset_t)); gregs 89 tools/testing/selftests/x86/sysret_rip.c memcpy(&initial_regs, &ctx->uc_mcontext.gregs, sizeof(gregset_t)); gregs 92 tools/testing/selftests/x86/sysret_rip.c ctx->uc_mcontext.gregs[REG_RIP] = rip; gregs 93 tools/testing/selftests/x86/sysret_rip.c ctx->uc_mcontext.gregs[REG_RCX] = rip; gregs 96 tools/testing/selftests/x86/sysret_rip.c assert(ctx->uc_mcontext.gregs[REG_EFL] == gregs 97 tools/testing/selftests/x86/sysret_rip.c ctx->uc_mcontext.gregs[REG_R11]); gregs 117 tools/testing/selftests/x86/sysret_rip.c if (rip != ctx->uc_mcontext.gregs[REG_RIP]) { gregs 119 tools/testing/selftests/x86/sysret_rip.c rip, (unsigned long)ctx->uc_mcontext.gregs[REG_RIP]); gregs 187 tools/testing/selftests/x86/test_vsyscall.c segv_err = ctx->uc_mcontext.gregs[REG_ERR]; gregs 514 tools/testing/selftests/x86/test_vsyscall.c unsigned long ip = ctx->uc_mcontext.gregs[REG_RIP]; gregs 130 tools/testing/selftests/x86/unwind_vdso.c unsigned long ip = ctx->uc_mcontext.gregs[REG_EIP]; gregs 136 tools/testing/selftests/x86/unwind_vdso.c return_address = *(unsigned long *)(unsigned long)ctx->uc_mcontext.gregs[REG_ESP]; gregs 146 tools/testing/selftests/x86/unwind_vdso.c ctx->uc_mcontext.gregs[REG_EFL] &= ~X86_EFLAGS_TF;