/linux-2.4.37.9/drivers/net/hamradio/ |
D | 6pack.c | 218 static inline void sp_free(struct sixpack *sp) in sp_free() argument 221 if (sp->rbuff) in sp_free() 222 kfree(sp->rbuff); in sp_free() 223 sp->rbuff = NULL; in sp_free() 224 if (sp->xbuff) in sp_free() 225 kfree(sp->xbuff); in sp_free() 226 sp->xbuff = NULL; in sp_free() 228 if (!test_and_clear_bit(SIXPF_INUSE, &sp->flags)) in sp_free() 229 printk(KERN_WARNING "%s: sp_free for already free unit.\n", sp->dev->name); in sp_free() 238 static void sp_bump(struct sixpack *sp, char cmd) in sp_bump() argument [all …]
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | gdb-low.S | 30 NESTED(trap_low, GDB_FR_SIZE, sp) 37 move k1,sp 50 move k0,sp 51 subu sp,k1,GDB_FR_SIZE*2 # see comment above 52 sd k0,GDB_FR_REG29(sp) 53 sd v0,GDB_FR_REG2(sp) 60 sd v0,GDB_FR_STATUS(sp) 62 sd v0,GDB_FR_CAUSE(sp) 64 sd v0,GDB_FR_EPC(sp) 66 sd v0,GDB_FR_BADVADDR(sp) [all …]
|
/linux-2.4.37.9/arch/mips/kernel/ |
D | gdb-low.S | 30 NESTED(trap_low, GDB_FR_SIZE, sp) 37 move k1,sp 50 move k0,sp 51 subu sp,k1,GDB_FR_SIZE*2 # see comment above 52 sw k0,GDB_FR_REG29(sp) 53 sw v0,GDB_FR_REG2(sp) 60 sw v0,GDB_FR_STATUS(sp) 62 sw v0,GDB_FR_CAUSE(sp) 64 sw v0,GDB_FR_EPC(sp) 66 sw v0,GDB_FR_BADVADDR(sp) [all …]
|
D | scall_o32.S | 24 NESTED(handle_sys, PT_SIZE, sp) 30 lw t1, PT_EPC(sp) # skip syscall on return 34 sw t1, PT_EPC(sp) 44 sw a3, PT_R26(sp) # save a3 for syscall restarting 48 sw a3, PT_R26(sp) # save for syscall restart 57 sw t0, PT_R7(sp) # set error flag 61 sw v0, PT_R0(sp) # set flag for syscall restarting 62 1: sw v0, PT_R2(sp) # result 109 move a1, sp 124 sw t2, PT_R1(sp) [all …]
|
/linux-2.4.37.9/arch/mips/au1000/common/ |
D | sleeper.S | 29 subu sp, PT_SIZE 30 sw $1, PT_R1(sp) 31 sw $2, PT_R2(sp) 32 sw $3, PT_R3(sp) 33 sw $4, PT_R4(sp) 34 sw $5, PT_R5(sp) 35 sw $6, PT_R6(sp) 36 sw $7, PT_R7(sp) 37 sw $8, PT_R8(sp) 38 sw $9, PT_R9(sp) [all …]
|
/linux-2.4.37.9/include/asm-mips/ |
D | stackframe.h | 22 sw $1, PT_R1(sp); \ 27 sw $8, PT_R8(sp); \ 28 sw $9, PT_R9(sp); \ 29 sw v1, PT_HI(sp); \ 31 sw $10,PT_R10(sp); \ 32 sw $11, PT_R11(sp); \ 33 sw v1, PT_LO(sp); \ 34 sw $12, PT_R12(sp); \ 35 sw $13, PT_R13(sp); \ 36 sw $14, PT_R14(sp); \ [all …]
|
/linux-2.4.37.9/drivers/net/wan/ |
D | syncppp.c | 135 static void sppp_cp_send (struct sppp *sp, u16 proto, u8 type, 137 static void sppp_cisco_send (struct sppp *sp, int type, long par1, long par2); 138 static void sppp_lcp_input (struct sppp *sp, struct sk_buff *m); 139 static void sppp_cisco_input (struct sppp *sp, struct sk_buff *m); 140 static void sppp_ipcp_input (struct sppp *sp, struct sk_buff *m); 141 static void sppp_lcp_open (struct sppp *sp); 142 static void sppp_ipcp_open (struct sppp *sp); 143 static int sppp_lcp_conf_parse_options (struct sppp *sp, struct lcp_header *h, 159 struct sppp *sp = (struct sppp *)sppp_of(dev); in if_down() local 161 sp->pp_link_state=SPPP_LINK_DOWN; in if_down() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | eepro100.c | 469 #define TX_RING_ELEM_DMA(sp, n) ((sp)->tx_ring_dma + (n)*sizeof(struct TxFD)) argument 661 struct speedo_private *sp; in speedo_found1() local 836 sp = dev->priv; in speedo_found1() 837 sp->pdev = pdev; in speedo_found1() 838 sp->msg_enable = DEBUG; in speedo_found1() 839 sp->acpi_pwr = acpi_idle_state; in speedo_found1() 840 sp->tx_ring = tx_ring_space; in speedo_found1() 841 sp->tx_ring_dma = tx_ring_dma; in speedo_found1() 842 sp->lstats = (struct speedo_stats *)(sp->tx_ring + TX_RING_SIZE); in speedo_found1() 843 sp->lstats_dma = TX_RING_ELEM_DMA(sp, TX_RING_SIZE); in speedo_found1() [all …]
|
D | sgiseeq.c | 60 #define TX_BUFFS_AVAIL(sp) ((sp->tx_old <= sp->tx_new) ? \ argument 61 sp->tx_old + (SEEQ_TX_BUFFERS - 1) - sp->tx_new : \ 62 sp->tx_old - sp->tx_new - 1) 131 static inline void seeq_go(struct sgiseeq_private *sp, in seeq_go() argument 135 sregs->rstat = sp->mode | RSTAT_GO_BITS; in seeq_go() 155 struct sgiseeq_private *sp = (struct sgiseeq_private *) dev->priv; in seeq_init_ring() local 156 volatile struct sgiseeq_init_block *ib = &sp->srings; in seeq_init_ring() 160 sp->rx_new = sp->tx_new = 0; in seeq_init_ring() 161 sp->rx_old = sp->tx_old = 0; in seeq_init_ring() 163 seeq_load_eaddr(dev, sp->sregs); in seeq_init_ring() [all …]
|
/linux-2.4.37.9/include/asm-mips64/ |
D | stackframe.h | 26 sd $1, PT_R1(sp) 32 sd v1, PT_HI(sp) 34 sd $10, PT_R10(sp) 35 sd $11, PT_R11(sp) 36 sd v1, PT_LO(sp) 37 sd $12, PT_R12(sp) 38 sd $13, PT_R13(sp) 39 sd $14, PT_R14(sp) 40 sd $15, PT_R15(sp) 41 sd $24, PT_R24(sp) [all …]
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | locks.h | 13 extern __inline__ void prim_spin_lock(struct spinlock *sp) in prim_spin_lock() argument 21 while(lock_set_bit(0,&sp->lock)) in prim_spin_lock() 27 if(sp->cpu==processor) in prim_spin_lock() 29 sp->users++; in prim_spin_lock() 35 while(sp->lock) in prim_spin_lock() 44 sp->spins++; in prim_spin_lock() 51 sp->users++;sp->cpu=processor; in prim_spin_lock() 59 extern __inline__ int prim_spin_unlock(struct spinlock *sp) in prim_spin_unlock() argument 63 if(!--sp->users) in prim_spin_unlock() 65 sp->cpu= NO_PROC_ID;lock_clear_bit(0,&sp->lock); in prim_spin_unlock() [all …]
|
/linux-2.4.37.9/include/asm-i386/ |
D | locks.h | 13 static __inline__ void prim_spin_lock(struct spinlock *sp) in prim_spin_lock() argument 21 while(lock_set_bit(0,&sp->lock)) in prim_spin_lock() 27 if(sp->cpu==processor) in prim_spin_lock() 29 sp->users++; in prim_spin_lock() 35 while(sp->lock) in prim_spin_lock() 44 sp->spins++; in prim_spin_lock() 51 sp->users++;sp->cpu=processor; in prim_spin_lock() 59 static __inline__ int prim_spin_unlock(struct spinlock *sp) in prim_spin_unlock() argument 63 if(!--sp->users) in prim_spin_unlock() 65 sp->cpu= NO_PROC_ID;lock_clear_bit(0,&sp->lock); in prim_spin_unlock() [all …]
|
/linux-2.4.37.9/include/asm-cris/ |
D | locks.h | 13 extern __inline__ void prim_spin_lock(struct spinlock *sp) in prim_spin_lock() argument 21 while(lock_set_bit(0,&sp->lock)) in prim_spin_lock() 27 if(sp->cpu==processor) in prim_spin_lock() 29 sp->users++; in prim_spin_lock() 35 while(sp->lock) in prim_spin_lock() 44 sp->spins++; in prim_spin_lock() 51 sp->users++;sp->cpu=processor; in prim_spin_lock() 59 extern __inline__ int prim_spin_unlock(struct spinlock *sp) in prim_spin_unlock() argument 63 if(!--sp->users) in prim_spin_unlock() 65 lock_clear_bit(0,&sp->lock);sp->cpu= NO_PROC_ID; in prim_spin_unlock() [all …]
|
/linux-2.4.37.9/drivers/pcmcia/ |
D | hd64465_ss.c | 93 #define hs_sockno(sp) (sp - hs_sockets) argument 107 #define hs_in(sp, r) inb((sp)->ctrl_base + (r)) argument 108 #define hs_out(sp, v, r) outb(v, (sp)->ctrl_base + (r)) argument 112 #define bool_to_regbit(sp, r, bi, bo) \ argument 114 unsigned short v = hs_in(sp, r); \ 119 hs_out(sp, v, r); \ 176 static void hs_socket_enable_ireq(hs_socket_t *sp) in hs_socket_enable_ireq() argument 180 DPRINTK("hs_socket_enable_ireq(sock=%d)\n", hs_sockno(sp)); in hs_socket_enable_ireq() 182 cscier = hs_in(sp, CSCIER); in hs_socket_enable_ireq() 185 hs_out(sp, cscier, CSCIER); in hs_socket_enable_ireq() [all …]
|
/linux-2.4.37.9/arch/mips/dec/prom/ |
D | call_o32.S | 40 REG_SUBU sp,O32_FRAMESZ 42 REG_S ra,O32_FRAMESZ-1*SZREG(sp) 43 REG_S fp,O32_FRAMESZ-2*SZREG(sp) 44 REG_S gp,O32_FRAMESZ-3*SZREG(sp) 45 REG_S s7,O32_FRAMESZ-4*SZREG(sp) 46 REG_S s6,O32_FRAMESZ-5*SZREG(sp) 47 REG_S s5,O32_FRAMESZ-6*SZREG(sp) 48 REG_S s4,O32_FRAMESZ-7*SZREG(sp) 49 REG_S s3,O32_FRAMESZ-8*SZREG(sp) 50 REG_S s2,O32_FRAMESZ-9*SZREG(sp) [all …]
|
/linux-2.4.37.9/arch/m68k/lib/ |
D | semaphore.S | 19 moveml %a0/%d0/%d1,-(%sp) 20 movel %a1,-(%sp) 22 movel (%sp)+,%a1 23 moveml (%sp)+,%a0/%d0/%d1 27 movel %a0,-(%sp) 28 movel %d1,-(%sp) 29 movel %a1,-(%sp) 31 movel (%sp)+,%a1 32 movel (%sp)+,%d1 33 movel (%sp)+,%a0 [all …]
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | sema.h | 46 #define init_sema(sp, val, c, d) sema_init(sp, val) argument 47 #define initsema(sp, val) sema_init(sp, val) argument 48 #define initnsema(sp, val, name) sema_init(sp, val) argument 49 #define psema(sp, b) down(sp) argument 50 #define vsema(sp) up(sp) argument 51 #define valusema(sp) (atomic_read(&(sp)->count)) argument 60 #define cpsema(sp) (down_trylock(sp) ? 0 : 1) argument
|
/linux-2.4.37.9/arch/arm/kernel/ |
D | entry-header.S | 92 sub sp, sp, #S_FRAME_SIZE 93 stmia sp, {r0 - r12} @ Calling r0 - r12 94 add r8, sp, #S_PC 95 stmdb r8, {sp, lr}^ @ Calling sp, lr 97 str lr, [sp, #S_PC] @ Save calling PC 98 str r8, [sp, #S_PSR] @ Save CPSR 99 str r0, [sp, #S_OLD_R0] @ Save OLD_R0 106 ldr r1, [sp, #S_PSR] @ Get calling cpsr 107 ldr lr, [sp, #S_PC]! @ Get PC 109 ldmdb sp, {r0 - lr}^ @ Get calling r0 - lr [all …]
|
/linux-2.4.37.9/arch/arm/lib/ |
D | uaccess-armo.S | 36 stmfd sp!, {lr} 38 ldmfd sp!, {pc}^ 43 stmfd sp!, {lr} 47 ldmfd sp!, {pc}^ 52 stmfd sp!, {lr} 54 ldmfd sp!, {pc}^ 57 ldmfd sp!, {pc}^ 62 stmfd sp!, {lr} 64 ldmfd sp!, {pc}^ 69 stmfd sp!, {lr} [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | jazz_esp.c | 31 static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp); 40 static void dma_mmu_get_scsi_one (struct NCR_ESP *esp, Scsi_Cmnd *sp); 41 static void dma_mmu_get_scsi_sgl (struct NCR_ESP *esp, Scsi_Cmnd *sp); 42 static void dma_mmu_release_scsi_one (struct NCR_ESP *esp, Scsi_Cmnd *sp); 43 static void dma_mmu_release_scsi_sgl (struct NCR_ESP *esp, Scsi_Cmnd *sp); 44 static void dma_advance_sg (Scsi_Cmnd *sp); 149 static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp) in dma_can_transfer() argument 154 unsigned long sz = sp->SCp.this_residual; in dma_can_transfer() 222 static void dma_mmu_get_scsi_one (struct NCR_ESP *esp, Scsi_Cmnd *sp) in dma_mmu_get_scsi_one() argument 224 sp->SCp.have_data_in = vdma_alloc(PHYSADDR(sp->SCp.buffer), sp->SCp.this_residual); in dma_mmu_get_scsi_one() [all …]
|
/linux-2.4.37.9/arch/m68k/fpsp040/ |
D | skeleton.S | 68 fsave -(%sp) 70 frestore (%sp)+ 75 movel %sp,%sp@- | stack frame pointer argument 77 addql #4,%sp 105 fsave -(%sp) 106 cmpib #VER_40,(%sp) |test version number 108 fmovel %fpsr,-(%sp) 111 btstb #snan_bit,2(%sp) |test for snan 113 addl #4,%sp 114 frestore (%sp)+ [all …]
|
/linux-2.4.37.9/include/asm-m68k/ |
D | entry.h | 75 clrl %sp@- | stk_adj 77 movel %d0,%sp@- | d0 78 moveml %d1-%d5/%a0-%a1/%curptr,%sp@- 82 clrl %sp@- | stk_adj 83 movel %d0,%sp@- | orig d0 84 movel %d0,%sp@- | d0 85 moveml %d1-%d5/%a0-%a1/%curptr,%sp@- 89 moveml %sp@+,%a0-%a1/%curptr/%d1-%d5 90 movel %sp@+,%d0 91 addql #4,%sp | orig d0 [all …]
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | ttable.h | 27 add %sp, PTREGS_OFF, %o0; \ 37 add %sp, PTREGS_OFF, %o0; \ 46 add %sp, PTREGS_OFF, %o0; \ 66 add %sp, PTREGS_OFF, %o0; \ 75 add %sp, PTREGS_OFF, %o0; \ 85 add %sp, PTREGS_OFF, %o0; \ 142 add %sp, PTREGS_OFF, %o1; \ 152 add %sp, PTREGS_OFF, %o0; \ 165 ldx [%sp + PTREGS_OFF + PT_V9_TNPC], %l1; \ 167 stx %l1, [%sp + PTREGS_OFF + PT_V9_TPC]; \ [all …]
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | real2.S | 47 STREG %rp, -RP_OFFSET(%sp) /* save RP */ 50 ldo 2*REG_SZ(%sp), %sp /* room for a couple more saves */ 51 STREG %r27, -1*REG_SZ(%sp) 52 STREG %r29, -2*REG_SZ(%sp) 54 STREG %sp, -REG_SZ(%arg0) /* save SP on real-mode stack */ 55 copy %arg0, %sp /* adopt the real-mode SP */ 67 tophys_r1 %sp 94 tovirt_r1 %sp 95 LDREG -REG_SZ(%sp), %sp /* restore SP */ 97 LDREG -1*REG_SZ(%sp), %r27 [all …]
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | trampoline.S | 106 mov %sp, %l1 107 add %l2, -(192 + 128), %sp 112 stx %g2, [%sp + 2047 + 128 + 0x00] 114 stx %g2, [%sp + 2047 + 128 + 0x08] 116 stx %g2, [%sp + 2047 + 128 + 0x10] 119 stx %g2, [%sp + 2047 + 128 + 0x18] 122 stx %g2, [%sp + 2047 + 128 + 0x20] 124 stx %g2, [%sp + 2047 + 128 + 0x28] 127 stx %g2, [%sp + 2047 + 128 + 0x30] 134 stx %g2, [%sp + 2047 + 128 + 0x38] [all …]
|