/linux-2.4.37.9/include/acpi/ |
D | acmacros.h | 66 #define ACPI_GET_ADDRESS(a) ((a).lo) argument 67 #define ACPI_STORE_ADDRESS(a,b) {(a).hi=0;(a).lo=(u32)(b);} argument 68 #define ACPI_VALID_ADDRESS(a) ((a).hi | (a).lo) argument 78 #define ACPI_GET_ADDRESS(a) (a) argument 79 #define ACPI_STORE_ADDRESS(a,b) ((a)=(b)) argument 80 #define ACPI_VALID_ADDRESS(a) (a) argument 90 #define ACPI_GET_ADDRESS(a) (a) argument 91 #define ACPI_STORE_ADDRESS(a,b) ((a)=(acpi_physical_address)(b)) argument 92 #define ACPI_VALID_ADDRESS(a) (a) argument 112 #define ACPI_PTR_ADD(t,a,b) (t *) (void *)((char *)(a) + (acpi_native_uint)(b)) argument [all …]
|
/linux-2.4.37.9/drivers/isdn/eicon/ |
D | idi.c | 65 ENTITY *entity_ptr(ADAPTER *a, byte e_no) in entity_ptr() argument 69 card = a->io; in entity_ptr() 75 void CALLBACK(ADAPTER *a, ENTITY *e) in CALLBACK() argument 77 card_t *card = a->io; in CALLBACK() 88 void *PTR_P(ADAPTER *a, ENTITY *e, void *P) in PTR_P() argument 94 void *PTR_R(ADAPTER *a, ENTITY *e) in PTR_R() argument 100 void *PTR_X(ADAPTER *a, ENTITY *e) in PTR_X() argument 106 void free_entity(ADAPTER *a, byte e_no) in free_entity() argument 111 card = a->io; in free_entity() 124 void assign_queue(ADAPTER * a, byte e_no, word ref) in assign_queue() argument [all …]
|
/linux-2.4.37.9/include/pcmcia/ |
D | bus_ops.h | 65 #define bus_insb(b,p,a,c) (b)->b_ins((b),(p),(a),(c),0) argument 66 #define bus_insw(b,p,a,c) (b)->b_ins((b),(p),(a),(c),1) argument 67 #define bus_insl(b,p,a,c) (b)->b_ins((b),(p),(a),(c),2) argument 68 #define bus_insw_ns(b,p,a,c) (b)->b_ins((b),(p),(a),(c),-1) argument 69 #define bus_insl_ns(b,p,a,c) (b)->b_ins((b),(p),(a),(c),-2) argument 77 #define bus_outsb(b,p,a,c) (b)->b_outs((b),(p),(a),(c),0) argument 78 #define bus_outsw(b,p,a,c) (b)->b_outs((b),(p),(a),(c),1) argument 79 #define bus_outsl(b,p,a,c) (b)->b_outs((b),(p),(a),(c),2) argument 80 #define bus_outsw_ns(b,p,a,c) (b)->b_outs((b),(p),(a),(c),-1) argument 81 #define bus_outsl_ns(b,p,a,c) (b)->b_outs((b),(p),(a),(c),-2) argument [all …]
|
/linux-2.4.37.9/include/linux/ |
D | jhash.h | 24 #define __jhash_mix(a, b, c) \ argument 26 a -= b; a -= c; a ^= (c>>13); \ 27 b -= c; b -= a; b ^= (a<<8); \ 28 c -= a; c -= b; c ^= (b>>13); \ 29 a -= b; a -= c; a ^= (c>>12); \ 30 b -= c; b -= a; b ^= (a<<16); \ 31 c -= a; c -= b; c ^= (b>>5); \ 32 a -= b; a -= c; a ^= (c>>3); \ 33 b -= c; b -= a; b ^= (a<<10); \ 34 c -= a; c -= b; c ^= (b>>15); \ [all …]
|
/linux-2.4.37.9/arch/arm/nwfpe/ |
D | softfloat.c | 121 INLINE bits32 extractFloat32Frac( float32 a ) in extractFloat32Frac() argument 124 return a & 0x007FFFFF; in extractFloat32Frac() 133 INLINE int16 extractFloat32Exp( float32 a ) in extractFloat32Exp() argument 136 return ( a>>23 ) & 0xFF; in extractFloat32Exp() 146 INLINE flag extractFloat32Sign( float32 a ) 149 return a>>31; 302 INLINE bits64 extractFloat64Frac( float64 a ) in extractFloat64Frac() argument 305 return a & LIT64( 0x000FFFFFFFFFFFFF ); in extractFloat64Frac() 314 INLINE int16 extractFloat64Exp( float64 a ) in extractFloat64Exp() argument 317 return ( a>>52 ) & 0x7FF; in extractFloat64Exp() [all …]
|
D | softfloat-specialize | 12 of this code was written as part of a project to build a fixed-point vector 43 defined here if desired. It is currently not possible for such a trap to 44 substitute a result value. If traps are not implemented, this routine 71 The pattern for a default generated single-precision NaN. 78 Returns 1 if the single-precision floating-point value `a' is a NaN; 82 flag float32_is_nan( float32 a ) 85 return ( 0xFF000000 < (bits32) ( a<<1 ) ); 91 Returns 1 if the single-precision floating-point value `a' is a signaling 95 flag float32_is_signaling_nan( float32 a ) 98 return ( ( ( a>>22 ) & 0x1FF ) == 0x1FE ) && ( a & 0x003FFFFF ); [all …]
|
/linux-2.4.37.9/crypto/ |
D | sha1.c | 61 u32 a, b, c, d, e; in sha1_transform() local 65 for (a = 0; a < sizeof(block32)/sizeof(u32); a++) in sha1_transform() 66 block32[a] = be32_to_cpu (((const u32 *)in)[a]); in sha1_transform() 69 a = state[0]; in sha1_transform() 76 R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); in sha1_transform() 77 R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); in sha1_transform() 78 R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); in sha1_transform() 79 R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); in sha1_transform() 80 R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); in sha1_transform() 81 R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); in sha1_transform() [all …]
|
D | md4.c | 61 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 62 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 63 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 84 u32 a, b, c, d; in md4_transform() local 86 a = hash[0]; in md4_transform() 91 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 92 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 93 ROUND1(c, d, a, b, in[2], 11); in md4_transform() 94 ROUND1(b, c, d, a, in[3], 19); in md4_transform() 95 ROUND1(a, b, c, d, in[4], 3); in md4_transform() [all …]
|
D | md5.c | 45 u32 a, b, c, d; in md5_transform() local 47 a = hash[0]; in md5_transform() 52 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform() 53 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform() 54 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform() 55 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform() 56 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in md5_transform() 57 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in md5_transform() 58 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in md5_transform() 59 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in md5_transform() [all …]
|
/linux-2.4.37.9/include/asm-alpha/ |
D | io.h | 145 # define __readb(a) alpha_mv.mv_readb((unsigned long)(a)) argument 146 # define __readw(a) alpha_mv.mv_readw((unsigned long)(a)) argument 147 # define __readl(a) alpha_mv.mv_readl((unsigned long)(a)) argument 148 # define __readq(a) alpha_mv.mv_readq((unsigned long)(a)) argument 149 # define __writeb(v,a) alpha_mv.mv_writeb((v),(unsigned long)(a)) argument 150 # define __writew(v,a) alpha_mv.mv_writew((v),(unsigned long)(a)) argument 151 # define __writel(v,a) alpha_mv.mv_writel((v),(unsigned long)(a)) argument 152 # define __writeq(v,a) alpha_mv.mv_writeq((v),(unsigned long)(a)) argument 154 # define __ioremap(a,s) alpha_mv.mv_ioremap((unsigned long)(a),(s)) argument 155 # define __iounmap(a) alpha_mv.mv_iounmap((unsigned long)(a)) argument [all …]
|
D | core_polaris.h | 186 #define __readb(a) polaris_readb((unsigned long)(a)) argument 187 #define __readw(a) polaris_readw((unsigned long)(a)) argument 188 #define __readl(a) polaris_readl((unsigned long)(a)) argument 189 #define __readq(a) polaris_readq((unsigned long)(a)) argument 190 #define __writeb(x,a) polaris_writeb((x),(unsigned long)(a)) argument 191 #define __writew(x,a) polaris_writew((x),(unsigned long)(a)) argument 192 #define __writel(x,a) polaris_writel((x),(unsigned long)(a)) argument 193 #define __writeq(x,a) polaris_writeq((x),(unsigned long)(a)) argument 194 #define __ioremap(a,s) polaris_ioremap((unsigned long)(a),(s)) argument 195 #define __iounmap(a) polaris_iounmap((unsigned long)(a)) argument [all …]
|
D | core_cia.h | 563 # define __readb(a) cia_bwx_readb((unsigned long)(a)) argument 564 # define __readw(a) cia_bwx_readw((unsigned long)(a)) argument 565 # define __readl(a) cia_bwx_readl((unsigned long)(a)) argument 566 # define __readq(a) cia_bwx_readq((unsigned long)(a)) argument 567 # define __writeb(x,a) cia_bwx_writeb((x),(unsigned long)(a)) argument 568 # define __writew(x,a) cia_bwx_writew((x),(unsigned long)(a)) argument 569 # define __writel(x,a) cia_bwx_writel((x),(unsigned long)(a)) argument 570 # define __writeq(x,a) cia_bwx_writeq((x),(unsigned long)(a)) argument 571 # define __ioremap(a,s) cia_bwx_ioremap((unsigned long)(a),(s)) argument 572 # define __iounmap(a) cia_bwx_iounmap((unsigned long)(a)) argument [all …]
|
D | core_marvel.h | 336 # define __marvel_is_port_vga(a) \ argument 337 (((a) >= 0x3b0) && ((a) < 0x3e0) && ((a) != 0x3b3) && ((a) != 0x3d3)) 338 # define __marvel_is_mem_vga(a) (((a) >= 0xa0000) && ((a) <= 0xc0000)) argument 339 # define FIXUP_IOADDR_VGA(a) do { \ argument 340 if (pci_vga_hose && __marvel_is_port_vga(a)) \ 341 a += pci_vga_hose->io_space->start; \ 344 # define FIXUP_IOADDR_VGA(a) argument 347 #define __marvel_is_port_kbd(a) (((a) == 0x60) || ((a) == 0x64)) argument 348 #define __marvel_is_port_rtc(a) (((a) == 0x70) || ((a) == 0x71)) argument 350 #define FIXUP_IOADDR_LEGACY(a) argument [all …]
|
/linux-2.4.37.9/drivers/usb/serial/ |
D | xircom_pgs.S | 189 .org 0x100H ; wants to be on a page boundary 221 clr a 222 mov tx_ring_in, a 223 mov tx_ring_out, a 224 mov rx_ring_in, a 225 mov rx_ring_out, a 226 mov tx_unthrottle_threshold, a 232 mov a, #0xfe 235 movx @dptr, a 239 mov a, #0xfd [all …]
|
D | keyspan_pda.S | 187 .org 0x100H ; wants to be on a page boundary 219 clr a 220 mov tx_ring_in, a 221 mov tx_ring_out, a 222 mov rx_ring_in, a 223 mov rx_ring_out, a 224 mov tx_unthrottle_threshold, a 230 mov a, #0xfe 233 movx @dptr, a 237 mov a, #0xfd [all …]
|
/linux-2.4.37.9/arch/mips/sibyte/cfe/ |
D | cfe_api.h | 119 # define cfe_strlen(a) __cfe_strlen(a) argument 138 #define cfe_close(a) __cfe_close(a) argument 139 #define cfe_cpu_start(a,b,c,d,e) __cfe_cpu_start(a,b,c,d,e) argument 140 #define cfe_cpu_stop(a) __cfe_cpu_stop(a) argument 141 #define cfe_enumenv(a,b,d,e,f) __cfe_enumenv(a,b,d,e,f) argument 142 #define cfe_enummem(a,b,c,d,e) __cfe_enummem(a,b,c,d,e) argument 143 #define cfe_exit(a,b) __cfe_exit(a,b) argument 144 #define cfe_flushcache(a) __cfe_cacheflush(a) argument 145 #define cfe_getdevinfo(a) __cfe_getdevinfo(a) argument 146 #define cfe_getenv(a,b,c) __cfe_getenv(a,b,c) argument [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | tlan.h | 442 #define CIRC_INC( a, b ) if ( ++a >= b ) a = 0 argument 535 inline u32 TLan_HashFunc( u8 *a ) in TLan_HashFunc() argument 539 hash = (a[0]^a[3]); /* & 077 */ in TLan_HashFunc() 540 hash ^= ((a[0]^a[3])>>6); /* & 003 */ in TLan_HashFunc() 541 hash ^= ((a[1]^a[4])<<2); /* & 074 */ in TLan_HashFunc() 542 hash ^= ((a[1]^a[4])>>4); /* & 017 */ in TLan_HashFunc() 543 hash ^= ((a[2]^a[5])<<4); /* & 060 */ in TLan_HashFunc() 544 hash ^= ((a[2]^a[5])>>2); /* & 077 */ in TLan_HashFunc() 551 inline u32 xor( u32 a, u32 b ) in xor() argument 553 return ( ( a && ! b ) || ( ! a && b ) ); in xor() [all …]
|
/linux-2.4.37.9/drivers/net/e1000/ |
D | e1000_osdep.h | 84 #define E1000_WRITE_REG(a, reg, value) ( \ argument 85 writel((value), ((a)->hw_addr + \ 86 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg)))) 88 #define E1000_READ_REG(a, reg) ( \ argument 89 readl((a)->hw_addr + \ 90 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg))) 92 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument 93 writel((value), ((a)->hw_addr + \ 94 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 97 #define E1000_READ_REG_ARRAY(a, reg, offset) ( \ argument [all …]
|
/linux-2.4.37.9/include/asm-arm/arch-ebsa285/ |
D | io.h | 22 #define __io(a) (PCIO_BASE + (a)) argument 24 #define __mem_pci(a) ((unsigned long)(a)) argument 25 #define __mem_isa(a) (PCIMEM_BASE + (unsigned long)(a)) argument 28 static inline unsigned long ___mem_pci(unsigned long a) in ___mem_pci() argument 30 if (a <= 0xc0000000 || a >= 0xe0000000) in ___mem_pci() 32 return a; in ___mem_pci() 35 static inline unsigned long ___mem_isa(unsigned long a) in ___mem_isa() argument 37 if (a >= 16*1048576) in ___mem_isa() 39 return PCIMEM_BASE + a; in ___mem_isa() 41 #define __mem_pci(a) ___mem_pci((unsigned long)(a)) argument [all …]
|
/linux-2.4.37.9/include/asm-arm/arch-nexuspci/ |
D | io.h | 15 #define __io(a) (PCIO_BASE + (a)) argument 17 #define __mem_pci(a) ((unsigned long)(a)) argument 18 #define __mem_isa(a) (PCIMEM_BASE + (unsigned long)(a)) argument 21 static inline unsigned long ___mem_pci(unsigned long a) in ___mem_pci() argument 24 if (a <= 0xc0000000 || a >= 0xe0000000) in ___mem_pci() 26 return a; in ___mem_pci() 29 static inline unsigned long ___mem_isa(unsigned long a) in ___mem_isa() argument 31 if (a >= 16*1048576) in ___mem_isa() 33 return PCIMEM_BASE + a; in ___mem_isa() 35 #define __mem_pci(a) ___mem_pci((unsigned long)(a)) argument [all …]
|
/linux-2.4.37.9/arch/m68k/math-emu/ |
D | multi_arith.h | 41 static inline void zero128(int128 a) 43 a[LSW128] = a[NLSW128] = a[NMSW128] = a[MSW128] = 0; 48 unsigned int i0, int128 a) 50 a[LSW128] = i0; 51 a[NLSW128] = i1; 52 a[NMSW128] = i2; 53 a[MSW128] = i3; 69 static inline void put_i128(const int128 a) 71 printk("%08x %08x %08x %08x\n", a[MSW128], a[NMSW128], 72 a[NLSW128], a[LSW128]); [all …]
|
/linux-2.4.37.9/drivers/char/ip2/ |
D | i2os.h | 52 #define spin_lock(a) argument 53 #define spin_unlock(a) argument 54 #define spin_lock_irqsave(a,b) {save_flags((b));cli();} argument 55 #define spin_unlock_irqrestore(a,b) {restore_flags((b));} argument 56 #define write_lock_irqsave(a,b) spin_lock_irqsave(a,b) argument 57 #define write_unlock_irqrestore(a,b) spin_unlock_irqrestore(a,b) argument 58 #define read_lock_irqsave(a,b) spin_lock_irqsave(a,b) argument 59 #define read_unlock_irqrestore(a,b) spin_unlock_irqrestore(a,b) argument 65 #define LOCK_INIT(a) rwlock_init(a) argument 67 #define SAVE_AND_DISABLE_INTS(a,b) { \ argument [all …]
|
/linux-2.4.37.9/fs/xfs/support/ |
D | qsort.c | 47 #define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \ argument 51 swapfunc(char *a, char *b, int n, int swaptype) in swapfunc() argument 54 swapcode(long, a, b, n) in swapfunc() 56 swapcode(char, a, b, n) in swapfunc() 59 #define swap(a, b) \ argument 61 long t = *(long *)(a); \ 62 *(long *)(a) = *(long *)(b); \ 65 swapfunc(a, b, es, swaptype) 67 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) argument 70 med3(char *a, char *b, char *c, int (*cmp)(const void *, const void *)) in med3() argument [all …]
|
/linux-2.4.37.9/include/asm-sh/ |
D | io.h | 65 # define __readb(a) sh_mv.mv_readb((a)) argument 66 # define __readw(a) sh_mv.mv_readw((a)) argument 67 # define __readl(a) sh_mv.mv_readl((a)) argument 68 # define __writeb(v,a) sh_mv.mv_writeb((v),(a)) argument 69 # define __writew(v,a) sh_mv.mv_writew((v),(a)) argument 70 # define __writel(v,a) sh_mv.mv_writel((v),(a)) argument 72 # define __ioremap(a,s) sh_mv.mv_ioremap((a), (s)) argument 73 # define __iounmap(a) sh_mv.mv_iounmap((a)) argument 75 # define __isa_port2addr(a) sh_mv.mv_isa_port2addr(a) argument 252 # define readb(a) ({ unsigned long r_ = __raw_readb(a); mb(); r_; }) argument [all …]
|
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/ |
D | sym_misc.h | 280 #define _U_(a,m) (a)<=(1<<m)?m: argument 281 #define _D_(a,m) (a)<(1<<(m+1))?m: argument 286 #define _LGRU16_(a) \ argument 288 _U_(a, 0)_U_(a, 1)_U_(a, 2)_U_(a, 3)_U_(a, 4)_U_(a, 5)_U_(a, 6)_U_(a, 7) \ 289 _U_(a, 8)_U_(a, 9)_U_(a,10)_U_(a,11)_U_(a,12)_U_(a,13)_U_(a,14)_U_(a,15) \ 295 #define _LGRD16_(a) \ argument 297 _D_(a, 0)_D_(a, 1)_D_(a, 2)_D_(a, 3)_D_(a, 4)_D_(a, 5)_D_(a, 6)_D_(a, 7) \ 298 _D_(a, 8)_D_(a, 9)_D_(a,10)_D_(a,11)_D_(a,12)_D_(a,13)_D_(a,14)_D_(a,15) \ 304 #define _SZRU16_(a) ((a)==0?0:(1<<_LGRU16_(a))) argument 309 #define _SZRD16_(a) ((a)==0?0:(1<<_LGRD16_(a))) argument
|