Searched refs:sp (Results 1 - 25 of 1117) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/kvm/lib/riscv/
H A Dhandlers.S13 addi sp, sp, (-8*34)
14 sd x1, 0(sp)
15 sd x2, 8(sp)
16 sd x3, 16(sp)
17 sd x4, 24(sp)
18 sd x5, 32(sp)
19 sd x6, 40(sp)
20 sd x7, 48(sp)
21 sd x8, 56(sp)
[all...]
/linux-master/tools/testing/selftests/sigaltstack/
H A Dcurrent_stack_pointer.h4 register unsigned long sp asm("$30");
6 register unsigned long sp asm("sp");
8 register unsigned long sp asm("esp");
10 register unsigned long sp asm("$sp");
12 register unsigned long sp asm("r1");
14 register unsigned long sp asm("%15");
16 register unsigned long sp asm("r15");
18 register unsigned long sp as
[all...]
/linux-master/arch/mips/include/asm/
H A Dexec.h15 extern unsigned long arch_align_stack(unsigned long sp);
H A Dpm.h20 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)
59 addiu sp, PT_SIZE variable
83 LONG_S sp, SSS_SP(t1) variable
103 LONG_L sp, SSS_SP(t1) variable
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dexec.h8 extern unsigned long arch_align_stack(unsigned long sp);
/linux-master/arch/s390/include/asm/
H A Dexec.h11 extern unsigned long arch_align_stack(unsigned long sp);
/linux-master/arch/loongarch/include/asm/
H A Dexec.h8 extern unsigned long arch_align_stack(unsigned long sp);
/linux-master/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-master/arch/arm64/lib/
H A Dkasan_sw_tags.S20 * sp: pre-decremented by 256 bytes (see below for restore)
25 * sp + 0..15: x0 and x1 to be restored
26 * sp + 16..231: free for use
27 * sp + 232..247: x29 and x30 (same as in GPRs)
28 * sp + 248..255: free for use
42 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, #
[all...]
/linux-master/drivers/gpu/host1x/hw/
H A Dsyncpt_hw.c16 static void syncpt_restore(struct host1x_syncpt *sp) argument
18 u32 min = host1x_syncpt_read_min(sp);
19 struct host1x *host = sp->host;
21 host1x_sync_writel(host, min, HOST1X_SYNC_SYNCPT(sp->id));
27 static void syncpt_restore_wait_base(struct host1x_syncpt *sp) argument
30 struct host1x *host = sp->host;
32 host1x_sync_writel(host, sp->base_val,
33 HOST1X_SYNC_SYNCPT_BASE(sp->id));
40 static void syncpt_read_wait_base(struct host1x_syncpt *sp) argument
43 struct host1x *host = sp
53 syncpt_load(struct host1x_syncpt *sp) argument
76 syncpt_cpu_incr(struct host1x_syncpt *sp) argument
103 syncpt_assign_to_channel(struct host1x_syncpt *sp, struct host1x_channel *ch) argument
[all...]
/linux-master/arch/csky/abiv1/inc/abi/
H A Dentry.h21 mtcr sp, usp
22 mfcr sp, ss0 variable
26 mtcr sp, ss0
27 mfcr sp, usp variable
37 subi sp, 32 variable
38 subi sp, 32 variable
39 subi sp, 16 variable
40 stw r13, (sp, 12) variable
42 stw lr, (sp, 4) variable
47 stw lr, (sp, variable
56 stw lr, (sp, 16) variable
58 stw a0, (sp, 20) variable
59 stw a0, (sp, 24) variable
60 stw a1, (sp, 28) variable
61 stw a2, (sp, 32) variable
62 stw a3, (sp, 36) variable
64 addi sp, 32 variable
65 addi sp, 8 variable
68 stw r7, (sp, 4) variable
69 stw r8, (sp, 8) variable
70 stw r9, (sp, 12) variable
71 stw r10, (sp, 16) variable
72 stw r11, (sp, 20) variable
73 stw r12, (sp, 24) variable
74 stw r13, (sp, 28) variable
75 stw r14, (sp, 32) variable
76 stw r1, (sp, 36) variable
77 subi sp, 32 variable
78 subi sp, 8 variable
82 ldw lr, (sp, 4) variable
83 ldw a0, (sp, 8) variable
85 ldw a0, (sp, 12) variable
89 ldw a0, (sp, 16) variable
92 ldw a0, (sp, 24) variable
93 ldw a1, (sp, 28) variable
94 ldw a2, (sp, 32) variable
95 ldw a3, (sp, 36) variable
97 addi sp, 32 variable
98 addi sp, 8 variable
100 ldw r7, (sp, 4) variable
101 ldw r8, (sp, 8) variable
102 ldw r9, (sp, 12) variable
103 ldw r10, (sp, 16) variable
104 ldw r11, (sp, 20) variable
105 ldw r12, (sp, 24) variable
106 ldw r13, (sp, 28) variable
107 ldw r14, (sp, 32) variable
108 ldw r1, (sp, 36) variable
109 addi sp, 32 variable
110 addi sp, 8 variable
125 addi sp, 32 variable
[all...]
/linux-master/drivers/crypto/ccp/
H A Dsp-dev.c23 #include "sp-dev.h"
42 static void sp_add_device(struct sp_device *sp) argument
48 list_add_tail(&sp->entry, &sp_units);
53 static void sp_del_device(struct sp_device *sp) argument
59 list_del(&sp->entry);
66 struct sp_device *sp = data; local
68 if (sp->ccp_irq_handler)
69 sp->ccp_irq_handler(irq, sp->ccp_irq_data);
71 if (sp
77 sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler, const char *name, void *data) argument
105 sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler, const char *name, void *data) argument
133 sp_free_ccp_irq(struct sp_device *sp, void *data) argument
152 sp_free_psp_irq(struct sp_device *sp, void *data) argument
178 struct sp_device *sp; local
191 sp_init(struct sp_device *sp) argument
203 sp_destroy(struct sp_device *sp) argument
214 sp_suspend(struct sp_device *sp) argument
223 sp_resume(struct sp_device *sp) argument
[all...]
/linux-master/arch/alpha/kernel/
H A Dentry.S29 .cfi_def_cfa $sp, 48
53 subq $sp, SP_OFF, $sp
55 stq $0, 0($sp)
56 stq $1, 8($sp)
57 stq $2, 16($sp)
58 stq $3, 24($sp)
59 stq $4, 32($sp)
60 stq $28, 144($sp)
68 stq $5, 40($sp)
[all...]
/linux-master/drivers/misc/ibmasm/
H A Duart.c20 void ibmasm_register_uart(struct service_processor *sp) argument
25 iomem_base = sp->base_address + SCOUT_COM_B_BASE;
31 dev_info(sp->dev, "IBM SP UART not registered, owned by service processor\n");
32 sp->serial_line = -1;
37 uart.port.irq = sp->irq;
43 sp->serial_line = serial8250_register_8250_port(&uart);
44 if (sp->serial_line < 0) {
45 dev_err(sp->dev, "Failed to register serial port\n");
48 enable_uart_interrupts(sp->base_address);
51 void ibmasm_unregister_uart(struct service_processor *sp) argument
[all...]
H A Dmodule.c54 struct service_processor *sp; local
67 sp = kzalloc(sizeof(struct service_processor), GFP_KERNEL);
68 if (sp == NULL) {
74 spin_lock_init(&sp->lock);
75 INIT_LIST_HEAD(&sp->command_queue);
77 pci_set_drvdata(pdev, (void *)sp);
78 sp->dev = &pdev->dev;
79 sp->number = pdev->bus->number;
80 snprintf(sp->dirname, IBMASM_NAME_SIZE, "%d", sp
156 struct service_processor *sp = pci_get_drvdata(pdev); local
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-io.c120 struct pvr2_stream *sp = bp->stream; local
123 cnt = &sp->i_count;
124 bcnt = &sp->i_bcount;
128 cnt = &sp->q_count;
129 bcnt = &sp->q_bcount;
133 cnt = &sp->r_count;
134 bcnt = &sp->r_bcount;
152 struct pvr2_stream *sp; local
154 sp = bp->stream;
160 spin_lock_irqsave(&sp
169 struct pvr2_stream *sp; local
195 struct pvr2_stream *sp; local
219 struct pvr2_stream *sp; local
247 pvr2_buffer_init(struct pvr2_buffer *bp, struct pvr2_stream *sp, unsigned int id) argument
281 pvr2_stream_buffer_count(struct pvr2_stream *sp, unsigned int cnt) argument
350 pvr2_stream_achieve_buffer_count(struct pvr2_stream *sp) argument
378 pvr2_stream_internal_flush(struct pvr2_stream *sp) argument
398 pvr2_stream_init(struct pvr2_stream *sp) argument
407 pvr2_stream_done(struct pvr2_stream *sp) argument
418 struct pvr2_stream *sp; local
462 struct pvr2_stream *sp; local
470 pvr2_stream_destroy(struct pvr2_stream *sp) argument
478 pvr2_stream_setup(struct pvr2_stream *sp, struct usb_device *dev, int endpoint, unsigned int tolerance) argument
491 pvr2_stream_set_callback(struct pvr2_stream *sp, pvr2_stream_callback func, void *data) argument
506 pvr2_stream_get_stats(struct pvr2_stream *sp, struct pvr2_stream_stats *stats, int zero_counts) argument
529 pvr2_stream_get_buffer_count(struct pvr2_stream *sp) argument
534 pvr2_stream_set_buffer_count(struct pvr2_stream *sp, unsigned int cnt) argument
547 pvr2_stream_get_idle_buffer(struct pvr2_stream *sp) argument
554 pvr2_stream_get_ready_buffer(struct pvr2_stream *sp) argument
561 pvr2_stream_get_buffer(struct pvr2_stream *sp, int id) argument
568 pvr2_stream_get_ready_count(struct pvr2_stream *sp) argument
573 pvr2_stream_kill(struct pvr2_stream *sp) argument
597 struct pvr2_stream *sp; local
634 struct pvr2_stream *sp; local
[all...]
/linux-master/arch/nios2/include/asm/
H A Dentry.h31 stw sp, PT_SP(r24) /* Save user stack before changing */
32 mov sp, r24 variable
35 1 : mov r24, sp
36 addi sp, sp, -PT_REGS_SIZE /* Backup the kernel stack pointer */ variable
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)
87 ldw sp, PT_SP(sp) /* Restore sp last */ variable
91 addi sp, sp, -SWITCH_STACK_SIZE variable
117 addi sp, sp, SWITCH_STACK_SIZE variable
[all...]
/linux-master/arch/csky/abiv2/inc/abi/
H A Dentry.h24 subi sp, 152
25 stw tls, (sp, 0) variable
26 stw lr, (sp, 4) variable
34 stw lr, (sp, 8) variable
37 stw lr, (sp, 12) variable
40 addi lr, sp, 152 variable
45 stw lr, (sp, 16) variable
47 stw a0, (sp, 20) variable
48 stw a0, (sp, 24) variable
49 stw a1, (sp, 2 variable
50 stw a2, (sp, 32) variable
51 stw a3, (sp, 36) variable
53 addi sp, 40 variable
56 addi sp, 40 variable
60 stw lr, (sp, 60) variable
62 stw lr, (sp, 64) variable
64 stw lr, (sp, 68) variable
66 subi sp, 80 variable
70 ldw tls, (sp, 0) variable
71 ldw lr, (sp, 4) variable
72 ldw a0, (sp, 8) variable
74 ldw a0, (sp, 12) variable
77 ldw a0, (sp, 16) variable
82 ldw a0, (sp, 140) variable
84 ldw a0, (sp, 144) variable
86 ldw a0, (sp, 148) variable
90 ldw a0, (sp, 24) variable
91 ldw a1, (sp, 28) variable
92 ldw a2, (sp, 32) variable
93 ldw a3, (sp, 36) variable
95 addi sp, 40 variable
97 addi sp, 40 variable
99 addi sp, 72 variable
101 mfcr sp, ss0 variable
108 stw tls, (sp, 0) variable
109 stw lr, (sp, 4) variable
112 stw lr, (sp, 12) variable
114 addi lr, sp, 152 variable
115 stw lr, (sp, 16) variable
117 stw a0, (sp, 20) variable
118 stw a0, (sp, 24) variable
119 stw a1, (sp, 28) variable
120 stw a2, (sp, 32) variable
121 stw a3, (sp, 36) variable
123 addi sp, 40 variable
126 addi sp, 40 variable
130 stw lr, (sp, 60) variable
132 stw lr, (sp, 64) variable
134 stw lr, (sp, 68) variable
136 subi sp, 80 variable
140 ldw tls, (sp, 0) variable
143 ldw a0, (sp, 140) variable
145 ldw a0, (sp, 144) variable
147 ldw a0, (sp, 148) variable
151 ldw a0, (sp, 24) variable
152 ldw a1, (sp, 28) variable
153 ldw a2, (sp, 32) variable
154 ldw a3, (sp, 36) variable
156 addi sp, 40 variable
158 addi sp, 40 variable
160 addi sp, 72 variable
166 stw lr, (sp, 32) variable
167 stw r16, (sp, 36) variable
168 stw r17, (sp, 40) variable
169 stw r26, (sp, 44) variable
170 stw r27, (sp, 48) variable
171 stw r28, (sp, 52) variable
172 stw r29, (sp, 56) variable
173 stw r30, (sp, 60) variable
175 subi sp, 16 variable
177 stw lr, (sp, 0) variable
179 stw lr, (sp, 4) variable
181 stw lr, (sp, 8) variable
187 ldw lr, (sp, 0) variable
189 ldw lr, (sp, 4) variable
191 ldw lr, (sp, 8) variable
193 addi sp, 16 variable
196 ldw lr, (sp, 32) variable
197 ldw r16, (sp, 36) variable
198 ldw r17, (sp, 40) variable
199 ldw r26, (sp, 44) variable
200 ldw r27, (sp, 48) variable
201 ldw r28, (sp, 52) variable
202 ldw r29, (sp, 56) variable
203 ldw r30, (sp, 60) variable
204 addi sp, 64 variable
[all...]
/linux-master/arch/riscv/kernel/
H A Dmcount-dyn.S30 addi sp, sp, -ABI_SIZE_ON_STACK
32 REG_S a0, ABI_A0(sp)
33 REG_S a1, ABI_A1(sp)
34 REG_S a2, ABI_A2(sp)
35 REG_S a3, ABI_A3(sp)
36 REG_S a4, ABI_A4(sp)
37 REG_S a5, ABI_A5(sp)
38 REG_S a6, ABI_A6(sp)
39 REG_S a7, ABI_A7(sp)
[all...]
/linux-master/arch/loongarch/power/
H A Dsuspend_asm.S17 addi.d sp, sp, -PT_SIZE
18 st.d $r1, sp, PT_R1
19 st.d $r2, sp, PT_R2
20 st.d $r3, sp, PT_R3
21 st.d $r4, sp, PT_R4
22 st.d $r21, sp, PT_R21
23 st.d $r22, sp, PT_R22
24 st.d $r23, sp, PT_R23
25 st.d $r24, sp, PT_R2
[all...]
/linux-master/arch/m68k/include/asm/
H A Dentry.h16 * 0(sp) - d1
17 * 4(sp) - d2
18 * 8(sp) - d3
19 * C(sp) - d4
20 * 10(sp) - d5
21 * 14(sp) - a0
22 * 18(sp) - a1
23 * 1C(sp) - a2
24 * 20(sp) - d0
25 * 24(sp)
68 movel %sp,sw_usp /* save user sp */ variable
103 movel %sp@+,%d0 variable
105 addl %sp@+,%sp /* stkadj */ variable
107 movel %sp,sw_ksp /* save ksp */ variable
[all...]
/linux-master/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-master/arch/mips/fw/lib/
H A Dcall_o32.S39 * called o32 function for sp and ra restoration and this dispatcher has
44 REG_SUBU sp,O32_FRAMESZ
46 REG_S ra,O32_FRAMESZ-1*SZREG(sp)
47 REG_S fp,O32_FRAMESZ-2*SZREG(sp)
48 REG_S gp,O32_FRAMESZ-3*SZREG(sp)
49 REG_S s7,O32_FRAMESZ-4*SZREG(sp)
50 REG_S s6,O32_FRAMESZ-5*SZREG(sp)
51 REG_S s5,O32_FRAMESZ-6*SZREG(sp)
52 REG_S s4,O32_FRAMESZ-7*SZREG(sp)
53 REG_S s3,O32_FRAMESZ-8*SZREG(sp)
[all...]
/linux-master/arch/arm64/kernel/
H A Defi-rt-wrapper.S10 stp x29, x30, [sp, #-112]!
11 mov x29, sp
18 stp x1, x18, [sp, #16]
26 stp x19, x20, [sp, #32]
27 stp x21, x22, [sp, #48]
28 stp x23, x24, [sp, #64]
29 stp x25, x26, [sp, #80]
30 stp x27, x28, [sp, #96]
33 mov sp, x16
34 stp x18, x29, [sp, #
[all...]
/linux-master/arch/arm64/include/asm/
H A Dexec.h12 extern unsigned long arch_align_stack(unsigned long sp);

Completed in 500 milliseconds

1234567891011>>