Home
last modified time | relevance | path

Searched refs:gregs (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/arch/m68k/kernel/
Dsignal.c443 greg_t *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext() local
451 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext()
452 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext()
453 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext()
454 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext()
455 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext()
456 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext()
457 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext()
458 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext()
459 err |= __get_user(regs->a0, &gregs[8]); in rt_restore_ucontext()
[all …]
/linux-2.4.37.9/drivers/net/
Dsunqe.c56 static inline int qec_global_reset(unsigned long gregs) in qec_global_reset() argument
60 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); in qec_global_reset()
62 u32 tmp = sbus_readl(gregs + GLOB_CTRL); in qec_global_reset()
139 unsigned long gregs = qecp->gregs; in qe_init() local
160 tmp = qep->channel * sbus_readl(gregs + GLOB_MSIZE); in qe_init()
165 sbus_readl(gregs + GLOB_RSIZE); in qe_init()
471 qec_status = sbus_readl(qecp->gregs + GLOB_STAT); in qec_interrupt()
696 sbus_writel(GLOB_CTRL_B64, qecp->gregs + GLOB_CTRL); in qec_init_once()
698 sbus_writel(GLOB_CTRL_B32, qecp->gregs + GLOB_CTRL); in qec_init_once()
700 sbus_writel(GLOB_CTRL_B16, qecp->gregs + GLOB_CTRL); in qec_init_once()
[all …]
Dsunbmac.c73 static int qec_global_reset(unsigned long gregs) in qec_global_reset() argument
77 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); in qec_global_reset()
79 if (sbus_readl(gregs + GLOB_CTRL) & GLOB_CTRL_RESET) { in qec_global_reset()
93 unsigned long gregs = bp->gregs; in qec_init() local
105 sbus_writel(regval | GLOB_CTRL_BMODE, gregs + GLOB_CTRL); in qec_init()
106 sbus_writel(GLOB_PSIZE_2048, gregs + GLOB_PSIZE); in qec_init()
110 gregs + GLOB_MSIZE); in qec_init()
114 gregs + GLOB_TSIZE); in qec_init()
116 gregs + GLOB_RSIZE); in qec_init()
617 unsigned long gregs = bp->gregs; in bigmac_init() local
[all …]
Dsunhme.c943 static void happy_meal_stop(struct happy_meal *hp, unsigned long gregs) in happy_meal_stop() argument
950 hme_write32(hp, gregs + GREG_SWRESET, GREG_RESET_ALL); in happy_meal_stop()
951 while (hme_read32(hp, gregs + GREG_SWRESET) && --tries) in happy_meal_stop()
1439 unsigned long gregs = hp->gregs; in happy_meal_init() local
1464 happy_meal_stop(hp, gregs); in happy_meal_init()
1598 hme_read32(hp, gregs + GREG_CFG))); in happy_meal_init()
1602 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST64); in happy_meal_init()
1626 hme_write32(hp, gregs + GREG_CFG, gcfg); in happy_meal_init()
1629 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST32); in happy_meal_init()
1632 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST16); in happy_meal_init()
[all …]
Dsunbmac.h306 unsigned long gregs; /* QEC Global Registers */ member
Dsunqe.h314 unsigned long gregs; /* QEC Global Registers */ member
Dsunhme.h400 unsigned long gregs; /* Happy meal global registers */ member
/linux-2.4.37.9/include/asm-ppc/
Delf.h52 #define ELF_CORE_COPY_REGS(gregs, regs) \ argument
53 memcpy(gregs, regs, \
/linux-2.4.37.9/include/asm-ppc64/
Delf.h72 #define ELF_CORE_COPY_REGS(gregs, regs) elf_core_copy_regs(gregs, regs); argument
/linux-2.4.37.9/include/asm-m68k/
Ducontext.h17 gregset_t gregs; member
/linux-2.4.37.9/arch/ia64/kernel/
Dunwind_decoder.c257 int gregs = (code & 0x10) != 0; in unw_decode_p6() local
260 if (gregs) in unw_decode_p6()
/linux-2.4.37.9/arch/ppc64/kernel/
Dsignal.c261 elf_greg_t *gregs = (elf_greg_t *)regs; in restore_sigcontext() local
273 err |= __get_user(gregs[i], &sc->gp_regs[i]); in restore_sigcontext()