Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 1045) sorted by relevance

12345678910>>...42

/Linux-v4.19/arch/alpha/kernel/
Dentry.S29 .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-v4.19/drivers/net/hamradio/
D6pack.c141 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-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-io.c130 struct pvr2_stream *sp = bp->stream; in pvr2_buffer_remove() local
133 cnt = &sp->i_count; in pvr2_buffer_remove()
134 bcnt = &sp->i_bcount; in pvr2_buffer_remove()
138 cnt = &sp->q_count; in pvr2_buffer_remove()
139 bcnt = &sp->q_bcount; in pvr2_buffer_remove()
143 cnt = &sp->r_count; in pvr2_buffer_remove()
144 bcnt = &sp->r_bcount; in pvr2_buffer_remove()
162 struct pvr2_stream *sp; in pvr2_buffer_set_none() local
164 sp = bp->stream; in pvr2_buffer_set_none()
170 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_none()
[all …]
/Linux-v4.19/arch/riscv/kernel/
Dmcount-dyn.S18 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 …]
/Linux-v4.19/drivers/crypto/ccp/
Dsp-dev.c45 static void sp_add_device(struct sp_device *sp) in sp_add_device() argument
51 list_add_tail(&sp->entry, &sp_units); in sp_add_device()
56 static void sp_del_device(struct sp_device *sp) in sp_del_device() argument
62 list_del(&sp->entry); in sp_del_device()
69 struct sp_device *sp = data; in sp_irq_handler() local
71 if (sp->ccp_irq_handler) in sp_irq_handler()
72 sp->ccp_irq_handler(irq, sp->ccp_irq_data); in sp_irq_handler()
74 if (sp->psp_irq_handler) in sp_irq_handler()
75 sp->psp_irq_handler(irq, sp->psp_irq_data); in sp_irq_handler()
80 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_ccp_irq() argument
[all …]
/Linux-v4.19/arch/nios2/include/asm/
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-v4.19/kernel/rcu/
Dsrcutree.c55 static void srcu_reschedule(struct srcu_struct *sp, unsigned long delay);
91 static void init_srcu_struct_nodes(struct srcu_struct *sp, bool is_static) in init_srcu_struct_nodes() argument
102 sp->level[0] = &sp->node[0]; in init_srcu_struct_nodes()
104 sp->level[i] = sp->level[i - 1] + num_rcu_lvl[i - 1]; in init_srcu_struct_nodes()
108 rcu_for_each_node_breadth_first(sp, snp) { in init_srcu_struct_nodes()
119 if (snp == &sp->node[0]) { in init_srcu_struct_nodes()
126 if (snp == sp->level[level + 1]) in init_srcu_struct_nodes()
128 snp->srcu_parent = sp->level[level - 1] + in init_srcu_struct_nodes()
129 (snp - sp->level[level]) / in init_srcu_struct_nodes()
140 snp_first = sp->level[level]; in init_srcu_struct_nodes()
[all …]
Dsrcutiny.c38 static int init_srcu_struct_fields(struct srcu_struct *sp) in init_srcu_struct_fields() argument
40 sp->srcu_lock_nesting[0] = 0; in init_srcu_struct_fields()
41 sp->srcu_lock_nesting[1] = 0; in init_srcu_struct_fields()
42 init_swait_queue_head(&sp->srcu_wq); in init_srcu_struct_fields()
43 sp->srcu_cb_head = NULL; in init_srcu_struct_fields()
44 sp->srcu_cb_tail = &sp->srcu_cb_head; in init_srcu_struct_fields()
45 sp->srcu_gp_running = false; in init_srcu_struct_fields()
46 sp->srcu_gp_waiting = false; in init_srcu_struct_fields()
47 sp->srcu_idx = 0; in init_srcu_struct_fields()
48 INIT_WORK(&sp->srcu_work, srcu_drive_gp); in init_srcu_struct_fields()
[all …]
/Linux-v4.19/arch/m68k/include/asm/
Dentry.h66 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-v4.19/arch/nios2/kernel/
Dinsnemu.S33 ldw r1, PT_R1(sp) // Restore registers
34 ldw r2, PT_R2(sp)
35 ldw r3, PT_R3(sp)
36 ldw r4, PT_R4(sp)
37 ldw r5, PT_R5(sp)
38 ldw r6, PT_R6(sp)
39 ldw r7, PT_R7(sp)
40 ldw r8, PT_R8(sp)
41 ldw r9, PT_R9(sp)
42 ldw r10, PT_R10(sp)
[all …]
/Linux-v4.19/sound/pci/emu10k1/
Demu10k1_patch.c38 snd_emu10k1_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu10k1_sample_new() argument
49 if (snd_BUG_ON(!sp || !hdr)) in snd_emu10k1_sample_new()
52 if (sp->v.size == 0) { in snd_emu10k1_sample_new()
54 "emu: rom font for sample %d\n", sp->v.sample); in snd_emu10k1_sample_new()
59 sp->v.end -= sp->v.start; in snd_emu10k1_sample_new()
60 sp->v.loopstart -= sp->v.start; in snd_emu10k1_sample_new()
61 sp->v.loopend -= sp->v.start; in snd_emu10k1_sample_new()
62 sp->v.start = 0; in snd_emu10k1_sample_new()
65 sampleend = sp->v.end; in snd_emu10k1_sample_new()
66 if (sampleend > sp->v.size) in snd_emu10k1_sample_new()
[all …]
/Linux-v4.19/include/linux/
Dsrcu.h41 int __init_srcu_struct(struct srcu_struct *sp, const char *name,
44 #define init_srcu_struct(sp) \ argument
48 __init_srcu_struct((sp), #sp, &__srcu_key); \
54 int init_srcu_struct(struct srcu_struct *sp);
70 void call_srcu(struct srcu_struct *sp, struct rcu_head *head,
72 void _cleanup_srcu_struct(struct srcu_struct *sp, bool quiesced);
73 int __srcu_read_lock(struct srcu_struct *sp) __acquires(sp);
74 void __srcu_read_unlock(struct srcu_struct *sp, int idx) __releases(sp);
75 void synchronize_srcu(struct srcu_struct *sp);
84 static inline void cleanup_srcu_struct(struct srcu_struct *sp) in cleanup_srcu_struct() argument
[all …]
/Linux-v4.19/drivers/misc/ibmasm/
Dmodule.c68 struct service_processor *sp; in ibmasm_init_one() local
81 sp = kzalloc(sizeof(struct service_processor), GFP_KERNEL); in ibmasm_init_one()
82 if (sp == NULL) { in ibmasm_init_one()
88 spin_lock_init(&sp->lock); in ibmasm_init_one()
89 INIT_LIST_HEAD(&sp->command_queue); in ibmasm_init_one()
91 pci_set_drvdata(pdev, (void *)sp); in ibmasm_init_one()
92 sp->dev = &pdev->dev; in ibmasm_init_one()
93 sp->number = pdev->bus->number; in ibmasm_init_one()
94 snprintf(sp->dirname, IBMASM_NAME_SIZE, "%d", sp->number); in ibmasm_init_one()
95 snprintf(sp->devname, IBMASM_NAME_SIZE, "%s%d", DRIVER_NAME, sp->number); in ibmasm_init_one()
[all …]
Dcommand.c30 static void exec_next_command(struct service_processor *sp);
34 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size) in ibmasm_new_command() argument
54 cmd->lock = &sp->lock; in ibmasm_new_command()
77 static void enqueue_command(struct service_processor *sp, struct command *cmd) in enqueue_command() argument
79 list_add_tail(&cmd->queue_node, &sp->command_queue); in enqueue_command()
82 static struct command *dequeue_command(struct service_processor *sp) in dequeue_command() argument
87 if (list_empty(&sp->command_queue)) in dequeue_command()
90 next = sp->command_queue.next; in dequeue_command()
97 static inline void do_exec_command(struct service_processor *sp) in do_exec_command() argument
103 if (ibmasm_send_i2o_message(sp)) { in do_exec_command()
[all …]
/Linux-v4.19/arch/m68k/68000/
Dentry.S40 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-v4.19/drivers/spi/
Dspi-ath79.c45 static inline u32 ath79_spi_rr(struct ath79_spi *sp, unsigned int reg) in ath79_spi_rr() argument
47 return ioread32(sp->base + reg); in ath79_spi_rr()
50 static inline void ath79_spi_wr(struct ath79_spi *sp, unsigned int reg, u32 val) in ath79_spi_wr() argument
52 iowrite32(val, sp->base + reg); in ath79_spi_wr()
60 static inline void ath79_spi_delay(struct ath79_spi *sp, unsigned int nsecs) in ath79_spi_delay() argument
62 if (nsecs > sp->rrw_delay) in ath79_spi_delay()
63 ndelay(nsecs - sp->rrw_delay); in ath79_spi_delay()
68 struct ath79_spi *sp = ath79_spidev_to_sp(spi); in ath79_spi_chipselect() local
74 sp->ioc_base |= AR71XX_SPI_IOC_CLK; in ath79_spi_chipselect()
76 sp->ioc_base &= ~AR71XX_SPI_IOC_CLK; in ath79_spi_chipselect()
[all …]
Dspi-sh-sci.c37 #define SCSPTR(sp) (sp->membase + 0x1c) argument
43 static inline void setbits(struct sh_sci_spi *sp, int bits, int on) in setbits() argument
54 sp->val |= bits; in setbits()
56 sp->val &= ~bits; in setbits()
58 iowrite8(sp->val, SCSPTR(sp)); in setbits()
73 struct sh_sci_spi *sp = spi_master_get_devdata(dev->master); in getmiso() local
75 return (ioread8(SCSPTR(sp)) & PIN_RXD) ? 1 : 0; in getmiso()
112 struct sh_sci_spi *sp = spi_master_get_devdata(dev->master); in sh_sci_spi_chipselect() local
114 if (sp->info->chip_select) in sh_sci_spi_chipselect()
115 (sp->info->chip_select)(sp->info, dev->chip_select, value); in sh_sci_spi_chipselect()
[all …]
/Linux-v4.19/drivers/gpu/host1x/
Dsyncpt.c60 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc() local
66 for (i = 0; i < host->info->nb_pts && sp->name; i++, sp++) in host1x_syncpt_alloc()
73 sp->base = host1x_syncpt_base_request(host); in host1x_syncpt_alloc()
74 if (!sp->base) in host1x_syncpt_alloc()
78 name = kasprintf(GFP_KERNEL, "%02u-%s", sp->id, in host1x_syncpt_alloc()
83 sp->client = client; in host1x_syncpt_alloc()
84 sp->name = name; in host1x_syncpt_alloc()
87 sp->client_managed = true; in host1x_syncpt_alloc()
89 sp->client_managed = false; in host1x_syncpt_alloc()
92 return sp; in host1x_syncpt_alloc()
[all …]
/Linux-v4.19/drivers/net/ethernet/seeq/
Dsgiseeq.c52 #define TX_BUFFS_AVAIL(sp) ((sp->tx_old <= sp->tx_new) ? \ argument
53 sp->tx_old + (SEEQ_TX_BUFFERS - 1) - sp->tx_new : \
54 sp->tx_old - sp->tx_new - 1)
56 #define VIRT_TO_DMA(sp, v) ((sp)->srings_dma + \ argument
58 (unsigned long)((sp)->rx_desc)))
141 static inline void seeq_go(struct sgiseeq_private *sp, in seeq_go() argument
145 sregs->rstat = sp->mode | RSTAT_GO_BITS; in seeq_go()
151 struct sgiseeq_private *sp = netdev_priv(dev); in __sgiseeq_set_mac_address() local
152 struct sgiseeq_regs *sregs = sp->sregs; in __sgiseeq_set_mac_address()
162 struct sgiseeq_private *sp = netdev_priv(dev); in sgiseeq_set_mac_address() local
[all …]
/Linux-v4.19/sound/isa/sb/
Demu8000_patch.c149 snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu8000_sample_new() argument
161 if (snd_BUG_ON(!sp)) in snd_emu8000_sample_new()
164 if (sp->v.size == 0) in snd_emu8000_sample_new()
168 if (sp->v.loopstart > sp->v.loopend) in snd_emu8000_sample_new()
169 swap(sp->v.loopstart, sp->v.loopend); in snd_emu8000_sample_new()
172 truesize = sp->v.size; in snd_emu8000_sample_new()
173 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu8000_sample_new()
174 truesize += sp->v.loopend - sp->v.loopstart; in snd_emu8000_sample_new()
175 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) in snd_emu8000_sample_new()
178 sp->block = snd_util_mem_alloc(hdr, truesize * 2); in snd_emu8000_sample_new()
[all …]
/Linux-v4.19/arch/arm64/kernel/probes/
Dkprobes_trampoline.S13 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-v4.19/drivers/gpu/host1x/hw/
Dsyncpt_hw.c27 static void syncpt_restore(struct host1x_syncpt *sp) in syncpt_restore() argument
29 u32 min = host1x_syncpt_read_min(sp); in syncpt_restore()
30 struct host1x *host = sp->host; in syncpt_restore()
32 host1x_sync_writel(host, min, HOST1X_SYNC_SYNCPT(sp->id)); in syncpt_restore()
38 static void syncpt_restore_wait_base(struct host1x_syncpt *sp) in syncpt_restore_wait_base() argument
40 struct host1x *host = sp->host; in syncpt_restore_wait_base()
42 host1x_sync_writel(host, sp->base_val, in syncpt_restore_wait_base()
43 HOST1X_SYNC_SYNCPT_BASE(sp->id)); in syncpt_restore_wait_base()
49 static void syncpt_read_wait_base(struct host1x_syncpt *sp) in syncpt_read_wait_base() argument
51 struct host1x *host = sp->host; in syncpt_read_wait_base()
[all …]
/Linux-v4.19/arch/mips/alchemy/common/
Dsleeper.S28 subu sp, PT_SIZE
29 sw $1, PT_R1(sp)
30 sw $2, PT_R2(sp)
31 sw $3, PT_R3(sp)
32 sw $4, PT_R4(sp)
33 sw $5, PT_R5(sp)
34 sw $6, PT_R6(sp)
35 sw $7, PT_R7(sp)
36 sw $16, PT_R16(sp)
37 sw $17, PT_R17(sp)
[all …]
/Linux-v4.19/drivers/video/fbdev/
Dsunxvr2500.c33 static int s3d_get_props(struct s3d_info *sp) in s3d_get_props() argument
35 sp->width = of_getintprop_default(sp->of_node, "width", 0); in s3d_get_props()
36 sp->height = of_getintprop_default(sp->of_node, "height", 0); in s3d_get_props()
37 sp->depth = of_getintprop_default(sp->of_node, "depth", 8); in s3d_get_props()
39 if (!sp->width || !sp->height) { in s3d_get_props()
41 pci_name(sp->pdev)); in s3d_get_props()
74 static int s3d_set_fbinfo(struct s3d_info *sp) in s3d_set_fbinfo() argument
76 struct fb_info *info = sp->info; in s3d_set_fbinfo()
81 info->screen_base = sp->fb_base; in s3d_set_fbinfo()
82 info->screen_size = sp->fb_size; in s3d_set_fbinfo()
[all …]
/Linux-v4.19/arch/mips/kernel/
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>>...42