/linux/drivers/net/hamradio/ |
H A D | 6pack.c | 136 struct sixpack *sp = from_timer(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/alpha/kernel/ |
H A D | entry.S | 29 .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) 69 stq $6, 48($sp) [all …]
|
/linux/drivers/crypto/ccp/ |
H A D | sp-dev.c | 42 static void sp_add_device(struct sp_device *sp) in sp_add_device() argument 48 list_add_tail(&sp->entry, &sp_units); in sp_add_device() 53 static void sp_del_device(struct sp_device *sp) in sp_del_device() argument 59 list_del(&sp->entry); in sp_del_device() 66 struct sp_device *sp = data; in sp_irq_handler() local 68 if (sp->ccp_irq_handler) in sp_irq_handler() 69 sp->ccp_irq_handler(irq, sp->ccp_irq_data); in sp_irq_handler() 71 if (sp->psp_irq_handler) in sp_irq_handler() 72 sp->psp_irq_handler(irq, sp->psp_irq_data); in sp_irq_handler() 77 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_ccp_irq() argument [all …]
|
/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | handlers.S | 13 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) 22 sd x9, 64(sp) [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 | 30 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) 40 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/arch/riscv/include/asm/ |
H A D | asm.h | 128 REG_S x6, PT_T1(sp) 129 REG_S x7, PT_T2(sp) 130 REG_S x8, PT_S0(sp) 131 REG_S x9, PT_S1(sp) 132 REG_S x10, PT_A0(sp) 133 REG_S x11, PT_A1(sp) 134 REG_S x12, PT_A2(sp) 135 REG_S x13, PT_A3(sp) 136 REG_S x14, PT_A4(sp) 137 REG_S x15, PT_A5(sp) [all …]
|
/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | handlers.S | 3 add sp, sp, #-16 * 17 5 stp x0, x1, [sp, #16 * 0] 6 stp x2, x3, [sp, #16 * 1] 7 stp x4, x5, [sp, #16 * 2] 8 stp x6, x7, [sp, #16 * 3] 9 stp x8, x9, [sp, #16 * 4] 10 stp x10, x11, [sp, #16 * 5] 11 stp x12, x13, [sp, #16 * 6] 12 stp x14, x15, [sp, #16 * 7] 13 stp x16, x17, [sp, #16 * 8] [all …]
|
/linux/drivers/gpu/host1x/ |
H A D | syncpt.c | 62 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/arm64/kernel/ |
H A D | entry-ftrace.S | 65 mov x10, sp 68 sub sp, sp, #(FREGS_SIZE + 32) 71 stp x0, x1, [sp, #FREGS_X0] 72 stp x2, x3, [sp, #FREGS_X2] 73 stp x4, x5, [sp, #FREGS_X4] 74 stp x6, x7, [sp, #FREGS_X6] 75 str x8, [sp, #FREGS_X8] 78 str xzr, [sp, #FREGS_DIRECT_TRAMP] 82 str x29, [sp, #FREGS_FP] 83 str x9, [sp, #FREGS_LR] [all …]
|
/linux/arch/loongarch/power/ |
H A D | suspend_asm.S | 17 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_R24 26 st.d $r25, sp, PT_R25 [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 …]
|