Home
last modified time | relevance | path

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

123

/Linux-v4.19/sound/soc/sirf/
Dsirf-usp.c29 static void sirf_usp_tx_enable(struct sirf_usp *usp) in sirf_usp_tx_enable() argument
31 regmap_update_bits(usp->regmap, USP_TX_FIFO_OP, in sirf_usp_tx_enable()
33 regmap_write(usp->regmap, USP_TX_FIFO_OP, 0); in sirf_usp_tx_enable()
35 regmap_update_bits(usp->regmap, USP_TX_FIFO_OP, in sirf_usp_tx_enable()
38 regmap_update_bits(usp->regmap, USP_TX_RX_ENABLE, in sirf_usp_tx_enable()
42 static void sirf_usp_tx_disable(struct sirf_usp *usp) in sirf_usp_tx_disable() argument
44 regmap_update_bits(usp->regmap, USP_TX_RX_ENABLE, in sirf_usp_tx_disable()
47 regmap_write(usp->regmap, USP_TX_FIFO_OP, 0); in sirf_usp_tx_disable()
50 static void sirf_usp_rx_enable(struct sirf_usp *usp) in sirf_usp_rx_enable() argument
52 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
/Linux-v4.19/arch/c6x/kernel/
Dprocess.c90 void start_thread(struct pt_regs *regs, unsigned int pc, unsigned long usp) in start_thread() argument
100 usp -= 8; in start_thread()
103 regs->sp = usp; in start_thread()
105 current->thread.usp = usp; in start_thread()
111 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
124 childregs->a0 = usp; /* function */ in copy_thread()
129 if (usp) in copy_thread()
130 childregs->sp = usp; in copy_thread()
135 p->thread.usp = childregs->sp; in copy_thread()
145 if (usp == -1) in copy_thread()
/Linux-v4.19/arch/m68k/include/asm/
Dprocessor.h28 register unsigned long usp __asm__("a0"); in rdusp()
30 __asm__ __volatile__(".word 0x4e68" : "=a" (usp)); in rdusp()
31 return usp; in rdusp()
35 static inline void wrusp(unsigned long usp) in wrusp() argument
39 sw_usp = usp; in wrusp()
41 register unsigned long a0 __asm__("a0") = usp; in wrusp()
86 unsigned long usp; /* user stack pointer */ member
118 unsigned long usp) in start_thread() argument
123 wrusp(usp); in start_thread()
143 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
/Linux-v4.19/arch/parisc/kernel/
Dprocess.c230 copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
245 if (!usp) /* idle thread */ in copy_thread()
257 cregs->gr[27] = ((unsigned long *)usp)[3]; in copy_thread()
258 cregs->gr[26] = ((unsigned long *)usp)[2]; in copy_thread()
260 cregs->gr[26] = usp; in copy_thread()
268 if (usp) { in copy_thread()
269 usp = ALIGN(usp, 4); in copy_thread()
270 if (likely(usp)) in copy_thread()
271 cregs->gr[30] = usp; in copy_thread()
Dsignal.c93 unsigned long usp = (regs->gr[30] & ~(0x01UL)); in sys_rt_sigreturn() local
106 (usp - sigframe_size); in sys_rt_sigreturn()
137 usp, &compat_frame->uc.uc_stack); in sys_rt_sigreturn()
148 usp, &frame->uc.uc_stack); in sys_rt_sigreturn()
233 unsigned long rp, usp; in setup_rt_frame() local
241 usp = (regs->gr[30] & ~(0x01UL)); in setup_rt_frame()
243 frame = get_sigframe(&ksig->ka, usp, sizeof(*frame)); in setup_rt_frame()
523 unsigned int *usp = (unsigned int *)regs->gr[30]; in insert_restart_trampoline() local
524 unsigned long start = (unsigned long) &usp[2]; in insert_restart_trampoline()
525 unsigned long end = (unsigned long) &usp[5]; in insert_restart_trampoline()
[all …]
/Linux-v4.19/arch/mips/lib/
Duncached.c43 long usp; in run_uncached() local
46 usp = CKSEG1ADDR(sp); in run_uncached()
50 usp = PHYS_TO_XKPHYS(K_CALG_UNCACHED, in run_uncached()
55 usp = sp; in run_uncached()
76 : "r" (usp), "r" (ufunc) in run_uncached()
/Linux-v4.19/arch/h8300/include/asm/
Dprocessor.h33 static inline void wrusp(unsigned long usp) in wrusp() argument
37 _sw_usp = usp; in wrusp()
59 unsigned long usp; /* user stack pointer */ member
70 .usp = 0, \
124 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
/Linux-v4.19/arch/sparc/include/asm/
Dcompat.h164 unsigned long usp = regs->u_regs[UREG_I6]; in arch_compat_alloc_user_space() local
166 if (test_thread_64bit_stack(usp)) in arch_compat_alloc_user_space()
167 usp += STACK_BIAS; in arch_compat_alloc_user_space()
170 usp &= 0xffffffffUL; in arch_compat_alloc_user_space()
172 usp -= len; in arch_compat_alloc_user_space()
173 usp &= ~0x7UL; in arch_compat_alloc_user_space()
175 return (void __user *) usp; in arch_compat_alloc_user_space()
/Linux-v4.19/arch/arc/kernel/
Dprocess.c178 unsigned long usp, unsigned long kthread_arg, in copy_thread() argument
210 c_callee->r14 = usp; /* function */ in copy_thread()
224 if (usp) in copy_thread()
225 c_regs->sp = usp; in copy_thread()
270 void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long usp) in start_thread() argument
272 regs->sp = usp; in start_thread()
/Linux-v4.19/arch/microblaze/kernel/
Dprocess.c57 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
69 ti->cpu_context.r20 = (unsigned long)usp; /* fn */ in copy_thread()
80 if (usp) in copy_thread()
81 childregs->r1 = usp; in copy_thread()
129 void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp) in start_thread() argument
132 regs->r1 = usp; in start_thread()
/Linux-v4.19/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";
/Linux-v4.19/arch/hexagon/kernel/
Dprocess.c66 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
92 ss->r24 = usp; in copy_thread()
100 if (usp) in copy_thread()
101 pt_set_rte_sp(childregs, usp); in copy_thread()
/Linux-v4.19/arch/h8300/kernel/
Dprocess.c110 unsigned long usp, unsigned long topstk, in copy_thread() argument
121 childregs->er5 = usp; /* fn */ in copy_thread()
126 p->thread.usp = usp ?: rdusp(); in copy_thread()
Dsignal.c79 unsigned int usp; in restore_sigcontext() local
98 err |= __get_user(usp, &usc->sc_usp); in restore_sigcontext()
99 regs->sp = usp; in restore_sigcontext()
108 unsigned long usp = rdusp(); in sys_rt_sigreturn() local
109 struct rt_sigframe *frame = (struct rt_sigframe *)(usp - 4); in sys_rt_sigreturn()
/Linux-v4.19/arch/m68k/kernel/
Dprocess.c122 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
145 frame->sw.a3 = usp; /* function */ in copy_thread()
148 p->thread.usp = 0; in copy_thread()
155 p->thread.usp = usp ?: rdusp(); in copy_thread()
/Linux-v4.19/arch/c6x/include/asm/
Dprocessor.h62 unsigned long usp; /* user stack pointer */ member
69 .usp = 0, \
88 unsigned long usp);
/Linux-v4.19/arch/openrisc/kernel/
Dprocess.c155 copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
177 kregs->gpr[20] = usp; /* fn, kernel thread */ in copy_thread()
182 if (usp) in copy_thread()
183 userregs->sp = usp; in copy_thread()
/Linux-v4.19/arch/alpha/kernel/
Dprocess.c238 copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
259 childstack->r9 = usp; /* function */ in copy_thread()
262 childti->pcb.usp = 0; in copy_thread()
274 childti->pcb.usp = usp ?: rdusp(); in copy_thread()
324 dest[30] = ti == current_thread_info() ? rdusp() : ti->pcb.usp; in dump_elf_thread()
/Linux-v4.19/arch/riscv/kernel/
Dprocess.c102 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
116 p->thread.s[0] = usp; /* fn */ in copy_thread()
120 if (usp) /* User fork */ in copy_thread()
121 childregs->sp = usp; in copy_thread()
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Dsirf-usp.txt4 - compatible: "sirf,prima2-usp-pcm"
18 usp0: usp@b0080000 {
19 compatible = "sirf,prima2-usp-pcm";
/Linux-v4.19/arch/mips/include/asm/
Dsyscall.h60 unsigned long usp __maybe_unused = regs->regs[29]; in mips_get_syscall_arg()
70 return get_user(*arg, (int *)usp + n); in mips_get_syscall_arg()
77 return get_user(*arg, (int *)usp + n); in mips_get_syscall_arg()
/Linux-v4.19/arch/sh/kernel/
Dprocess_32.c121 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
147 childregs->regs[5] = usp; in copy_thread()
159 if (usp) in copy_thread()
160 childregs->regs[15] = usp; in copy_thread()
/Linux-v4.19/arch/xtensa/kernel/
Dprocess.c220 unsigned long usp = usp_thread_fn ? in copy_thread() local
231 childregs->areg[1] = usp; in copy_thread()
250 if (regs->areg[1] == usp && len != 0) { in copy_thread()
254 (unsigned __user*)(usp - 12)); in copy_thread()
/Linux-v4.19/arch/nios2/kernel/
Dprocess.c104 unsigned long usp, unsigned long arg, struct task_struct *p) in copy_thread() argument
116 childstack->r16 = usp; /* fn */ in copy_thread()
138 if (usp) in copy_thread()
139 childregs->sp = usp; in copy_thread()

123