Home
last modified time | relevance | path

Searched full:sp (Results 1 – 25 of 1494) sorted by relevance

12345678910>>...60

/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/drivers/crypto/ccp/
H A Dsp-dev.c24 #include "sp-dev.h"
32 /* List of SPs, SP count, read-write access lock, and access functions
35 * examine the SP list.
43 static void sp_add_device(struct sp_device *sp) in sp_add_device() argument
49 list_add_tail(&sp->entry, &sp_units); in sp_add_device()
54 static void sp_del_device(struct sp_device *sp) in sp_del_device() argument
60 list_del(&sp->entry); in sp_del_device()
67 struct sp_device *sp = data; in sp_irq_handler() local
69 if (sp->ccp_irq_handler) in sp_irq_handler()
70 sp->ccp_irq_handler(irq, sp->ccp_irq_data); in sp_irq_handler()
[all …]
/linux/arch/alpha/kernel/
H A Dentry.S25 .cfi_def_cfa $sp, 48
49 subq $sp, SP_OFF, $sp
51 stq $0, 0($sp)
52 stq $1, 8($sp)
53 stq $2, 16($sp)
54 stq $3, 24($sp)
55 stq $4, 32($sp)
56 stq $28, 144($sp)
64 stq $5, 40($sp)
65 stq $6, 48($sp)
[all …]
/linux/drivers/net/hamradio/
H A D6pack.c136 struct sixpack *sp = timer_container_of(sp, t, tx_t); in sp_xmit_on_air() local
137 int actual, when = sp->slottime; in sp_xmit_on_air()
142 if (((sp->status1 & SIXP_DCD_MASK) == 0) && (random < sp->persistence)) { in sp_xmit_on_air()
143 sp->led_state = 0x70; in sp_xmit_on_air()
144 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_xmit_on_air()
145 sp->tx_enable = 1; in sp_xmit_on_air()
146 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air()
147 sp->xleft -= actual; in sp_xmit_on_air()
148 sp->xhead += actual; in sp_xmit_on_air()
149 sp->led_state = 0x60; in sp_xmit_on_air()
[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/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/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) - orig_d0
[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 …]
/linux/arch/riscv/include/asm/
H A Dasm.h129 REG_S x6, PT_T1(sp)
130 REG_S x7, PT_T2(sp)
131 REG_S x8, PT_S0(sp)
132 REG_S x9, PT_S1(sp)
133 REG_S x10, PT_A0(sp)
134 REG_S x11, PT_A1(sp)
135 REG_S x12, PT_A2(sp)
136 REG_S x13, PT_A3(sp)
137 REG_S x14, PT_A4(sp)
138 REG_S x15, PT_A5(sp)
[all …]
/linux/arch/m68k/68000/
H A Dentry.S35 movel #-ENOSYS,%sp@(PT_OFF_D0)
39 movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/
40 subql #4,%sp
44 addql #4,%sp
47 movel %sp@(PT_OFF_ORIG_D0),%d1
55 1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */
56 subql #4,%sp /* dummy return address */
60 addql #4,%sp
67 pea %sp@
69 addql #4,%sp
[all …]
/linux/drivers/spi/
H A Dspi-mtk-nor.c100 #define CLK_TO_US(sp, clkcnt) DIV_ROUND_UP(clkcnt, sp->spi_freq / 1000000) argument
131 static inline void mtk_nor_rmw(struct mtk_nor *sp, u32 reg, u32 set, u32 clr) in mtk_nor_rmw() argument
133 u32 val = readl(sp->base + reg); in mtk_nor_rmw()
137 writel(val, sp->base + reg); in mtk_nor_rmw()
140 static inline int mtk_nor_cmd_exec(struct mtk_nor *sp, u32 cmd, ulong clk) in mtk_nor_cmd_exec() argument
142 ulong delay = CLK_TO_US(sp, clk); in mtk_nor_cmd_exec()
146 writel(cmd, sp->base + MTK_NOR_REG_CMD); in mtk_nor_cmd_exec()
147 ret = readl_poll_timeout(sp->base + MTK_NOR_REG_CMD, reg, !(reg & cmd), in mtk_nor_cmd_exec()
150 dev_err(sp->dev, "command %u timeout.\n", cmd); in mtk_nor_cmd_exec()
154 static void mtk_nor_reset(struct mtk_nor *sp) in mtk_nor_reset() argument
[all …]
/linux/drivers/misc/ibmasm/
H A Dmodule.c54 struct service_processor *sp; in ibmasm_init_one() local
67 sp = kzalloc(sizeof(struct service_processor), GFP_KERNEL); in ibmasm_init_one()
68 if (sp == NULL) { in ibmasm_init_one()
74 spin_lock_init(&sp->lock); in ibmasm_init_one()
75 INIT_LIST_HEAD(&sp->command_queue); in ibmasm_init_one()
77 pci_set_drvdata(pdev, (void *)sp); in ibmasm_init_one()
78 sp->dev = &pdev->dev; in ibmasm_init_one()
79 sp->number = pdev->bus->number; in ibmasm_init_one()
80 snprintf(sp->dirname, IBMASM_NAME_SIZE, "%d", sp->number); in ibmasm_init_one()
81 snprintf(sp->devname, IBMASM_NAME_SIZE, "%s%d", DRIVER_NAME, sp->number); in ibmasm_init_one()
[all …]
H A Dcommand.c16 static void exec_next_command(struct service_processor *sp);
20 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size) in ibmasm_new_command() argument
40 cmd->lock = &sp->lock; in ibmasm_new_command()
63 static void enqueue_command(struct service_processor *sp, struct command *cmd) in enqueue_command() argument
65 list_add_tail(&cmd->queue_node, &sp->command_queue); in enqueue_command()
68 static struct command *dequeue_command(struct service_processor *sp) in dequeue_command() argument
73 if (list_empty(&sp->command_queue)) in dequeue_command()
76 next = sp->command_queue.next; in dequeue_command()
83 static inline void do_exec_command(struct service_processor *sp) in do_exec_command() argument
89 if (ibmasm_send_i2o_message(sp)) { in do_exec_command()
[all …]
/linux/arch/csky/abiv2/
H A Dmcount.S16 * current sp => 0:+-------+
28 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)
[all …]
/linux/arch/sparc/include/asm/
H A Dttable.h30 add %sp, PTREGS_OFF, %o0; \
40 add %sp, PTREGS_OFF, %o0; \
49 add %sp, PTREGS_OFF, %o0; \
69 add %sp, PTREGS_OFF, %o0; \
78 add %sp, PTREGS_OFF, %o0; \
88 add %sp, PTREGS_OFF, %o0; \
140 add %sp, PTREGS_OFF, %o1; \
153 add %sp, PTREGS_OFF, %o1; \
165 add %sp, PTREGS_OFF, %o1; \
178 ldx [%sp + PTREGS_OFF + PT_V9_TNPC], %l1; \
[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/csky/kernel/
H A Dentry.S27 ldw a0, (sp, LSAVE_A0)
28 ldw a1, (sp, LSAVE_A1)
29 ldw a2, (sp, LSAVE_A2)
30 ldw a3, (sp, LSAVE_A3)
32 ldw r6, (sp, LSAVE_A4)
33 ldw r7, (sp, LSAVE_A5)
45 mov a0, sp
65 mov r9, sp
74 subi sp, 8
75 stw r5, (sp, 0x4)
[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/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/drivers/gpu/host1x/
H A Dsyncpt.c62 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc() local
71 for (i = 0; i < host->info->nb_pts && kref_read(&sp->ref); i++, sp++) in host1x_syncpt_alloc()
78 sp->base = host1x_syncpt_base_request(host); in host1x_syncpt_alloc()
79 if (!sp->base) in host1x_syncpt_alloc()
83 full_name = kasprintf(GFP_KERNEL, "%u-%s", sp->id, name); in host1x_syncpt_alloc()
87 sp->name = full_name; in host1x_syncpt_alloc()
90 sp->client_managed = true; in host1x_syncpt_alloc()
92 sp->client_managed = false; in host1x_syncpt_alloc()
94 kref_init(&sp->ref); in host1x_syncpt_alloc()
97 return sp; in host1x_syncpt_alloc()
[all …]
/linux/arch/m68k/fpsp040/
H A Dskeleton.S67 fsave -(%sp)
69 frestore (%sp)+
74 movel %sp,%sp@- | stack frame pointer argument
76 addql #4,%sp
104 fsave -(%sp)
105 cmpib #VER_40,(%sp) |test version number
107 fmovel %fpsr,-(%sp)
110 btstb #snan_bit,2(%sp) |test for snan
112 addl #4,%sp
113 frestore (%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 …]

12345678910>>...60