/openbmc/linux/arch/m68k/include/asm/ |
H A D | processor.h | 21 register unsigned long usp __asm__("a0"); in rdusp() 23 __asm__ __volatile__(".word 0x4e68" : "=a" (usp)); in rdusp() 24 return usp; in rdusp() 28 static inline void wrusp(unsigned long usp) in wrusp() argument 32 sw_usp = usp; in wrusp() 34 register unsigned long a0 __asm__("a0") = usp; in wrusp() 105 unsigned long usp; /* user stack pointer */ member 137 unsigned long usp) in start_thread() argument 142 wrusp(usp); in start_thread() 158 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
|
/openbmc/qemu/hw/pci-bridge/ |
H A D | cxl_upstream.c | 35 CXLComponentState *cxl_usp_to_cstate(CXLUpstreamPort *usp) in cxl_usp_to_cstate() argument 37 return &usp->cxl_cstate; in cxl_usp_to_cstate() 43 CXLUpstreamPort *usp = CXL_USP(dev); in cxl_usp_dvsec_write_config() local 45 if (range_contains(&usp->cxl_cstate.dvsecs[EXTENSIONS_PORT_DVSEC], addr)) { in cxl_usp_dvsec_write_config() 47 addr -= usp->cxl_cstate.dvsecs[EXTENSIONS_PORT_DVSEC].lob; in cxl_usp_dvsec_write_config() 65 CXLUpstreamPort *usp = CXL_USP(d); in cxl_usp_write_config() local 67 pcie_doe_write_config(&usp->doe_cdat, address, val, len); in cxl_usp_write_config() 77 CXLUpstreamPort *usp = CXL_USP(d); in cxl_usp_read_config() local 80 if (pcie_doe_read_config(&usp->doe_cdat, address, len, &val)) { in cxl_usp_read_config() 87 static void latch_registers(CXLUpstreamPort *usp) in latch_registers() argument [all …]
|
/openbmc/linux/arch/mips/lib/ |
H A D | uncached.c | 42 long usp; in run_uncached() local 48 usp = CKSEG1ADDR(sp); in run_uncached() 52 usp = PHYS_TO_XKPHYS(K_CALG_UNCACHED, in run_uncached() 57 usp = sp; in run_uncached() 78 : "r" (usp), "r" (ufunc) in run_uncached()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | process.c | 205 unsigned long usp = args->stack; in copy_thread() local 242 if (usp) { in copy_thread() 243 usp = ALIGN(usp, 4); in copy_thread() 244 if (likely(usp)) in copy_thread() 245 cregs->gr[30] = usp; in copy_thread()
|
H A D | signal.c | 81 unsigned long usp = (regs->gr[30] & ~(0x01UL)); in sys_rt_sigreturn() local 94 (usp - sigframe_size); in sys_rt_sigreturn() 124 __func__, usp, &compat_frame->uc.uc_stack); in sys_rt_sigreturn() 135 __func__, usp, &frame->uc.uc_stack); in sys_rt_sigreturn() 217 unsigned long rp, usp; in setup_rt_frame() local 225 usp = (regs->gr[30] & ~(0x01UL)); in setup_rt_frame() 230 usp = (compat_uint_t)usp; in setup_rt_frame() 234 frame = get_sigframe(&ksig->ka, usp, sigframe_size); in setup_rt_frame() 495 unsigned int *usp = (unsigned int *)regs->gr[30]; in insert_restart_trampoline() local 500 if (A(&usp[0]) >= TASK_SIZE_MAX - 5 * sizeof(int)) in insert_restart_trampoline() [all …]
|
/openbmc/linux/arch/csky/kernel/ |
H A D | process.c | 36 unsigned long usp = args->stack; in copy_thread() local 59 if (usp) in copy_thread() 60 childregs->usp = usp; in copy_thread()
|
H A D | signal.c | 78 frame = (struct rt_sigframe __user *)regs->usp; in SYSCALL_DEFINE0() 118 sp = regs->usp; in get_sigframe() 151 err |= __save_altstack(&frame->uc.uc_stack, regs->usp); in setup_rt_frame() 169 regs->usp = (unsigned long)frame; in setup_rt_frame()
|
H A D | atomic.S | 28 mfcr a3, usp 57 mtcr a3, usp
|
/openbmc/linux/arch/arc/kernel/ |
H A D | process.c | 170 unsigned long usp = args->stack; in copy_thread() local 215 if (usp) in copy_thread() 216 c_regs->sp = usp; in copy_thread() 251 void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp) in start_thread() argument 253 regs->sp = usp; in start_thread()
|
/openbmc/linux/arch/microblaze/kernel/ |
H A D | process.c | 58 unsigned long usp = args->stack; in copy_thread() local 78 if (usp) in copy_thread() 79 childregs->r1 = usp; in copy_thread() 123 void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp) in start_thread() argument 126 regs->r1 = usp; in start_thread()
|
/openbmc/qemu/target/rx/ |
H A D | gdbstub.c | 30 return gdb_get_regl(mem_buf, (env->psw_u) ? env->regs[0] : env->usp); in rx_cpu_gdb_read_register() 62 env->usp = env->regs[0]; in rx_cpu_gdb_write_register() 69 env->usp = ldl_p(mem_buf); in rx_cpu_gdb_write_register()
|
/openbmc/linux/arch/hexagon/kernel/ |
H A D | process.c | 55 unsigned long usp = args->stack; in copy_thread() local 88 if (usp) in copy_thread() 89 pt_set_rte_sp(childregs, usp); in copy_thread()
|
/openbmc/qemu/hw/cxl/ |
H A D | switch-mailbox-cci.c | 32 CXLUpstreamPort *usp; in cswbcci_realize() local 38 usp = CXL_USP(cswmb->target); in cswbcci_realize() 43 cswmb->cci = &usp->swcci; in cswbcci_realize()
|
/openbmc/linux/arch/csky/kernel/probes/ |
H A D | simulate-insn.c | 22 *ptr = regs->usp; in csky_insn_reg_get_val() 51 regs->usp = val; in csky_insn_reg_set_val() 196 unsigned long *tmp = (unsigned long *)regs->usp; in simulate_pop16() 209 regs->usp = (unsigned long)tmp; in simulate_pop16() 217 unsigned long *tmp = (unsigned long *)regs->usp; in simulate_pop32() 240 regs->usp = (unsigned long)tmp; in simulate_pop32()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | process.c | 235 unsigned long usp = args->stack; in copy_thread() local 259 childti->pcb.usp = 0; in copy_thread() 271 childti->pcb.usp = usp ?: rdusp(); in copy_thread() 321 dest[30] = ti == current_thread_info() ? rdusp() : ti->pcb.usp; in dump_elf_thread()
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | syscall.h | 60 unsigned long usp __maybe_unused = regs->regs[29]; in mips_get_syscall_arg() 70 get_user(*arg, (int *)usp + n); in mips_get_syscall_arg() 78 get_user(*arg, (int *)usp + n); in mips_get_syscall_arg()
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | process.c | 144 unsigned long usp = args->stack; in copy_thread() local 169 p->thread.usp = 0; in copy_thread() 176 p->thread.usp = usp ?: rdusp(); in copy_thread()
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | process.c | 294 unsigned long usp = usp_thread_fn ? in copy_thread() local 301 childregs->areg[1] = usp; in copy_thread() 320 if (regs->areg[1] == usp && len != 0) { in copy_thread() 324 (unsigned __user*)(usp - 12)); in copy_thread()
|
/openbmc/linux/arch/openrisc/kernel/ |
H A D | process.c | 170 unsigned long usp = args->stack; in copy_thread() local 196 if (usp) in copy_thread() 197 userregs->sp = usp; in copy_thread()
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | processor.h | 66 (_regs)->usp = (_usp); \ 78 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->usp)
|
H A D | ptrace.h | 21 #define user_stack_pointer(regs) ((regs)->usp) 64 return regs->usp; in kernel_stack_pointer()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | process_32.c | 93 unsigned long usp = args->stack; in copy_thread() local 129 if (usp) in copy_thread() 130 childregs->regs[15] = usp; in copy_thread()
|
/openbmc/linux/arch/nios2/kernel/ |
H A D | signal.c | 170 unsigned long usp; in get_sigframe() local 173 usp = regs->sp; in get_sigframe() 176 usp = sigsp(usp, ksig); in get_sigframe() 179 return (void __user *)((usp - frame_size) & -8UL); in get_sigframe()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | scall64-o32.S | 69 load_a4: lw a4, 16(t0) # argument #5 from usp 70 load_a5: lw a5, 20(t0) # argument #6 from usp 71 load_a6: lw a6, 24(t0) # argument #7 from usp 72 load_a7: lw a7, 28(t0) # argument #8 from usp
|
H A D | scall32-o32.S | 61 load_a4: user_lw(t5, 16(t0)) # argument #5 from usp 62 load_a5: user_lw(t6, 20(t0)) # argument #6 from usp 63 load_a6: user_lw(t7, 24(t0)) # argument #7 from usp 64 load_a7: user_lw(t8, 28(t0)) # argument #8 from usp
|