Home
last modified time | relevance | path

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

12345678910>>...36

/linux-2.6.39/arch/blackfin/include/asm/
Dcontext.S18 [--sp] = SYSCFG;
20 [--sp] = P0; /*orig_p0*/
21 [--sp] = R0; /*orig_r0*/
23 [--sp] = ( R7:0, P5:0 );
24 [--sp] = fp;
25 [--sp] = usp;
27 [--sp] = i0;
28 [--sp] = i1;
29 [--sp] = i2;
30 [--sp] = i3;
[all …]
/linux-2.6.39/arch/alpha/kernel/
Dentry.S31 subq $sp, SP_OFF, $sp; \
32 stq $0, 0($sp); \
33 stq $1, 8($sp); \
34 stq $2, 16($sp); \
35 stq $3, 24($sp); \
36 stq $4, 32($sp); \
37 stq $28, 144($sp); \
39 stq $5, 40($sp); \
40 stq $6, 48($sp); \
41 stq $7, 56($sp); \
[all …]
/linux-2.6.39/drivers/net/hamradio/
D6pack.c142 struct sixpack *sp = (struct sixpack *) channel; 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 …]
/linux-2.6.39/drivers/media/video/pvrusb2/
Dpvrusb2-io.c135 struct pvr2_stream *sp = bp->stream; in pvr2_buffer_remove() local
138 cnt = &sp->i_count; in pvr2_buffer_remove()
139 bcnt = &sp->i_bcount; in pvr2_buffer_remove()
143 cnt = &sp->q_count; in pvr2_buffer_remove()
144 bcnt = &sp->q_bcount; in pvr2_buffer_remove()
148 cnt = &sp->r_count; in pvr2_buffer_remove()
149 bcnt = &sp->r_bcount; in pvr2_buffer_remove()
168 struct pvr2_stream *sp; in pvr2_buffer_set_none() local
170 sp = bp->stream; in pvr2_buffer_set_none()
176 spin_lock_irqsave(&sp->list_lock,irq_flags); in pvr2_buffer_set_none()
[all …]
/linux-2.6.39/arch/m68k/include/asm/
Dentry_no.h57 btst #5,%sp@(2) /* from user? */
59 movel %sp,sw_usp /* save user sp */
61 movel sw_ksp,%sp /* kernel sp */
62 subql #8,%sp /* room for exception */
63 clrl %sp@- /* stkadj */
64 movel %d0,%sp@- /* orig d0 */
65 movel %d0,%sp@- /* d0 */
66 lea %sp@(-32),%sp /* space for 8 regs */
67 moveml %d1-%d5/%a0-%a2,%sp@
69 movel %a0@-,%sp@(PT_OFF_PC) /* copy exception program counter */
[all …]
/linux-2.6.39/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()
53 snd_printd("emu: rom font for sample %d\n", sp->v.sample); in snd_emu10k1_sample_new()
58 sp->v.end -= sp->v.start; in snd_emu10k1_sample_new()
59 sp->v.loopstart -= sp->v.start; in snd_emu10k1_sample_new()
60 sp->v.loopend -= sp->v.start; in snd_emu10k1_sample_new()
61 sp->v.start = 0; in snd_emu10k1_sample_new()
64 sampleend = sp->v.end; in snd_emu10k1_sample_new()
65 if (sampleend > sp->v.size) in snd_emu10k1_sample_new()
[all …]
/linux-2.6.39/kernel/
Dsrcu.c37 static int init_srcu_struct_fields(struct srcu_struct *sp) in init_srcu_struct_fields() argument
39 sp->completed = 0; in init_srcu_struct_fields()
40 mutex_init(&sp->mutex); in init_srcu_struct_fields()
41 sp->per_cpu_ref = alloc_percpu(struct srcu_struct_array); in init_srcu_struct_fields()
42 return sp->per_cpu_ref ? 0 : -ENOMEM; in init_srcu_struct_fields()
47 int __init_srcu_struct(struct srcu_struct *sp, const char *name, in __init_srcu_struct() argument
51 debug_check_no_locks_freed((void *)sp, sizeof(*sp)); in __init_srcu_struct()
52 lockdep_init_map(&sp->dep_map, name, key, 0); in __init_srcu_struct()
53 return init_srcu_struct_fields(sp); in __init_srcu_struct()
67 int init_srcu_struct(struct srcu_struct *sp) in init_srcu_struct() argument
[all …]
/linux-2.6.39/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-2.6.39/arch/m68k/platform/68328/
Dentry.S42 movel #-ENOSYS,%sp@(PT_OFF_D0)
46 movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/
47 subql #4,%sp
51 addql #4,%sp
52 movel %sp@(PT_OFF_ORIG_D0),%d1
60 1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */
61 subql #4,%sp /* dummy return address */
67 addql #4,%sp
74 pea %sp@
76 addql #4,%sp
[all …]
/linux-2.6.39/include/linux/
Dsrcu.h53 int __init_srcu_struct(struct srcu_struct *sp, const char *name,
56 #define init_srcu_struct(sp) \ argument
60 __init_srcu_struct((sp), #sp, &__srcu_key); \
63 # define srcu_read_acquire(sp) \ argument
64 lock_acquire(&(sp)->dep_map, 0, 0, 2, 1, NULL, _THIS_IP_)
65 # define srcu_read_release(sp) \ argument
66 lock_release(&(sp)->dep_map, 1, _THIS_IP_)
70 int init_srcu_struct(struct srcu_struct *sp);
72 # define srcu_read_acquire(sp) do { } while (0) argument
73 # define srcu_read_release(sp) do { } while (0) argument
[all …]
/linux-2.6.39/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-2.6.39/drivers/net/
Dipg.c106 struct ipg_nic_private *sp = netdev_priv(dev); in ipg_ioaddr() local
107 return sp->ioaddr; in ipg_ioaddr()
113 struct ipg_nic_private *sp = netdev_priv(dev); in ipg_dump_rfdlist() local
114 void __iomem *ioaddr = sp->ioaddr; in ipg_dump_rfdlist()
120 printk(KERN_INFO "rx_current = %2.2x\n", sp->rx_current); in ipg_dump_rfdlist()
121 printk(KERN_INFO "rx_dirty = %2.2x\n", sp->rx_dirty); in ipg_dump_rfdlist()
123 (unsigned long) sp->rxd_map); in ipg_dump_rfdlist()
128 offset = (u32) &sp->rxd[i].next_desc - (u32) sp->rxd; in ipg_dump_rfdlist()
130 offset, (unsigned long) sp->rxd[i].next_desc); in ipg_dump_rfdlist()
131 offset = (u32) &sp->rxd[i].rfs - (u32) sp->rxd; in ipg_dump_rfdlist()
[all …]
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-2.6.39/arch/blackfin/mach-common/
Dinterrupt.S38 [--sp] = fp;
39 [--sp] = usp;
41 [--sp] = i0;
42 [--sp] = i1;
43 [--sp] = i2;
44 [--sp] = i3;
46 [--sp] = m0;
47 [--sp] = m1;
48 [--sp] = m2;
49 [--sp] = m3;
[all …]
/linux-2.6.39/sound/isa/sb/
Demu8000_patch.c147 snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu8000_sample_new() argument
159 if (snd_BUG_ON(!sp)) in snd_emu8000_sample_new()
162 if (sp->v.size == 0) in snd_emu8000_sample_new()
166 if (sp->v.loopstart > sp->v.loopend) { in snd_emu8000_sample_new()
167 int tmp = sp->v.loopstart; in snd_emu8000_sample_new()
168 sp->v.loopstart = sp->v.loopend; in snd_emu8000_sample_new()
169 sp->v.loopend = tmp; in snd_emu8000_sample_new()
173 truesize = sp->v.size; in snd_emu8000_sample_new()
174 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu8000_sample_new()
175 truesize += sp->v.loopend - sp->v.loopstart; in snd_emu8000_sample_new()
[all …]
/linux-2.6.39/arch/mips/include/asm/
Dstackframe.h40 LONG_S $1, PT_R1(sp)
47 LONG_S v1, PT_LO(sp)
49 LONG_S v1, PT_HI(sp)
51 LONG_S v1, PT_ACX(sp)
56 LONG_S $8, PT_R8(sp)
57 LONG_S $9, PT_R9(sp)
59 LONG_S $10, PT_R10(sp)
60 LONG_S $11, PT_R11(sp)
61 LONG_S $12, PT_R12(sp)
63 LONG_S v1, PT_HI(sp)
[all …]
/linux-2.6.39/drivers/spi/
Dath79_spi.c39 static inline u32 ath79_spi_rr(struct ath79_spi *sp, unsigned reg) in ath79_spi_rr() argument
41 return ioread32(sp->base + reg); in ath79_spi_rr()
44 static inline void ath79_spi_wr(struct ath79_spi *sp, unsigned reg, u32 val) in ath79_spi_wr() argument
46 iowrite32(val, sp->base + reg); in ath79_spi_wr()
56 struct ath79_spi *sp = ath79_spidev_to_sp(spi); in ath79_spi_chipselect() local
62 sp->ioc_base |= AR71XX_SPI_IOC_CLK; in ath79_spi_chipselect()
64 sp->ioc_base &= ~AR71XX_SPI_IOC_CLK; in ath79_spi_chipselect()
66 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base); in ath79_spi_chipselect()
76 sp->ioc_base |= AR71XX_SPI_IOC_CS0; in ath79_spi_chipselect()
78 sp->ioc_base &= ~AR71XX_SPI_IOC_CS0; in ath79_spi_chipselect()
[all …]
Dspi_sh_sci.c38 #define SCSPTR(sp) (sp->membase + 0x1c) argument
44 static inline void setbits(struct sh_sci_spi *sp, int bits, int on) in setbits() argument
55 sp->val |= bits; in setbits()
57 sp->val &= ~bits; in setbits()
59 iowrite8(sp->val, SCSPTR(sp)); in setbits()
74 struct sh_sci_spi *sp = spi_master_get_devdata(dev->master); in getmiso() local
76 return (ioread8(SCSPTR(sp)) & PIN_RXD) ? 1 : 0; in getmiso()
109 struct sh_sci_spi *sp = spi_master_get_devdata(dev->master); in sh_sci_spi_chipselect() local
111 if (sp->info && sp->info->chip_select) in sh_sci_spi_chipselect()
112 (sp->info->chip_select)(sp->info, dev->chip_select, value); in sh_sci_spi_chipselect()
[all …]
/linux-2.6.39/drivers/video/
Dsunxvr2500.c32 static int __devinit s3d_get_props(struct s3d_info *sp) in s3d_get_props() argument
34 sp->width = of_getintprop_default(sp->of_node, "width", 0); in s3d_get_props()
35 sp->height = of_getintprop_default(sp->of_node, "height", 0); in s3d_get_props()
36 sp->depth = of_getintprop_default(sp->of_node, "depth", 8); in s3d_get_props()
38 if (!sp->width || !sp->height) { in s3d_get_props()
40 pci_name(sp->pdev)); in s3d_get_props()
73 static int __devinit s3d_set_fbinfo(struct s3d_info *sp) in s3d_set_fbinfo() argument
75 struct fb_info *info = sp->info; in s3d_set_fbinfo()
80 info->screen_base = sp->fb_base; in s3d_set_fbinfo()
81 info->screen_size = sp->fb_size; in s3d_set_fbinfo()
[all …]
/linux-2.6.39/arch/mips/dec/prom/
Dcall_o32.S38 REG_SUBU sp,O32_FRAMESZ
40 REG_S ra,O32_FRAMESZ-1*SZREG(sp)
41 REG_S fp,O32_FRAMESZ-2*SZREG(sp)
42 REG_S gp,O32_FRAMESZ-3*SZREG(sp)
43 REG_S s7,O32_FRAMESZ-4*SZREG(sp)
44 REG_S s6,O32_FRAMESZ-5*SZREG(sp)
45 REG_S s5,O32_FRAMESZ-6*SZREG(sp)
46 REG_S s4,O32_FRAMESZ-7*SZREG(sp)
47 REG_S s3,O32_FRAMESZ-8*SZREG(sp)
48 REG_S s2,O32_FRAMESZ-9*SZREG(sp)
[all …]
/linux-2.6.39/arch/blackfin/kernel/
Dftrace-entry.S46 [--sp] = r2;
47 [--sp] = r0;
48 [--sp] = r1;
49 [--sp] = rets;
57 r1 = [sp + 16]; /* skip the 4 local regs on stack */
72 rets = [sp++];
73 r1 = [sp++];
74 r0 = [sp++];
75 r2 = [sp++];
96 [--sp] = r2;
[all …]
/linux-2.6.39/arch/s390/kernel/
Dstacktrace.c16 unsigned long sp, in save_context_stack() argument
26 sp &= PSW_ADDR_INSN; in save_context_stack()
27 if (sp < low || sp > high) in save_context_stack()
28 return sp; in save_context_stack()
29 sf = (struct stack_frame *)sp; in save_context_stack()
37 return sp; in save_context_stack()
38 low = sp; in save_context_stack()
39 sp = sf->back_chain & PSW_ADDR_INSN; in save_context_stack()
40 if (!sp) in save_context_stack()
42 if (sp <= low || sp > high - sizeof(*sf)) in save_context_stack()
[all …]
/linux-2.6.39/arch/mips/kernel/
Dmcount.S22 PTR_SUBU sp, PT_SIZE
23 PTR_S ra, PT_R31(sp)
24 PTR_S AT, PT_R1(sp)
25 PTR_S a0, PT_R4(sp)
26 PTR_S a1, PT_R5(sp)
27 PTR_S a2, PT_R6(sp)
28 PTR_S a3, PT_R7(sp)
30 PTR_S a4, PT_R8(sp)
31 PTR_S a5, PT_R9(sp)
32 PTR_S a6, PT_R10(sp)
[all …]
/linux-2.6.39/arch/s390/oprofile/
Dbacktrace.c14 __show_trace(unsigned int *depth, unsigned long sp, in __show_trace() argument
21 sp = sp & PSW_ADDR_INSN; in __show_trace()
22 if (sp < low || sp > high - sizeof(*sf)) in __show_trace()
23 return sp; in __show_trace()
24 sf = (struct stack_frame *) sp; in __show_trace()
30 low = sp; in __show_trace()
31 sp = sf->back_chain & PSW_ADDR_INSN; in __show_trace()
32 if (!sp) in __show_trace()
34 if (sp <= low || sp > high - sizeof(*sf)) in __show_trace()
35 return sp; in __show_trace()
[all …]

12345678910>>...36