/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/arch/mips/lib/ |
H A D | genex.S | 24 LONG_S $1, PT_R1(sp) 33 LONG_S $8, PT_R8(sp) 34 LONG_S $9, PT_R9(sp) 36 LONG_S $10, PT_R10(sp) 37 LONG_S $11, PT_R11(sp) 38 LONG_S $12, PT_R12(sp) 40 LONG_S v1, PT_HI(sp) 43 LONG_S $13, PT_R13(sp) 44 LONG_S $14, PT_R14(sp) 45 LONG_S $15, PT_R15(sp) [all …]
|
/openbmc/u-boot/arch/riscv/cpu/ |
H A D | mtrap.S | 33 addi sp, sp, -32 * REGBYTES 34 SREG x1, 1 * REGBYTES(sp) 35 SREG x2, 2 * REGBYTES(sp) 36 SREG x3, 3 * REGBYTES(sp) 37 SREG x4, 4 * REGBYTES(sp) 38 SREG x5, 5 * REGBYTES(sp) 39 SREG x6, 6 * REGBYTES(sp) 40 SREG x7, 7 * REGBYTES(sp) 41 SREG x8, 8 * REGBYTES(sp) 42 SREG x9, 9 * REGBYTES(sp) [all …]
|
/openbmc/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.c | 120 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 …]
|
/openbmc/u-boot/arch/nios2/cpu/ |
H A D | exceptions.S | 23 addi sp, sp, -(33*4) 24 stw r0, 0(sp) 25 stw r1, 4(sp) 26 stw r2, 8(sp) 27 stw r3, 12(sp) 28 stw r4, 16(sp) 29 stw r5, 20(sp) 30 stw r6, 24(sp) 31 stw r7, 28(sp) 32 stw r8, 32(sp) [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | sp-dev.c | 23 #include "sp-dev.h" 31 /* List of SPs, SP count, read-write access lock, and access functions 34 * examine the SP list. 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() [all …]
|
/openbmc/linux/drivers/net/hamradio/ |
H A D | 6pack.c | 142 struct sixpack *sp = from_timer(sp, t, tx_t); in sp_xmit_on_air() local 143 int actual, when = sp->slottime; in sp_xmit_on_air() 148 if (((sp->status1 & SIXP_DCD_MASK) == 0) && (random < sp->persistence)) { in sp_xmit_on_air() 149 sp->led_state = 0x70; in sp_xmit_on_air() 150 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_xmit_on_air() 151 sp->tx_enable = 1; in sp_xmit_on_air() 152 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air() 153 sp->xleft -= actual; in sp_xmit_on_air() 154 sp->xhead += actual; in sp_xmit_on_air() 155 sp->led_state = 0x60; in sp_xmit_on_air() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | entry.h | 16 * 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | asm.h | 109 REG_S x6, PT_T1(sp) 110 REG_S x7, PT_T2(sp) 111 REG_S x8, PT_S0(sp) 112 REG_S x9, PT_S1(sp) 113 REG_S x10, PT_A0(sp) 114 REG_S x11, PT_A1(sp) 115 REG_S x12, PT_A2(sp) 116 REG_S x13, PT_A3(sp) 117 REG_S x14, PT_A4(sp) 118 REG_S x15, PT_A5(sp) [all …]
|
/openbmc/linux/arch/arm64/kernel/probes/ |
H A D | kprobes_trampoline.S | 13 stp x0, x1, [sp, #S_X0] 14 stp x2, x3, [sp, #S_X2] 15 stp x4, x5, [sp, #S_X4] 16 stp x6, x7, [sp, #S_X6] 17 stp x8, x9, [sp, #S_X8] 18 stp x10, x11, [sp, #S_X10] 19 stp x12, x13, [sp, #S_X12] 20 stp x14, x15, [sp, #S_X14] 21 stp x16, x17, [sp, #S_X16] 22 stp x18, x19, [sp, #S_X18] [all …]
|
/openbmc/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 37 if (snd_BUG_ON(!sp || !hdr)) in snd_emu10k1_sample_new() 40 if (sp->v.size == 0) { in snd_emu10k1_sample_new() 42 "emu: rom font for sample %d\n", sp->v.sample); in snd_emu10k1_sample_new() 47 sp->v.end -= sp->v.start; in snd_emu10k1_sample_new() 48 sp->v.loopstart -= sp->v.start; in snd_emu10k1_sample_new() 49 sp->v.loopend -= sp->v.start; in snd_emu10k1_sample_new() 50 sp->v.start = 0; in snd_emu10k1_sample_new() 53 sampleend = sp->v.end; in snd_emu10k1_sample_new() 54 if (sampleend > sp->v.size) in snd_emu10k1_sample_new() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-ath79.c | 49 static inline u32 ath79_spi_rr(struct ath79_spi *sp, unsigned int reg) in ath79_spi_rr() argument 51 return ioread32(sp->base + reg); in ath79_spi_rr() 54 static inline void ath79_spi_wr(struct ath79_spi *sp, unsigned int reg, u32 val) in ath79_spi_wr() argument 56 iowrite32(val, sp->base + reg); in ath79_spi_wr() 64 static inline void ath79_spi_delay(struct ath79_spi *sp, unsigned int nsecs) in ath79_spi_delay() argument 66 if (nsecs > sp->rrw_delay) in ath79_spi_delay() 67 ndelay(nsecs - sp->rrw_delay); in ath79_spi_delay() 72 struct ath79_spi *sp = ath79_spidev_to_sp(spi); in ath79_spi_chipselect() local 77 sp->ioc_base |= cs_bit; in ath79_spi_chipselect() 79 sp->ioc_base &= ~cs_bit; in ath79_spi_chipselect() [all …]
|
/openbmc/qemu/tests/tcg/alpha/system/ |
H A D | boot.S | 49 ldah $sp, $stack_end($gp) !gprelhigh 50 lda $sp, $stack_end($sp) !gprellow 109 .frame $sp, 0, $26, 0 146 .frame $sp, 0, $26, 0 168 .frame $sp, 0, $26, 0 213 .frame $sp, 48, $23 214 subq $sp, 48, $sp 215 stq $0, 0($sp) 216 stq $1, 8($sp) 217 stq $2, 16($sp) [all …]
|
/openbmc/linux/arch/m68k/68000/ |
H A D | entry.S | 38 movel #-ENOSYS,%sp@(PT_OFF_D0) 42 movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/ 43 subql #4,%sp 47 addql #4,%sp 50 movel %sp@(PT_OFF_ORIG_D0),%d1 58 1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */ 59 subql #4,%sp /* dummy return address */ 63 addql #4,%sp 70 pea %sp@ 72 addql #4,%sp [all …]
|
/openbmc/linux/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.c | 53 #define TX_BUFFS_AVAIL(sp) ((sp->tx_old <= sp->tx_new) ? \ argument 54 sp->tx_old + (SEEQ_TX_BUFFERS - 1) - sp->tx_new : \ 55 sp->tx_old - sp->tx_new - 1) 57 #define VIRT_TO_DMA(sp, v) ((sp)->srings_dma + \ argument 59 (unsigned long)((sp)->rx_desc))) 115 struct sgiseeq_private *sp = netdev_priv(dev); in dma_sync_desc_cpu() local 117 dma_sync_single_for_cpu(dev->dev.parent, VIRT_TO_DMA(sp, addr), in dma_sync_desc_cpu() 123 struct sgiseeq_private *sp = netdev_priv(dev); in dma_sync_desc_dev() local 125 dma_sync_single_for_device(dev->dev.parent, VIRT_TO_DMA(sp, addr), in dma_sync_desc_dev() 146 static inline void seeq_go(struct sgiseeq_private *sp, in seeq_go() argument [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/csky/abiv2/ |
H A D | mcount.S | 16 * 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 …]
|