Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/sparc/kernel/
Dtraps_32.c109 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_illegal_instruction() argument
122 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_priv_instruction() argument
132 void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_memaccess_unaligned() argument
136 printk("KERNEL MNA at pc %08lx npc %08lx called by %08lx\n", pc, npc, in do_memaccess_unaligned()
158 void do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_fpd_trap() argument
200 void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
271 regs->pc = regs->npc;
272 regs->npc += 4;
303 void handle_tag_overflow(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
311 void handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
[all …]
Dentry.h16 unsigned long npc, unsigned long psr);
19 unsigned long npc, unsigned long psr);
21 unsigned long npc, unsigned long psr);
23 unsigned long npc, unsigned long psr);
25 unsigned long npc, unsigned long psr);
27 unsigned long npc, unsigned long psr);
29 unsigned long npc, unsigned long psr);
31 unsigned long npc, unsigned long psr);
33 unsigned long npc, unsigned long psr);
35 unsigned long npc, unsigned long psr);
Dsignal_32.c78 unsigned long up_psr, pc, npc, ufp; in do_sigreturn() local
103 err |= __get_user(npc, &sf->info.si_regs.npc); in do_sigreturn()
105 if ((pc | npc) & 3) in do_sigreturn()
146 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn() local
164 err |= __get_user(npc, &sf->regs.npc); in do_rt_sigreturn()
165 err |= ((pc | npc) & 0x03); in do_rt_sigreturn()
188 regs->npc = npc; in do_rt_sigreturn()
300 regs->npc = (regs->pc + 4); in setup_frame()
347 err |= __put_user(regs->npc, &sf->regs.npc); in setup_rt_frame()
398 regs->npc = (regs->pc + 4); in setup_rt_frame()
[all …]
Dkgdb_32.c42 gdb_regs[GDB_NPC] = regs->npc; in pt_regs_to_gdb_regs()
100 regs->npc = gdb_regs[GDB_NPC]; in gdb_regs_to_pt_regs()
123 linux_regs->npc = addr + 4; in kgdb_arch_handle_exception()
130 linux_regs->pc = linux_regs->npc; in kgdb_arch_handle_exception()
131 linux_regs->npc += 4; in kgdb_arch_handle_exception()
166 regs->npc = regs->pc + 4; in kgdb_arch_set_pc()
Dsignal32.c91 unsigned int pc, npc; in do_sigreturn32() local
115 __get_user(npc, &sf->info.si_regs.npc)) in do_sigreturn32()
118 if ((pc | npc) & 3) in do_sigreturn32()
123 npc &= 0xffffffff; in do_sigreturn32()
126 regs->tnpc = npc; in do_sigreturn32()
179 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn32() local
203 __get_user(npc, &sf->regs.npc)) in do_rt_sigreturn32()
206 if ((pc | npc) & 3) in do_rt_sigreturn32()
211 npc &= 0xffffffff; in do_rt_sigreturn32()
214 regs->tnpc = npc; in do_rt_sigreturn32()
[all …]
Dunaligned_32.c200 regs->pc = regs->npc; in advance()
201 regs->npc += 4; in advance()
236 regs->npc = regs->pc + 4; in kernel_mna_trap_fault()
283 if ((regs->pc | regs->npc) & 3) in ok_for_user()
Dsyscalls.S265 ldx [%sp + PTREGS_OFF + PT_V9_TNPC], %l1 ! pc = npc
273 add %l1, 0x4, %l2 ! npc = npc+4
284 ldx [%sp + PTREGS_OFF + PT_V9_TNPC], %l1 ! pc = npc
Dsys_sparc_32.c152 printk ("TRAP: Entering kernel PC=%x, nPC=%x\n", regs->pc, regs->npc); in sparc_breakpoint()
157 printk ("TRAP: Returning to space: PC=%x nPC=%x\n", regs->pc, regs->npc); in sparc_breakpoint()
Dsignal_64.c48 unsigned long pc, npc, tstate; in sparc64_set_context() local
60 err |= __get_user(npc, &((*grp)[MC_NPC])); in sparc64_set_context()
61 if (err || ((pc | npc) & 3)) in sparc64_set_context()
77 npc &= 0xffffffff; in sparc64_set_context()
80 regs->tnpc = npc; in sparc64_set_context()
Dptrace_32.c99 reg = regs->npc; in genregs32_get()
188 regs->npc = reg; in genregs32_set()
Dkernel.h82 unsigned long npc, unsigned long psr);
Dpcic.c762 regs->pc = regs->npc; in pcic_nmi()
763 regs->npc += 4; in pcic_nmi()
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/
Drun.c176 static int spu_run_init(struct spu_context *ctx, u32 *npc) in spu_run_init() argument
222 ctx->ops->npc_write(ctx, *npc); in spu_run_init()
244 static int spu_run_fini(struct spu_context *ctx, u32 *npc, in spu_run_fini() argument
252 *npc = ctx->ops->npc_read(ctx); in spu_run_fini()
274 unsigned int *npc) in spu_handle_restartsys() argument
286 *npc -= 8; in spu_handle_restartsys()
312 u32 ls_pointer, npc; in spu_process_callback() local
318 npc = ctx->ops->npc_read(ctx) & ~3; in spu_process_callback()
320 ls_pointer = in_be32(ls + npc); in spu_process_callback()
328 npc += 4; in spu_process_callback()
[all …]
Dsyscalls.c40 u32 npc, status; in do_spu_run() local
43 if (get_user(npc, unpc)) in do_spu_run()
52 ret = spufs_run_spu(i->i_ctx, &npc, &status); in do_spu_run()
54 if (put_user(npc, unpc)) in do_spu_run()
/Linux-v5.4/arch/parisc/kernel/
Dunwind.c269 unsigned long npc; in unwind_frame_regs() local
324 for (npc = e->region_start; in unwind_frame_regs()
327 npc < info->ip; in unwind_frame_regs()
328 npc += 4) { in unwind_frame_regs()
330 insn = *(unsigned int *)npc; in unwind_frame_regs()
338 insn, npc, frame_size); in unwind_frame_regs()
344 insn, npc, frame_size); in unwind_frame_regs()
350 "-20(sp) @ %lx\n", info->ip, npc); in unwind_frame_regs()
356 "-16(sp) @ %lx\n", info->ip, npc); in unwind_frame_regs()
375 info->prev_ip, npc); in unwind_frame_regs()
/Linux-v5.4/arch/sparc/include/uapi/asm/
Dptrace.h46 unsigned int npc; member
107 unsigned long npc; member
/Linux-v5.4/arch/sparc/include/asm/
Dsigcontext.h42 unsigned int npc; member
Dprocessor_32.h73 regs->npc = regs->pc + 4; in start_thread()
/Linux-v5.4/Documentation/filesystems/
Dspufs.txt146 /npc
156 npc requires an SPU context save and is therefore very inefficient.
160 npc Next Program Counter
173 The possible operations on an open npc, decr, decr_status,
291 int spu_run(int fd, unsigned int *npc, unsigned int *event);
299 passed in npc.
308 is written back to npc, so you can call spu_run again without updating
359 EFAULT npc is not a valid pointer or status is neither NULL nor a valid
362 EINTR A signal occurred while spu_run was in progress. The npc value
/Linux-v5.4/arch/sparc/mm/
Dfault_32.c94 regs.npc = pc + 4; in lookup_fault()
320 regs->npc = regs->pc + 4; in do_sparc_fault()
/Linux-v5.4/arch/sparc/math-emu/
Dmath_32.c186 regs->pc = regs->npc; in do_mathemu()
187 regs->npc += 4; in do_mathemu()
/Linux-v5.4/Documentation/devicetree/bindings/powerpc/fsl/
Ddcsr.txt114 Definition: Must include "fsl,dcsr-npc"
136 dcsr-npc {
137 compatible = "fsl,dcsr-npc";
/Linux-v5.4/arch/powerpc/boot/dts/fsl/
Db4420si-post.dtsi46 dcsr-npc {
Dp2041si-post.dtsi179 dcsr-npc {
180 compatible = "fsl,dcsr-npc";
Dp5040si-post.dtsi153 dcsr-npc {
154 compatible = "fsl,dcsr-npc";

12