Home
last modified time | relevance | path

Searched refs:usp (Results 1 – 25 of 77) sorted by relevance

1234

/kernel/linux/linux-5.10/sound/soc/sirf/
Dsirf-usp.c28 static void sirf_usp_tx_enable(struct sirf_usp *usp) in sirf_usp_tx_enable() argument
30 regmap_update_bits(usp->regmap, USP_TX_FIFO_OP, in sirf_usp_tx_enable()
32 regmap_write(usp->regmap, USP_TX_FIFO_OP, 0); in sirf_usp_tx_enable()
34 regmap_update_bits(usp->regmap, USP_TX_FIFO_OP, in sirf_usp_tx_enable()
37 regmap_update_bits(usp->regmap, USP_TX_RX_ENABLE, in sirf_usp_tx_enable()
41 static void sirf_usp_tx_disable(struct sirf_usp *usp) in sirf_usp_tx_disable() argument
43 regmap_update_bits(usp->regmap, USP_TX_RX_ENABLE, in sirf_usp_tx_disable()
46 regmap_write(usp->regmap, USP_TX_FIFO_OP, 0); in sirf_usp_tx_disable()
49 static void sirf_usp_rx_enable(struct sirf_usp *usp) in sirf_usp_rx_enable() argument
51 regmap_update_bits(usp->regmap, USP_RX_FIFO_OP, in sirf_usp_rx_enable()
[all …]
DMakefile4 snd-soc-sirf-usp-objs := sirf-usp.o
8 obj-$(CONFIG_SND_SOC_SIRF_USP) += snd-soc-sirf-usp.o
/kernel/linux/linux-5.10/arch/c6x/kernel/
Dprocess.c86 void start_thread(struct pt_regs *regs, unsigned int pc, unsigned long usp) in start_thread() argument
96 usp -= 8; in start_thread()
99 regs->sp = usp; in start_thread()
101 current->thread.usp = usp; in start_thread()
107 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
120 childregs->a0 = usp; /* function */ in copy_thread()
125 if (usp) in copy_thread()
126 childregs->sp = usp; in copy_thread()
131 p->thread.usp = childregs->sp; in copy_thread()
141 if (usp == -1) in copy_thread()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dprocessor.h22 register unsigned long usp __asm__("a0"); in rdusp()
24 __asm__ __volatile__(".word 0x4e68" : "=a" (usp)); in rdusp()
25 return usp; in rdusp()
29 static inline void wrusp(unsigned long usp) in wrusp() argument
33 sw_usp = usp; in wrusp()
35 register unsigned long a0 __asm__("a0") = usp; in wrusp()
80 unsigned long usp; /* user stack pointer */ member
112 unsigned long usp) in start_thread() argument
117 wrusp(usp); in start_thread()
137 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dprocess.c191 copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
206 if (!usp) /* idle thread */ in copy_thread()
218 cregs->gr[27] = ((unsigned long *)usp)[3]; in copy_thread()
219 cregs->gr[26] = ((unsigned long *)usp)[2]; in copy_thread()
221 cregs->gr[26] = usp; in copy_thread()
229 if (usp) { in copy_thread()
230 usp = ALIGN(usp, 4); in copy_thread()
231 if (likely(usp)) in copy_thread()
232 cregs->gr[30] = usp; in copy_thread()
Dsignal.c91 unsigned long usp = (regs->gr[30] & ~(0x01UL)); in sys_rt_sigreturn() local
104 (usp - sigframe_size); in sys_rt_sigreturn()
135 usp, &compat_frame->uc.uc_stack); in sys_rt_sigreturn()
146 usp, &frame->uc.uc_stack); in sys_rt_sigreturn()
231 unsigned long rp, usp; in setup_rt_frame() local
239 usp = (regs->gr[30] & ~(0x01UL)); in setup_rt_frame()
243 usp = (compat_uint_t)usp; in setup_rt_frame()
247 frame = get_sigframe(&ksig->ka, usp, sizeof(*frame)); in setup_rt_frame()
527 unsigned int *usp = (unsigned int *)regs->gr[30]; in insert_restart_trampoline() local
528 unsigned long start = (unsigned long) &usp[2]; in insert_restart_trampoline()
[all …]
/kernel/linux/linux-5.10/arch/mips/lib/
Duncached.c42 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()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dcompat.h131 unsigned long usp = regs->u_regs[UREG_I6]; in arch_compat_alloc_user_space() local
133 if (test_thread_64bit_stack(usp)) in arch_compat_alloc_user_space()
134 usp += STACK_BIAS; in arch_compat_alloc_user_space()
137 usp &= 0xffffffffUL; in arch_compat_alloc_user_space()
139 usp -= len; in arch_compat_alloc_user_space()
140 usp &= ~0x7UL; in arch_compat_alloc_user_space()
142 return (void __user *) usp; in arch_compat_alloc_user_space()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dprocess.c34 unsigned long usp, in copy_thread() argument
56 childstack->r9 = usp; in copy_thread()
60 if (usp) in copy_thread()
61 childregs->usp = usp; in copy_thread()
/kernel/linux/linux-5.10/arch/h8300/include/asm/
Dprocessor.h27 static inline void wrusp(unsigned long usp) in wrusp() argument
31 _sw_usp = usp; in wrusp()
53 unsigned long usp; /* user stack pointer */ member
64 .usp = 0, \
118 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
/kernel/linux/linux-5.10/arch/arc/kernel/
Dprocess.c165 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
198 c_callee->r14 = usp; /* function */ in copy_thread()
212 if (usp) in copy_thread()
213 c_regs->sp = usp; in copy_thread()
258 void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp) in start_thread() argument
260 regs->sp = usp; in start_thread()
/kernel/linux/linux-5.10/arch/microblaze/kernel/
Dprocess.c56 int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
68 ti->cpu_context.r20 = (unsigned long)usp; /* fn */ in copy_thread()
79 if (usp) in copy_thread()
80 childregs->r1 = usp; in copy_thread()
128 void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp) in start_thread() argument
131 regs->r1 = usp; in start_thread()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/
Dsirf-uart.txt4 - compatible : Should be "sirf,prima2-uart", "sirf, prima2-usp-uart",
5 "sirf,atlas7-uart" or "sirf,atlas7-usp-uart".
29 usp@b0090000 {
30 compatible = "sirf,prima2-usp-uart";
/kernel/linux/linux-5.10/arch/hexagon/kernel/
Dprocess.c53 int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
79 ss->r24 = usp; in copy_thread()
87 if (usp) in copy_thread()
88 pt_set_rte_sp(childregs, usp); in copy_thread()
/kernel/linux/linux-5.10/arch/h8300/kernel/
Dprocess.c108 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
119 childregs->er5 = usp; /* fn */ in copy_thread()
124 p->thread.usp = usp ?: rdusp(); in copy_thread()
Dsignal.c78 unsigned int usp; in restore_sigcontext() local
97 err |= __get_user(usp, &usc->sc_usp); in restore_sigcontext()
98 regs->sp = usp; in restore_sigcontext()
107 unsigned long usp = rdusp(); in sys_rt_sigreturn() local
108 struct rt_sigframe *frame = (struct rt_sigframe *)(usp - 4); in sys_rt_sigreturn()
/kernel/linux/linux-5.10/arch/openrisc/kernel/
Dprocess.c150 copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
172 kregs->gpr[20] = usp; /* fn, kernel thread */ in copy_thread()
177 if (usp) in copy_thread()
178 userregs->sp = usp; in copy_thread()
/kernel/linux/linux-5.10/arch/c6x/include/asm/
Dprocessor.h48 unsigned long usp; /* user stack pointer */ member
55 .usp = 0, \
74 unsigned long usp);
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dprocess.c236 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
257 childstack->r9 = usp; /* function */ in copy_thread()
260 childti->pcb.usp = 0; in copy_thread()
272 childti->pcb.usp = usp ?: rdusp(); in copy_thread()
322 dest[30] = ti == current_thread_info() ? rdusp() : ti->pcb.usp; in dump_elf_thread()
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dprocess.c141 int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
164 frame->sw.a3 = usp; /* function */ in copy_thread()
167 p->thread.usp = 0; in copy_thread()
174 p->thread.usp = usp ?: rdusp(); in copy_thread()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dsirf-usp.txt4 - compatible: "sirf,prima2-usp-pcm"
18 usp0: usp@b0080000 {
19 compatible = "sirf,prima2-usp-pcm";
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dprocess.c109 int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
123 p->thread.s[0] = usp; /* fn */ in copy_thread()
127 if (usp) /* User fork */ in copy_thread()
128 childregs->sp = usp; in copy_thread()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dprocess_32.c95 int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
121 childregs->regs[5] = usp; in copy_thread()
133 if (usp) in copy_thread()
134 childregs->regs[15] = usp; in copy_thread()
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dprocess.c222 unsigned long usp = usp_thread_fn ? in copy_thread() local
233 childregs->areg[1] = usp; in copy_thread()
252 if (regs->areg[1] == usp && len != 0) { in copy_thread()
256 (unsigned __user*)(usp - 12)); in copy_thread()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dsyscall.h60 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()

1234