Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 880) sorted by relevance

12345678910>>...36

/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-io.c120 struct pvr2_stream *sp = bp->stream; in pvr2_buffer_remove() local
123 cnt = &sp->i_count; in pvr2_buffer_remove()
124 bcnt = &sp->i_bcount; in pvr2_buffer_remove()
128 cnt = &sp->q_count; in pvr2_buffer_remove()
129 bcnt = &sp->q_bcount; in pvr2_buffer_remove()
133 cnt = &sp->r_count; in pvr2_buffer_remove()
134 bcnt = &sp->r_bcount; in pvr2_buffer_remove()
152 struct pvr2_stream *sp; in pvr2_buffer_set_none() local
154 sp = bp->stream; in pvr2_buffer_set_none()
160 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_none()
[all …]
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dhandlers.S13 addi sp, sp, (-8*36)
14 sd x1, 8(sp)
15 sd x2, 16(sp)
16 sd x3, 24(sp)
17 sd x4, 32(sp)
18 sd x5, 40(sp)
19 sd x6, 48(sp)
20 sd x7, 56(sp)
21 sd x8, 64(sp)
22 sd x9, 72(sp)
[all …]
/linux/arch/nios2/include/asm/
H A Dentry.h31 stw sp, PT_SP(r24) /* Save user stack before changing */
32 mov sp, r24
35 1 : mov r24, sp
36 addi sp, sp, -PT_REGS_SIZE /* Backup the kernel stack pointer */
37 stw r24, PT_SP(sp)
38 2 : stw r1, PT_R1(sp)
39 stw r2, PT_R2(sp)
40 stw r3, PT_R3(sp)
41 stw r4, PT_R4(sp)
42 stw r5, PT_R5(sp)
[all …]
/linux/arch/riscv/kernel/probes/
H A Drethook_trampoline.S14 REG_S x1, PT_RA(sp)
15 REG_S x3, PT_GP(sp)
16 REG_S x4, PT_TP(sp)
17 REG_S x5, PT_T0(sp)
18 REG_S x6, PT_T1(sp)
19 REG_S x7, PT_T2(sp)
20 REG_S x8, PT_S0(sp)
21 REG_S x9, PT_S1(sp)
22 REG_S x10, PT_A0(sp)
23 REG_S x11, PT_A1(sp)
[all …]
/linux/arch/csky/abiv2/inc/abi/
H A Dentry.h24 subi sp, 152
25 stw tls, (sp, 0)
26 stw lr, (sp, 4)
34 stw lr, (sp, 8)
37 stw lr, (sp, 12)
40 addi lr, sp, 152
45 stw lr, (sp, 16)
47 stw a0, (sp, 20)
48 stw a0, (sp, 24)
49 stw a1, (sp, 28)
[all …]
/linux/arch/m68k/include/asm/
H A Dentry.h66 btst #5,%sp@(2) /* from user? */
68 movel %sp,sw_usp /* save user sp */
70 movel sw_ksp,%sp /* kernel sp */
71 subql #8,%sp /* room for exception */
72 clrl %sp@- /* stkadj */
73 movel %d0,%sp@- /* orig d0 */
74 movel %d0,%sp@- /* d0 */
75 lea %sp@(-32),%sp /* space for 8 regs */
76 moveml %d1-%d5/%a0-%a2,%sp@
78 movel %a0@-,%sp@(PT_OFF_PC) /* copy exception program counter */
[all …]
/linux/arch/nios2/kernel/
H A Dinsnemu.S21 ldw r1, PT_R1(sp) // Restore registers
22 ldw r2, PT_R2(sp)
23 ldw r3, PT_R3(sp)
24 ldw r4, PT_R4(sp)
25 ldw r5, PT_R5(sp)
26 ldw r6, PT_R6(sp)
27 ldw r7, PT_R7(sp)
28 ldw r8, PT_R8(sp)
29 ldw r9, PT_R9(sp)
30 ldw r10, PT_R10(sp)
[all …]
/linux/arch/loongarch/kernel/
H A Dmcount_dyn.S30 PTR_ADDI sp, sp, -PT_SIZE
31 PTR_S t0, sp, PT_R1 /* Save parent ra at PT_R1(RA) */
32 PTR_S a0, sp, PT_R4
33 PTR_S a1, sp, PT_R5
34 PTR_S a2, sp, PT_R6
35 PTR_S a3, sp, PT_R7
36 PTR_S a4, sp, PT_R8
37 PTR_S a5, sp, PT_R9
38 PTR_S a6, sp, PT_R10
39 PTR_S a7, sp, PT_R11
[all …]
/linux/arch/riscv/kernel/
H A Dmcount-dyn.S29 addi sp, sp, -ABI_SIZE_ON_STACK
31 REG_S a0, ABI_A0(sp)
32 REG_S a1, ABI_A1(sp)
33 REG_S a2, ABI_A2(sp)
34 REG_S a3, ABI_A3(sp)
35 REG_S a4, ABI_A4(sp)
36 REG_S a5, ABI_A5(sp)
37 REG_S a6, ABI_A6(sp)
38 REG_S a7, ABI_A7(sp)
39 REG_S t0, ABI_T0(sp)
[all …]
H A Dentry.S155 REG_S sp, TASK_TI_KERNEL_SP(tp)
158 addi sp, sp, -(PT_SIZE_ON_STACK)
159 srli sp, sp, THREAD_SHIFT
160 andi sp, sp, 0x1
161 bnez sp, handle_kernel_stack_overflow
162 REG_L sp, TASK_TI_KERNEL_SP(tp)
166 REG_S sp, TASK_TI_USER_SP(tp)
167 REG_L sp, TASK_TI_KERNEL_SP(tp)
168 addi sp, sp, -(PT_SIZE_ON_STACK)
169 REG_S x1, PT_RA(sp)
[all …]
/linux/arch/csky/abiv1/inc/abi/
H A Dentry.h21 mtcr sp, usp
22 mfcr sp, ss0
26 mtcr sp, ss0
27 mfcr sp, usp
37 subi sp, 32
38 subi sp, 32
39 subi sp, 16
40 stw r13, (sp, 12)
42 stw lr, (sp, 4)
47 stw lr, (sp, 8)
[all …]
/linux/arch/loongarch/power/
H A Dsuspend_asm.S17 PTR_ADDI sp, sp, -PT_SIZE
18 REG_S $r1, sp, PT_R1
19 REG_S $r2, sp, PT_R2
20 REG_S $r3, sp, PT_R3
21 REG_S $r4, sp, PT_R4
22 REG_S $r21, sp, PT_R21
23 REG_S $r22, sp, PT_R22
24 REG_S $r23, sp, PT_R23
25 REG_S $r24, sp, PT_R24
26 REG_S $r25, sp, PT_R25
[all …]
/linux/sound/pci/emu10k1/
H A Demu10k1_patch.c25 snd_emu10k1_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu10k1_sample_new() argument
38 if (snd_BUG_ON(!sp || !hdr)) in snd_emu10k1_sample_new()
41 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP | SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) { in snd_emu10k1_sample_new()
45 sp->v.sample); in snd_emu10k1_sample_new()
48 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS) { in snd_emu10k1_sample_new()
51 xor = (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_UNSIGNED) ? 0 : 0x80808080; in snd_emu10k1_sample_new()
55 xor = (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_UNSIGNED) ? 0x80008000 : 0; in snd_emu10k1_sample_new()
59 truesize = sp->v.size + BLANK_HEAD_SIZE; in snd_emu10k1_sample_new()
60 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) { in snd_emu10k1_sample_new()
63 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_SINGLESHOT) { in snd_emu10k1_sample_new()
[all …]
/linux/arch/mips/alchemy/common/
H A Dsleeper.S24 subu sp, PT_SIZE
25 sw $1, PT_R1(sp)
26 sw $2, PT_R2(sp)
27 sw $3, PT_R3(sp)
28 sw $4, PT_R4(sp)
29 sw $5, PT_R5(sp)
30 sw $6, PT_R6(sp)
31 sw $7, PT_R7(sp)
32 sw $16, PT_R16(sp)
33 sw $17, PT_R17(sp)
[all …]
/linux/arch/csky/abiv2/
H A Dmcount.S28 subi sp, 24
29 stw a0, (sp, 0)
30 stw a1, (sp, 4)
31 stw a2, (sp, 8)
32 stw a3, (sp, 12)
33 stw lr, (sp, 16)
34 stw r8, (sp, 20)
38 ldw a0, (sp, 0)
39 ldw a1, (sp, 4)
40 ldw a2, (sp, 8)
[all …]
/linux/drivers/gpu/host1x/hw/
H A Dsyncpt_hw.c16 static void syncpt_restore(struct host1x_syncpt *sp) in syncpt_restore() argument
18 u32 min = host1x_syncpt_read_min(sp); in syncpt_restore()
19 struct host1x *host = sp->host; in syncpt_restore()
21 host1x_sync_writel(host, min, HOST1X_SYNC_SYNCPT(sp->id)); in syncpt_restore()
27 static void syncpt_restore_wait_base(struct host1x_syncpt *sp) in syncpt_restore_wait_base() argument
30 struct host1x *host = sp->host; in syncpt_restore_wait_base()
32 host1x_sync_writel(host, sp->base_val, in syncpt_restore_wait_base()
33 HOST1X_SYNC_SYNCPT_BASE(sp->id)); in syncpt_restore_wait_base()
40 static void syncpt_read_wait_base(struct host1x_syncpt *sp) in syncpt_read_wait_base() argument
43 struct host1x *host = sp->host; in syncpt_read_wait_base()
[all …]
/linux/arch/m68k/kernel/
H A Dentry.S52 lea %sp@(24),%sp
57 pea %sp@(SWITCH_STACK_SIZE)
59 lea %sp@(28),%sp
65 lea %sp@(24),%sp
70 pea %sp@(SWITCH_STACK_SIZE)
72 lea %sp@(28),%sp
77 movel %sp,%a1 | switch_stack pointer
78 lea %sp@(SWITCH_STACK_SIZE),%a0 | pt_regs pointer
79 lea %sp@(-84),%sp | leave a gap
80 movel %a1,%sp@-
[all …]
/linux/arch/mips/kernel/
H A Dmcount.S23 PTR_SUBU sp, PT_SIZE
24 PTR_S ra, PT_R31(sp)
25 PTR_S AT, PT_R1(sp)
26 PTR_S a0, PT_R4(sp)
27 PTR_S a1, PT_R5(sp)
28 PTR_S a2, PT_R6(sp)
29 PTR_S a3, PT_R7(sp)
31 PTR_S a4, PT_R8(sp)
32 PTR_S a5, PT_R9(sp)
33 PTR_S a6, PT_R10(sp)
[all …]
/linux/sound/isa/sb/
H A Demu8000_patch.c136 snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu8000_sample_new() argument
148 if (snd_BUG_ON(!sp)) in snd_emu8000_sample_new()
152 truesize = sp->v.size; in snd_emu8000_sample_new()
153 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu8000_sample_new()
154 truesize += sp->v.loopend - sp->v.loopstart; in snd_emu8000_sample_new()
155 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) in snd_emu8000_sample_new()
158 sp->block = snd_util_mem_alloc(hdr, truesize * 2); in snd_emu8000_sample_new()
159 if (sp->block == NULL) { in snd_emu8000_sample_new()
164 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS) { in snd_emu8000_sample_new()
165 if (!access_ok(data, sp->v.size)) in snd_emu8000_sample_new()
[all …]
/linux/arch/s390/kernel/
H A Dunwind_bc.c22 static bool outside_of_stack(struct unwind_state *state, unsigned long sp) in outside_of_stack() argument
24 return (sp <= state->sp) || in outside_of_stack()
25 (sp > state->stack_info.end - sizeof(struct stack_frame)); in outside_of_stack()
28 static bool update_stack_info(struct unwind_state *state, unsigned long sp) in update_stack_info() argument
34 if (get_stack_info(sp, state->task, info, mask) != 0 || in update_stack_info()
35 !on_stack(info, sp, sizeof(struct stack_frame))) in update_stack_info()
61 unsigned long sp, ip; in unwind_next_frame() local
66 sp = state->sp; in unwind_next_frame()
67 sf = (struct stack_frame *) sp; in unwind_next_frame()
77 sf = (struct stack_frame *) state->sp; in unwind_next_frame()
[all …]
/linux/arch/mips/include/asm/
H A Dpm.h20 PTR_SUBU sp, PT_SIZE
22 LONG_S $16, PT_R16(sp)
23 LONG_S $17, PT_R17(sp)
24 LONG_S $18, PT_R18(sp)
25 LONG_S $19, PT_R19(sp)
26 LONG_S $20, PT_R20(sp)
27 LONG_S $21, PT_R21(sp)
28 LONG_S $22, PT_R22(sp)
29 LONG_S $23, PT_R23(sp)
30 LONG_S $28, PT_R28(sp)
[all …]
/linux/arch/arm64/lib/
H A Dkasan_sw_tags.S42 add x29, sp, #232
43 stp x2, x3, [sp, #8 * 2]
44 stp x4, x5, [sp, #8 * 4]
45 stp x6, x7, [sp, #8 * 6]
46 stp x8, x9, [sp, #8 * 8]
47 stp x10, x11, [sp, #8 * 10]
48 stp x12, x13, [sp, #8 * 12]
49 stp x14, x15, [sp, #8 * 14]
51 str x18, [sp, #8 * 18]
57 ldp x0, x1, [sp]
[all …]
/linux/arch/riscv/net/
H A Dbpf_timed_may_goto.S18 addi sp, sp, -(8*SZREG)
19 REG_S ra, 7*SZREG(sp)
20 REG_S s0, 6*SZREG(sp)
21 addi s0, sp, 8*SZREG
24 REG_S a5, 5*SZREG(sp)
25 REG_S a0, 4*SZREG(sp)
26 REG_S a1, 3*SZREG(sp)
27 REG_S a2, 2*SZREG(sp)
28 REG_S a3, 1*SZREG(sp)
29 REG_S a4, 0*SZREG(sp)
[all …]
/linux/arch/m68k/coldfire/
H A Dentry.S70 movel %sp,%d2 /* get thread_info pointer */
74 movel %sp,%a1@(TASK_THREAD+THREAD_ESP0)
80 movel %d0,%sp@(PT_OFF_D0) /* save the return value */
84 movel %d2,PT_OFF_D0(%sp) /* on syscall entry */
85 subql #4,%sp
89 addql #4,%sp
94 movel %d0,%sp@(PT_OFF_D0) /* save the return value */
95 subql #4,%sp /* dummy return address */
99 addql #4,%sp
103 btst #5,%sp@(PT_OFF_SR) /* check if returning to kernel */
[all …]
/linux/drivers/mfd/
H A Drave-sp.c163 int (*get_status)(struct rave_sp *sp, struct rave_sp_status *);
216 struct rave_sp *sp = dev_get_drvdata(dev->parent); in rave_sp_unregister_event_notifier() local
218 struct blocking_notifier_head *bnh = &sp->event_notifier_list; in rave_sp_unregister_event_notifier()
226 struct rave_sp *sp = dev_get_drvdata(dev->parent); in devm_rave_sp_register_event_notifier() local
235 ret = blocking_notifier_chain_register(&sp->event_notifier_list, nb); in devm_rave_sp_register_event_notifier()
288 static int rave_sp_write(struct rave_sp *sp, const u8 *data, u8 data_size) in rave_sp_write() argument
290 const size_t checksum_length = sp->variant->checksum->length; in rave_sp_write()
302 sp->variant->checksum->subroutine(data, data_size, crc); in rave_sp_write()
314 return serdev_device_write(sp->serdev, frame, length, HZ); in rave_sp_write()
348 int rave_sp_exec(struct rave_sp *sp, in rave_sp_exec() argument
[all …]

12345678910>>...36