/arch/powerpc/platforms/cell/spufs/ |
D | run.c | 175 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 …]
|
D | syscalls.c | 39 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()
|
D | spufs.h | 250 long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *status);
|
/arch/sparc/kernel/ |
D | entry.h | 15 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);
|
D | traps_32.c | 112 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 …]
|
D | signal_32.c | 77 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 …]
|
D | kgdb_32.c | 40 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()
|
D | signal32.c | 159 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 …]
|
D | unaligned_32.c | 199 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()
|
D | sys_sparc_32.c | 151 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()
|
D | syscalls.S | 273 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
|
D | signal_64.c | 50 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()
|
D | ptrace_32.c | 114 uregs[2] = regs->npc; in genregs32_get() 170 ®s->npc, in genregs32_set()
|
D | kernel.h | 74 unsigned long npc, unsigned long psr);
|
D | pcic.c | 779 regs->pc = regs->npc; in pcic_nmi() 780 regs->npc += 4; in pcic_nmi()
|
/arch/parisc/kernel/ |
D | unwind.c | 228 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/ |
D | sigcontext.h | 41 unsigned int npc; member
|
D | processor_32.h | 87 regs->npc = regs->pc + 4; in start_thread()
|
/arch/sparc/include/uapi/asm/ |
D | ptrace.h | 45 unsigned int npc; member 106 unsigned long npc; member
|
/arch/sparc/mm/ |
D | fault_32.c | 93 regs.npc = pc + 4; in lookup_fault() 326 regs->npc = regs->pc + 4; in do_sparc_fault()
|
/arch/sparc/math-emu/ |
D | math_32.c | 185 regs->pc = regs->npc; in do_mathemu() 186 regs->npc += 4; in do_mathemu()
|
/arch/powerpc/boot/dts/fsl/ |
D | b4420si-post.dtsi | 46 dcsr-npc {
|
D | p2041si-post.dtsi | 179 dcsr-npc { 180 compatible = "fsl,dcsr-npc";
|
D | p5020si-post.dtsi | 208 dcsr-npc { 209 compatible = "fsl,dcsr-npc";
|
D | p5040si-post.dtsi | 153 dcsr-npc { 154 compatible = "fsl,dcsr-npc";
|