/linux-2.6.39/arch/m68k/kernel/ |
D | signal_no.c | 283 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext() local 294 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext() 295 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext() 296 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext() 297 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext() 298 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext() 299 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext() 300 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext() 301 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext() 302 err |= __get_user(regs->a0, &gregs[8]); in rt_restore_ucontext() [all …]
|
D | signal_mm.c | 403 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext() local 414 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext() 415 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext() 416 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext() 417 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext() 418 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext() 419 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext() 420 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext() 421 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext() 422 err |= __get_user(regs->a0, &gregs[8]); in rt_restore_ucontext() [all …]
|
/linux-2.6.39/drivers/net/ |
D | sunqe.c | 63 static inline int qec_global_reset(void __iomem *gregs) in qec_global_reset() argument 67 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); in qec_global_reset() 69 u32 tmp = sbus_readl(gregs + GLOB_CTRL); in qec_global_reset() 146 void __iomem *gregs = qecp->gregs; in qe_init() local 167 tmp = qep->channel * sbus_readl(gregs + GLOB_MSIZE); in qe_init() 172 sbus_readl(gregs + GLOB_RSIZE); in qe_init() 477 qec_status = sbus_readl(qecp->gregs + GLOB_STAT); in qec_interrupt() 728 sbus_writel(GLOB_CTRL_B64, qecp->gregs + GLOB_CTRL); in qec_init_once() 730 sbus_writel(GLOB_CTRL_B32, qecp->gregs + GLOB_CTRL); in qec_init_once() 732 sbus_writel(GLOB_CTRL_B16, qecp->gregs + GLOB_CTRL); in qec_init_once() [all …]
|
D | sunbmac.c | 80 static int qec_global_reset(void __iomem *gregs) in qec_global_reset() argument 84 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); in qec_global_reset() 86 if (sbus_readl(gregs + GLOB_CTRL) & GLOB_CTRL_RESET) { in qec_global_reset() 101 void __iomem *gregs = bp->gregs; in qec_init() local 112 sbus_writel(regval | GLOB_CTRL_BMODE, gregs + GLOB_CTRL); in qec_init() 113 sbus_writel(GLOB_PSIZE_2048, gregs + GLOB_PSIZE); in qec_init() 117 gregs + GLOB_MSIZE); in qec_init() 121 gregs + GLOB_TSIZE); in qec_init() 123 gregs + GLOB_RSIZE); in qec_init() 626 void __iomem *gregs = bp->gregs; in bigmac_init_hw() local [all …]
|
D | sunhme.c | 915 static void happy_meal_stop(struct happy_meal *hp, void __iomem *gregs) in happy_meal_stop() argument 922 hme_write32(hp, gregs + GREG_SWRESET, GREG_RESET_ALL); in happy_meal_stop() 923 while (hme_read32(hp, gregs + GREG_SWRESET) && --tries) in happy_meal_stop() 1419 void __iomem *gregs = hp->gregs; in happy_meal_init() local 1444 happy_meal_stop(hp, gregs); in happy_meal_init() 1574 hme_read32(hp, gregs + GREG_CFG))); in happy_meal_init() 1578 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST64); in happy_meal_init() 1604 hme_write32(hp, gregs + GREG_CFG, gcfg); in happy_meal_init() 1607 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST32); in happy_meal_init() 1610 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST16); in happy_meal_init() [all …]
|
D | sunbmac.h | 306 void __iomem *gregs; /* QEC Global Registers */ member
|
D | sunqe.h | 314 void __iomem *gregs; /* QEC Global Registers */ member
|
D | sunhme.h | 401 void __iomem *gregs; /* Happy meal global registers */ member
|
/linux-2.6.39/arch/powerpc/sysdev/ |
D | mpic.c | 210 return _mpic_read(type, &mpic->gregs, offset); in _mpic_ipi_read() 218 _mpic_write(mpic->reg_type, &mpic->gregs, offset, value); in _mpic_ipi_write() 325 mpic_write(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0), MPIC_VECPRI_MASK); in mpic_test_broken_ipi() 326 r = mpic_read(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0)); in mpic_test_broken_ipi() 1188 mpic_map(mpic, node, paddr, &mpic->gregs, MPIC_INFO(GREG_BASE), 0x1000); in mpic_alloc() 1201 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), in mpic_alloc() 1202 mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() 1204 while( mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() 1211 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), in mpic_alloc() 1212 mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() [all …]
|
/linux-2.6.39/arch/tile/include/asm/ |
D | sigcontext.h | 25 uint_reg_t gregs[53]; /* General-purpose registers. */ member
|
/linux-2.6.39/arch/m68k/include/asm/ |
D | ucontext.h | 19 gregset_t gregs; member
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | elf.h | 206 #define ELF_CORE_COPY_REGS(gregs, regs) ppc_elf_core_copy_regs(gregs, regs); argument
|
D | mpic.h | 299 struct mpic_reg_bank gregs; member
|
/linux-2.6.39/arch/tile/kernel/ |
D | signal.c | 71 err |= __get_user(regs->regs[i], &sc->gregs[i]); in restore_sigcontext() 121 err |= __put_user(regs->regs[i], &sc->gregs[i]); in setup_sigcontext()
|
/linux-2.6.39/arch/ia64/kernel/ |
D | unwind_decoder.c | 257 int gregs = (code & 0x10) != 0; in unw_decode_p6() local 260 if (gregs) in unw_decode_p6()
|
/linux-2.6.39/arch/powerpc/kernel/ |
D | signal_32.c | 155 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; in save_general_regs() local 163 if (__put_user((unsigned int)gregs[i], &frame->mc_gregs[i])) in save_general_regs() 172 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; in restore_general_regs() local 178 if (__get_user(gregs[i], &sr->mc_gregs[i])) in restore_general_regs()
|