| /linux/arch/alpha/kernel/ |
| H A D | entry.S | 25 .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/tools/testing/selftests/kvm/lib/riscv/ |
| H A D | handlers.S | 13 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/drivers/crypto/ccp/ |
| H A D | sp-dev.c | 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() 72 if (sp->psp_irq_handler) in sp_irq_handler() 73 sp->psp_irq_handler(irq, sp->psp_irq_data); in sp_irq_handler() 78 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_ccp_irq() argument [all …]
|
| /linux/arch/nios2/include/asm/ |
| H A D | entry.h | 31 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/csky/abiv2/inc/abi/ |
| H A D | entry.h | 24 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/riscv/kernel/probes/ |
| H A D | rethook_trampoline.S | 14 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/m68k/include/asm/ |
| H A D | entry.h | 66 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 D | insnemu.S | 21 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 D | mcount_dyn.S | 30 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 D | mcount-dyn.S | 29 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/csky/abiv1/inc/abi/ |
| H A D | entry.h | 21 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/drivers/misc/ibmasm/ |
| H A D | module.c | 54 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 D | command.c | 16 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/m68k/68000/ |
| H A D | entry.S | 35 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 D | spi-mtk-nor.c | 100 #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/arch/loongarch/power/ |
| H A D | suspend_asm.S | 17 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/arch/riscv/include/asm/ |
| H A D | asm.h | 129 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/mips/alchemy/common/ |
| H A D | sleeper.S | 24 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/sound/pci/emu10k1/ |
| H A D | emu10k1_patch.c | 25 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/csky/abiv2/ |
| H A D | mcount.S | 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) 40 ldw a2, (sp, 8) [all …]
|
| /linux/drivers/gpu/host1x/hw/ |
| H A D | syncpt_hw.c | 16 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 D | entry.S | 52 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/drivers/video/fbdev/ |
| H A D | sunxvr2500.c | 34 static int s3d_get_props(struct s3d_info *sp) in s3d_get_props() argument 36 sp->width = of_getintprop_default(sp->of_node, "width", 0); in s3d_get_props() 37 sp->height = of_getintprop_default(sp->of_node, "height", 0); in s3d_get_props() 38 sp->depth = of_getintprop_default(sp->of_node, "depth", 8); in s3d_get_props() 40 if (!sp->width || !sp->height) { in s3d_get_props() 42 pci_name(sp->pdev)); in s3d_get_props() 73 static int s3d_set_fbinfo(struct s3d_info *sp) in s3d_set_fbinfo() argument 75 struct fb_info *info = sp->info; in s3d_set_fbinfo() 79 info->screen_base = sp->fb_base; in s3d_set_fbinfo() 80 info->screen_size = sp->fb_size; in s3d_set_fbinfo() [all …]
|
| /linux/arch/mips/kernel/ |
| H A D | mcount.S | 23 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/drivers/base/ |
| H A D | bus.c | 62 struct subsys_private *sp = NULL; in bus_to_subsys() local 76 sp = container_of_const(kset, struct subsys_private, subsys); in bus_to_subsys() 77 if (sp->bus == bus) in bus_to_subsys() 80 sp = NULL; in bus_to_subsys() 82 sp = subsys_get(sp); in bus_to_subsys() 84 return sp; in bus_to_subsys() 89 struct subsys_private *sp = bus_to_subsys(bus); in bus_get() local 91 if (sp) in bus_get() 98 struct subsys_private *sp = bus_to_subsys(bus); in bus_put() local 101 subsys_put(sp); in bus_put() [all …]
|