/Linux-v5.10/arch/alpha/kernel/ |
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-v5.10/drivers/media/usb/pvrusb2/ |
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 …]
|
/Linux-v5.10/drivers/net/hamradio/ |
D | 6pack.c | 141 struct sixpack *sp = from_timer(sp, t, tx_t); in sp_xmit_on_air() local 142 int actual, when = sp->slottime; in sp_xmit_on_air() 147 if (((sp->status1 & SIXP_DCD_MASK) == 0) && (random < sp->persistence)) { in sp_xmit_on_air() 148 sp->led_state = 0x70; in sp_xmit_on_air() 149 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_xmit_on_air() 150 sp->tx_enable = 1; in sp_xmit_on_air() 151 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air() 152 sp->xleft -= actual; in sp_xmit_on_air() 153 sp->xhead += actual; in sp_xmit_on_air() 154 sp->led_state = 0x60; in sp_xmit_on_air() [all …]
|
/Linux-v5.10/arch/riscv/kernel/ |
D | mcount-dyn.S | 18 addi sp, sp, -48 19 sd s0, 32(sp) 20 sd ra, 40(sp) 21 addi s0, sp, 48 22 sd t0, 24(sp) 23 sd t1, 16(sp) 25 sd t2, 8(sp) 28 addi sp, sp, -16 29 sd s0, 0(sp) 30 sd ra, 8(sp) [all …]
|
D | entry.S | 31 REG_S sp, TASK_TI_KERNEL_SP(tp) 33 REG_S sp, TASK_TI_USER_SP(tp) 34 REG_L sp, TASK_TI_KERNEL_SP(tp) 35 addi sp, sp, -(PT_SIZE_ON_STACK) 36 REG_S x1, PT_RA(sp) 37 REG_S x3, PT_GP(sp) 38 REG_S x5, PT_T0(sp) 39 REG_S x6, PT_T1(sp) 40 REG_S x7, PT_T2(sp) 41 REG_S x8, PT_S0(sp) [all …]
|
/Linux-v5.10/drivers/crypto/ccp/ |
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-v5.10/arch/nios2/include/asm/ |
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-v5.10/arch/csky/abiv2/inc/abi/ |
D | entry.h | 25 subi sp, 152 26 stw tls, (sp, 0) 27 stw lr, (sp, 4) 32 stw lr, (sp, 8) 35 stw lr, (sp, 12) 38 addi lr, sp, 152 43 stw lr, (sp, 16) 45 stw a0, (sp, 20) 46 stw a0, (sp, 24) 47 stw a1, (sp, 28) [all …]
|
/Linux-v5.10/arch/m68k/include/asm/ |
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-v5.10/arch/nios2/kernel/ |
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-v5.10/sound/pci/emu10k1/ |
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 …]
|
/Linux-v5.10/drivers/misc/ibmasm/ |
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 …]
|
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-v5.10/arch/csky/abiv1/inc/abi/ |
D | entry.h | 22 mtcr sp, usp 23 mfcr sp, ss0 27 mtcr sp, ss0 28 mfcr sp, usp 38 subi sp, 32 39 subi sp, 32 40 subi sp, 16 41 stw r13, (sp, 12) 43 stw lr, (sp, 4) 48 stw lr, (sp, 8) [all …]
|
/Linux-v5.10/arch/m68k/68000/ |
D | entry.S | 40 movel #-ENOSYS,%sp@(PT_OFF_D0) 44 movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/ 45 subql #4,%sp 49 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 */ 65 addql #4,%sp 72 pea %sp@ 74 addql #4,%sp [all …]
|
/Linux-v5.10/drivers/spi/ |
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 …]
|
D | spi-mtk-nor.c | 96 #define CLK_TO_US(sp, clkcnt) DIV_ROUND_UP(clkcnt, sp->spi_freq / 1000000) argument 113 static inline void mtk_nor_rmw(struct mtk_nor *sp, u32 reg, u32 set, u32 clr) in mtk_nor_rmw() argument 115 u32 val = readl(sp->base + reg); in mtk_nor_rmw() 119 writel(val, sp->base + reg); in mtk_nor_rmw() 122 static inline int mtk_nor_cmd_exec(struct mtk_nor *sp, u32 cmd, ulong clk) in mtk_nor_cmd_exec() argument 124 ulong delay = CLK_TO_US(sp, clk); in mtk_nor_cmd_exec() 128 writel(cmd, sp->base + MTK_NOR_REG_CMD); in mtk_nor_cmd_exec() 129 ret = readl_poll_timeout(sp->base + MTK_NOR_REG_CMD, reg, !(reg & cmd), in mtk_nor_cmd_exec() 132 dev_err(sp->dev, "command %u timeout.\n", cmd); in mtk_nor_cmd_exec() 136 static void mtk_nor_set_addr(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_set_addr() argument [all …]
|
/Linux-v5.10/drivers/net/ethernet/seeq/ |
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 …]
|
/Linux-v5.10/drivers/gpu/host1x/ |
D | syncpt.c | 49 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc() local 55 for (i = 0; i < host->info->nb_pts && sp->name; i++, sp++) in host1x_syncpt_alloc() 62 sp->base = host1x_syncpt_base_request(host); in host1x_syncpt_alloc() 63 if (!sp->base) in host1x_syncpt_alloc() 67 name = kasprintf(GFP_KERNEL, "%02u-%s", sp->id, in host1x_syncpt_alloc() 72 sp->client = client; in host1x_syncpt_alloc() 73 sp->name = name; in host1x_syncpt_alloc() 76 sp->client_managed = true; in host1x_syncpt_alloc() 78 sp->client_managed = false; in host1x_syncpt_alloc() 81 return sp; in host1x_syncpt_alloc() [all …]
|
/Linux-v5.10/sound/isa/sb/ |
D | emu8000_patch.c | 136 snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu8000_sample_new() argument 148 if (snd_BUG_ON(!sp)) in snd_emu8000_sample_new() 151 if (sp->v.size == 0) in snd_emu8000_sample_new() 155 if (sp->v.loopstart > sp->v.loopend) in snd_emu8000_sample_new() 156 swap(sp->v.loopstart, sp->v.loopend); in snd_emu8000_sample_new() 159 truesize = sp->v.size; in snd_emu8000_sample_new() 160 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu8000_sample_new() 161 truesize += sp->v.loopend - sp->v.loopstart; in snd_emu8000_sample_new() 162 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) in snd_emu8000_sample_new() 165 sp->block = snd_util_mem_alloc(hdr, truesize * 2); in snd_emu8000_sample_new() [all …]
|
/Linux-v5.10/arch/arm64/kernel/probes/ |
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 …]
|
/Linux-v5.10/arch/arm64/kernel/ |
D | entry-ftrace.S | 38 sub sp, sp, #(S_FRAME_SIZE + 16) 41 stp x0, x1, [sp, #S_X0] 42 stp x2, x3, [sp, #S_X2] 43 stp x4, x5, [sp, #S_X4] 44 stp x6, x7, [sp, #S_X6] 45 stp x8, x9, [sp, #S_X8] 49 stp x10, x11, [sp, #S_X10] 50 stp x12, x13, [sp, #S_X12] 51 stp x14, x15, [sp, #S_X14] 52 stp x16, x17, [sp, #S_X16] [all …]
|
/Linux-v5.10/arch/mips/alchemy/common/ |
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-v5.10/drivers/gpu/host1x/hw/ |
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-v5.10/arch/csky/abiv2/ |
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 …]
|