Home
last modified time | relevance | path

Searched refs:npc (Results 1 – 25 of 34) sorted by relevance

12

/arch/powerpc/platforms/cell/spufs/
Drun.c175 static int spu_run_init(struct spu_context *ctx, u32 *npc) in spu_run_init() argument
221 ctx->ops->npc_write(ctx, *npc); in spu_run_init()
243 static int spu_run_fini(struct spu_context *ctx, u32 *npc, in spu_run_fini() argument
251 *npc = ctx->ops->npc_read(ctx); in spu_run_fini()
273 unsigned int *npc) in spu_handle_restartsys() argument
285 *npc -= 8; in spu_handle_restartsys()
311 u32 ls_pointer, npc; in spu_process_callback() local
317 npc = ctx->ops->npc_read(ctx) & ~3; in spu_process_callback()
319 ls_pointer = in_be32(ls + npc); in spu_process_callback()
327 npc += 4; in spu_process_callback()
[all …]
Dsyscalls.c39 u32 npc, status; in do_spu_run() local
42 if (get_user(npc, unpc)) in do_spu_run()
51 ret = spufs_run_spu(i->i_ctx, &npc, &status); in do_spu_run()
53 if (put_user(npc, unpc)) in do_spu_run()
Dspufs.h250 long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *status);
/arch/sparc/kernel/
Dentry.h15 unsigned long npc, unsigned long psr);
18 unsigned long npc, unsigned long psr);
20 unsigned long npc, unsigned long psr);
22 unsigned long npc, unsigned long psr);
24 unsigned long npc, unsigned long psr);
26 unsigned long npc, unsigned long psr);
28 unsigned long npc, unsigned long psr);
30 unsigned long npc, unsigned long psr);
32 unsigned long npc, unsigned long psr);
34 unsigned long npc, unsigned long psr);
Dtraps_32.c112 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_illegal_instruction() argument
132 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_priv_instruction() argument
149 void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_memaccess_unaligned() argument
155 printk("KERNEL MNA at pc %08lx npc %08lx called by %08lx\n", pc, npc, in do_memaccess_unaligned()
180 void do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_fpd_trap() argument
222 void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
293 regs->pc = regs->npc;
294 regs->npc += 4;
329 void handle_tag_overflow(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
344 void handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
[all …]
Dsignal_32.c77 unsigned long up_psr, pc, npc, ufp; in do_sigreturn() local
102 err |= __get_user(npc, &sf->info.si_regs.npc); in do_sigreturn()
104 if ((pc | npc) & 3) in do_sigreturn()
145 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn() local
163 err |= __get_user(npc, &sf->regs.npc); in do_rt_sigreturn()
164 err |= ((pc | npc) & 0x03); in do_rt_sigreturn()
187 regs->npc = npc; in do_rt_sigreturn()
299 regs->npc = (regs->pc + 4); in setup_frame()
346 err |= __put_user(regs->npc, &sf->regs.npc); in setup_rt_frame()
397 regs->npc = (regs->pc + 4); in setup_rt_frame()
[all …]
Dkgdb_32.c40 gdb_regs[GDB_NPC] = regs->npc; in pt_regs_to_gdb_regs()
98 regs->npc = gdb_regs[GDB_NPC]; in gdb_regs_to_pt_regs()
121 linux_regs->npc = addr + 4; in kgdb_arch_handle_exception()
128 linux_regs->pc = linux_regs->npc; in kgdb_arch_handle_exception()
129 linux_regs->npc += 4; in kgdb_arch_handle_exception()
166 regs->npc = regs->pc + 4; in kgdb_arch_set_pc()
Dsignal32.c159 unsigned pc, npc; in do_sigreturn32() local
183 __get_user(npc, &sf->info.si_regs.npc)) in do_sigreturn32()
186 if ((pc | npc) & 3) in do_sigreturn32()
191 npc &= 0xffffffff; in do_sigreturn32()
194 regs->tnpc = npc; in do_sigreturn32()
247 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn32() local
272 __get_user(npc, &sf->regs.npc)) in do_rt_sigreturn32()
275 if ((pc | npc) & 3) in do_rt_sigreturn32()
280 npc &= 0xffffffff; in do_rt_sigreturn32()
283 regs->tnpc = npc; in do_rt_sigreturn32()
[all …]
Dunaligned_32.c199 regs->pc = regs->npc; in advance()
200 regs->npc += 4; in advance()
235 regs->npc = regs->pc + 4; in kernel_mna_trap_fault()
283 if ((regs->pc | regs->npc) & 3) in ok_for_user()
Dsys_sparc_32.c151 printk ("TRAP: Entering kernel PC=%x, nPC=%x\n", regs->pc, regs->npc); in sparc_breakpoint()
161 printk ("TRAP: Returning to space: PC=%x nPC=%x\n", regs->pc, regs->npc); in sparc_breakpoint()
Dsyscalls.S273 ldx [%sp + PTREGS_OFF + PT_V9_TNPC], %l1 ! pc = npc
281 add %l1, 0x4, %l2 ! npc = npc+4
292 ldx [%sp + PTREGS_OFF + PT_V9_TNPC], %l1 ! pc = npc
Dsignal_64.c50 unsigned long pc, npc, tstate; in sparc64_set_context() local
62 err |= __get_user(npc, &((*grp)[MC_NPC])); in sparc64_set_context()
63 if (err || ((pc | npc) & 3)) in sparc64_set_context()
79 npc &= 0xffffffff; in sparc64_set_context()
82 regs->tnpc = npc; in sparc64_set_context()
Dptrace_32.c114 uregs[2] = regs->npc; in genregs32_get()
170 &regs->npc, in genregs32_set()
Dkernel.h74 unsigned long npc, unsigned long psr);
Dpcic.c779 regs->pc = regs->npc; in pcic_nmi()
780 regs->npc += 4; in pcic_nmi()
/arch/parisc/kernel/
Dunwind.c228 unsigned long npc; in unwind_frame_regs() local
298 for (npc = e->region_start; in unwind_frame_regs()
301 npc < info->ip; in unwind_frame_regs()
302 npc += 4) { in unwind_frame_regs()
304 insn = *(unsigned int *)npc; in unwind_frame_regs()
313 insn, npc, frame_size); in unwind_frame_regs()
320 insn, npc, frame_size); in unwind_frame_regs()
326 "-20(sp) @ %lx\n", info->ip, npc); in unwind_frame_regs()
332 "-16(sp) @ %lx\n", info->ip, npc); in unwind_frame_regs()
348 info->prev_ip, npc); in unwind_frame_regs()
/arch/sparc/include/asm/
Dsigcontext.h41 unsigned int npc; member
Dprocessor_32.h87 regs->npc = regs->pc + 4; in start_thread()
/arch/sparc/include/uapi/asm/
Dptrace.h45 unsigned int npc; member
106 unsigned long npc; member
/arch/sparc/mm/
Dfault_32.c93 regs.npc = pc + 4; in lookup_fault()
326 regs->npc = regs->pc + 4; in do_sparc_fault()
/arch/sparc/math-emu/
Dmath_32.c185 regs->pc = regs->npc; in do_mathemu()
186 regs->npc += 4; in do_mathemu()
/arch/powerpc/boot/dts/fsl/
Db4420si-post.dtsi46 dcsr-npc {
Dp2041si-post.dtsi179 dcsr-npc {
180 compatible = "fsl,dcsr-npc";
Dp5020si-post.dtsi208 dcsr-npc {
209 compatible = "fsl,dcsr-npc";
Dp5040si-post.dtsi153 dcsr-npc {
154 compatible = "fsl,dcsr-npc";

12