Home
last modified time | relevance | path

Searched defs:v (Results 1 – 25 of 536) sorted by relevance

12345678910>>...22

/linux-2.4.37.9/include/asm-ia64/
Datomic.h27 #define atomic_read(v) ((v)->counter) argument
28 #define atomic_set(v,i) (((v)->counter) = (i)) argument
31 ia64_atomic_add (int i, atomic_t *v) in ia64_atomic_add()
45 ia64_atomic_sub (int i, atomic_t *v) in ia64_atomic_sub()
63 atomic_add_negative (int i, atomic_t *v) in atomic_add_negative()
68 #define atomic_add_return(i,v) \ argument
75 #define atomic_sub_return(i,v) \ argument
82 #define atomic_dec_return(v) atomic_sub_return(1, (v)) argument
83 #define atomic_inc_return(v) atomic_add_return(1, (v)) argument
85 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) argument
[all …]
/linux-2.4.37.9/include/asm-mips/
Datomic.h31 #define atomic_read(v) ((v)->counter) argument
41 #define atomic_set(v,i) ((v)->counter = (i)) argument
58 static __inline__ void atomic_add(int i, atomic_t * v) in atomic_add()
75 static __inline__ void atomic_sub(int i, atomic_t * v) in atomic_sub()
84 static __inline__ int atomic_add_return(int i, atomic_t * v) in atomic_add_return()
98 static __inline__ int atomic_sub_return(int i, atomic_t * v) in atomic_sub_return()
127 static __inline__ void atomic_add(int i, atomic_t * v) in atomic_add()
148 static __inline__ void atomic_sub(int i, atomic_t * v) in atomic_sub()
164 static __inline__ int atomic_add_return(int i, atomic_t * v) in atomic_add_return()
185 static __inline__ int atomic_sub_return(int i, atomic_t * v) in atomic_sub_return()
[all …]
/linux-2.4.37.9/include/asm-sparc/
Datomic.h18 #define atomic_read(v) ((v)->counter) argument
19 #define atomic_set(v, i) (((v)->counter) = i) argument
38 static __inline__ int atomic_read(atomic_t *v) in atomic_read()
48 #define atomic_set(v, i) (((v)->counter) = ((i) << 8)) argument
51 static inline int __atomic_add(int i, atomic_t *v) in __atomic_add()
73 static inline int __atomic_sub(int i, atomic_t *v) in __atomic_sub()
95 #define atomic_add(i, v) ((void)__atomic_add((i), (v))) argument
96 #define atomic_sub(i, v) ((void)__atomic_sub((i), (v))) argument
98 #define atomic_dec_return(v) __atomic_sub(1, (v)) argument
99 #define atomic_inc_return(v) __atomic_add(1, (v)) argument
[all …]
/linux-2.4.37.9/include/asm-mips64/
Datomic.h31 #define atomic_read(v) ((v)->counter) argument
41 #define atomic_set(v,i) ((v)->counter = (i)) argument
43 static __inline__ void atomic_add(int i, volatile atomic_t * v) in atomic_add()
64 static __inline__ void atomic_sub(int i, volatile atomic_t * v) in atomic_sub()
80 static __inline__ int atomic_add_return(int i, atomic_t * v) in atomic_add_return()
100 static __inline__ int atomic_sub_return(int i, atomic_t * v) in atomic_sub_return()
120 #define atomic_dec_return(v) atomic_sub_return(1,(v)) argument
121 #define atomic_inc_return(v) atomic_add_return(1,(v)) argument
133 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) argument
144 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0) argument
[all …]
/linux-2.4.37.9/include/asm-sh/
Datomic.h14 #define atomic_read(v) ((v)->counter) argument
15 #define atomic_set(v,i) ((v)->counter = (i)) argument
25 static __inline__ void atomic_add(int i, atomic_t * v) in atomic_add()
34 static __inline__ void atomic_sub(int i, atomic_t *v) in atomic_sub()
43 static __inline__ int atomic_add_return(int i, atomic_t * v) in atomic_add_return()
56 static __inline__ int atomic_sub_return(int i, atomic_t * v) in atomic_sub_return()
69 #define atomic_dec_return(v) atomic_sub_return(1,(v)) argument
70 #define atomic_inc_return(v) atomic_add_return(1,(v)) argument
72 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) argument
73 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) argument
[all …]
/linux-2.4.37.9/include/asm-sh64/
Datomic.h14 #define atomic_read(v) ((v)->counter) argument
15 #define atomic_set(v,i) ((v)->counter = (i)) argument
25 static __inline__ void atomic_add(int i, atomic_t * v) in atomic_add()
34 static __inline__ void atomic_sub(int i, atomic_t *v) in atomic_sub()
43 static __inline__ int atomic_add_return(int i, atomic_t * v) in atomic_add_return()
56 static __inline__ int atomic_sub_return(int i, atomic_t * v) in atomic_sub_return()
69 #define atomic_dec_return(v) atomic_sub_return(1,(v)) argument
70 #define atomic_inc_return(v) atomic_add_return(1,(v)) argument
72 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) argument
73 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) argument
[all …]
/linux-2.4.37.9/include/asm-sparc64/
Datomic.h16 #define atomic_read(v) ((v)->counter) argument
17 #define atomic_set(v, i) (((v)->counter) = i) argument
25 #define atomic_dec_return(v) atomic_sub_ret(1, v) argument
27 #define atomic_inc_return(v) atomic_add_ret(1, v) argument
29 #define atomic_sub_return(i, v) atomic_sub_ret(i, v) argument
31 #define atomic_add_return(i, v) atomic_add_ret(i, v) argument
41 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0) argument
43 #define atomic_sub_and_test(i, v) (atomic_sub_ret(i, v) == 0) argument
45 #define atomic_dec_and_test(v) (atomic_sub_ret(1, v) == 0) argument
47 #define atomic_inc(v) atomic_add(1, v) argument
[all …]
/linux-2.4.37.9/include/asm-ppc64/
Datomic.h22 #define atomic_read(v) ((v)->counter) argument
23 #define atomic_set(v,i) (((v)->counter) = (i)) argument
25 static __inline__ void atomic_add(int a, atomic_t *v) in atomic_add()
39 static __inline__ int atomic_add_return(int a, atomic_t *v) in atomic_add_return()
56 static __inline__ void atomic_sub(int a, atomic_t *v) in atomic_sub()
70 static __inline__ int atomic_sub_return(int a, atomic_t *v) in atomic_sub_return()
87 static __inline__ void atomic_inc(atomic_t *v) in atomic_inc()
101 static __inline__ int atomic_inc_return(atomic_t *v) in atomic_inc_return()
118 static __inline__ void atomic_dec(atomic_t *v) in atomic_dec()
132 static __inline__ int atomic_dec_return(atomic_t *v) in atomic_dec_return()
[all …]
/linux-2.4.37.9/include/asm-alpha/
Datomic.h22 #define atomic_read(v) ((v)->counter) argument
23 #define atomic_set(v,i) ((v)->counter = (i)) argument
31 static __inline__ void atomic_add(int i, atomic_t * v) in atomic_add()
46 static __inline__ void atomic_sub(int i, atomic_t * v) in atomic_sub()
64 static __inline__ long atomic_add_return(int i, atomic_t * v) in atomic_add_return()
82 static __inline__ long atomic_sub_return(int i, atomic_t * v) in atomic_sub_return()
100 #define atomic_dec_return(v) atomic_sub_return(1,(v)) argument
101 #define atomic_inc_return(v) atomic_add_return(1,(v)) argument
103 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) argument
104 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) argument
[all …]
/linux-2.4.37.9/include/asm-cris/
Datomic.h23 #define atomic_read(v) ((v)->counter) argument
24 #define atomic_set(v,i) (((v)->counter) = (i)) argument
28 extern __inline__ void atomic_add(int i, volatile atomic_t *v) in atomic_add()
37 extern __inline__ void atomic_sub(int i, volatile atomic_t *v) in atomic_sub()
46 extern __inline__ int atomic_add_return(int i, volatile atomic_t *v) in atomic_add_return()
57 extern __inline__ int atomic_sub_return(int i, volatile atomic_t *v) in atomic_sub_return()
68 extern __inline__ int atomic_sub_and_test(int i, volatile atomic_t *v) in atomic_sub_and_test()
79 extern __inline__ void atomic_inc(volatile atomic_t *v) in atomic_inc()
88 extern __inline__ void atomic_dec(volatile atomic_t *v) in atomic_dec()
97 extern __inline__ int atomic_inc_return(volatile atomic_t *v) in atomic_inc_return()
[all …]
/linux-2.4.37.9/include/asm-ppc/
Datomic.h14 #define atomic_read(v) ((v)->counter) argument
15 #define atomic_set(v,i) (((v)->counter) = (i)) argument
35 static __inline__ void atomic_add(int a, atomic_t *v) in atomic_add()
50 static __inline__ int atomic_add_return(int a, atomic_t *v) in atomic_add_return()
68 static __inline__ void atomic_sub(int a, atomic_t *v) in atomic_sub()
83 static __inline__ int atomic_sub_return(int a, atomic_t *v) in atomic_sub_return()
101 static __inline__ void atomic_inc(atomic_t *v) in atomic_inc()
116 static __inline__ int atomic_inc_return(atomic_t *v) in atomic_inc_return()
134 static __inline__ void atomic_dec(atomic_t *v) in atomic_dec()
149 static __inline__ int atomic_dec_return(atomic_t *v) in atomic_dec_return()
[all …]
/linux-2.4.37.9/include/asm-s390/
Datomic.h37 #define atomic_read(v) ((v)->counter) argument
38 #define atomic_set(v,i) (((v)->counter) = (i)) argument
40 static __inline__ void atomic_add(int i, atomic_t *v) in atomic_add()
46 static __inline__ int atomic_add_return (int i, atomic_t *v) in atomic_add_return()
53 static __inline__ int atomic_add_negative(int i, atomic_t *v) in atomic_add_negative()
60 static __inline__ void atomic_sub(int i, atomic_t *v) in atomic_sub()
66 static __inline__ void atomic_inc(volatile atomic_t *v) in atomic_inc()
72 static __inline__ int atomic_inc_return(volatile atomic_t *v) in atomic_inc_return()
79 static __inline__ int atomic_inc_and_test(volatile atomic_t *v) in atomic_inc_and_test()
86 static __inline__ void atomic_dec(volatile atomic_t *v) in atomic_dec()
[all …]
/linux-2.4.37.9/include/asm-s390x/
Datomic.h37 #define atomic_read(v) ((v)->counter) argument
38 #define atomic_set(v,i) (((v)->counter) = (i)) argument
40 static __inline__ void atomic_add(int i, atomic_t *v) in atomic_add()
46 static __inline__ int atomic_add_return (int i, atomic_t *v) in atomic_add_return()
53 static __inline__ int atomic_add_negative(int i, atomic_t *v) in atomic_add_negative()
60 static __inline__ void atomic_sub(int i, atomic_t *v) in atomic_sub()
66 static __inline__ void atomic_inc(volatile atomic_t *v) in atomic_inc()
72 static __inline__ int atomic_inc_return(volatile atomic_t *v) in atomic_inc_return()
79 static __inline__ int atomic_inc_and_test(volatile atomic_t *v) in atomic_inc_and_test()
86 static __inline__ void atomic_dec(volatile atomic_t *v) in atomic_dec()
[all …]
/linux-2.4.37.9/include/asm-m68k/
Datomic.h16 #define atomic_read(v) ((v)->counter) argument
17 #define atomic_set(v, i) (((v)->counter) = i) argument
19 static __inline__ void atomic_add(int i, atomic_t *v) in atomic_add()
24 static __inline__ void atomic_sub(int i, atomic_t *v) in atomic_sub()
29 static __inline__ void atomic_inc(volatile atomic_t *v) in atomic_inc()
34 static __inline__ void atomic_dec(volatile atomic_t *v) in atomic_dec()
39 static __inline__ int atomic_dec_and_test(volatile atomic_t *v) in atomic_dec_and_test()
46 #define atomic_clear_mask(mask, v) \ argument
49 #define atomic_set_mask(mask, v) \ argument
/linux-2.4.37.9/include/asm-x86_64/
Datomic.h35 #define atomic_read(v) ((v)->counter) argument
45 #define atomic_set(v,i) (((v)->counter) = (i)) argument
55 static __inline__ void atomic_add(int i, atomic_t *v) in atomic_add()
71 static __inline__ void atomic_sub(int i, atomic_t *v) in atomic_sub()
89 static __inline__ int atomic_sub_and_test(int i, atomic_t *v) in atomic_sub_and_test()
107 static __inline__ void atomic_inc(atomic_t *v) in atomic_inc()
122 static __inline__ void atomic_dec(atomic_t *v) in atomic_dec()
139 static __inline__ int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test()
159 static __inline__ int atomic_inc_and_test(atomic_t *v) in atomic_inc_and_test()
180 static __inline__ int atomic_add_negative(int i, atomic_t *v) in atomic_add_negative()
/linux-2.4.37.9/include/asm-i386/
Datomic.h33 #define atomic_read(v) ((v)->counter) argument
43 #define atomic_set(v,i) (((v)->counter) = (i)) argument
53 static __inline__ void atomic_add(int i, atomic_t *v) in atomic_add()
69 static __inline__ void atomic_sub(int i, atomic_t *v) in atomic_sub()
87 static __inline__ int atomic_sub_and_test(int i, atomic_t *v) in atomic_sub_and_test()
105 static __inline__ void atomic_inc(atomic_t *v) in atomic_inc()
120 static __inline__ void atomic_dec(atomic_t *v) in atomic_dec()
137 static __inline__ int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test()
157 static __inline__ int atomic_inc_and_test(atomic_t *v) in atomic_inc_and_test()
178 static __inline__ int atomic_add_negative(int i, atomic_t *v) in atomic_add_negative()
/linux-2.4.37.9/include/asm-parisc/
Datomic.h145 static __inline__ int __atomic_add_return(int i, atomic_t *v) in __atomic_add_return()
157 static __inline__ void __atomic_set(atomic_t *v, int i) in __atomic_set()
167 static __inline__ int __atomic_read(atomic_t *v) in __atomic_read()
174 #define atomic_add(i,v) ((void)(__atomic_add_return( (i),(v)))) argument
175 #define atomic_sub(i,v) ((void)(__atomic_add_return(-(i),(v)))) argument
176 #define atomic_inc(v) ((void)(__atomic_add_return( 1,(v)))) argument
177 #define atomic_dec(v) ((void)(__atomic_add_return( -1,(v)))) argument
179 #define atomic_add_return(i,v) (__atomic_add_return( (i),(v))) argument
180 #define atomic_sub_return(i,v) (__atomic_add_return(-(i),(v))) argument
181 #define atomic_inc_return(v) (__atomic_add_return( 1,(v))) argument
[all …]
/linux-2.4.37.9/include/asm-arm/
Datomic.h32 #define atomic_read(v) ((v)->counter) argument
33 #define atomic_set(v,i) (((v)->counter) = (i)) argument
35 static inline void atomic_add(int i, volatile atomic_t *v) in atomic_add()
44 static inline void atomic_sub(int i, volatile atomic_t *v) in atomic_sub()
53 static inline void atomic_inc(volatile atomic_t *v) in atomic_inc()
62 static inline void atomic_dec(volatile atomic_t *v) in atomic_dec()
71 static inline int atomic_dec_and_test(volatile atomic_t *v) in atomic_dec_and_test()
84 static inline int atomic_add_negative(int i, volatile atomic_t *v) in atomic_add_negative()
/linux-2.4.37.9/include/asm-arm/arch-ebsa110/
Dio.h22 #define __arch_putw(v,a) (*(volatile unsigned short *)(a) = (v)) argument
50 #define outb(v,p) __outb16(v,p) argument
53 #define outb(v,p) __outb8(v,p) argument
57 #define outw(v,p) __outw(v,p) argument
60 #define outl(v,p) __outl(v,p) argument
66 #define writeb(v,b) __writeb(v,b) argument
67 #define writew(v,b) __writew(v,b) argument
68 #define writel(v,b) __writel(v,b) argument
/linux-2.4.37.9/fs/ntfs/
Dntfsendian.h33 #define NTFS_PUTU8(p,v) ((*(ntfs_u8*)(p)) = (v)) argument
34 #define NTFS_PUTU16(p,v) ((*(ntfs_u16*)(p)) = CPU_TO_LE16(v)) argument
35 #define NTFS_PUTU24(p,v) NTFS_PUTU16(p, (v) & 0xFFFF);\ argument
37 #define NTFS_PUTU32(p,v) ((*(ntfs_u32*)(p)) = CPU_TO_LE32(v)) argument
38 #define NTFS_PUTU64(p,v) ((*(ntfs_u64*)(p)) = CPU_TO_LE64(v)) argument
55 #define NTFS_PUTS8(p,v) NTFS_PUTU8(p,v) argument
56 #define NTFS_PUTS16(p,v) NTFS_PUTU16(p,v) argument
57 #define NTFS_PUTS24(p,v) NTFS_PUTU24(p,v) argument
58 #define NTFS_PUTS32(p,v) NTFS_PUTU32(p,v) argument
59 #define NTFS_PUTS64(p,v) NTFS_PUTU64(p,v) argument
/linux-2.4.37.9/include/asm-arm/arch-l7200/
Dio.h41 #define __arch_putb(v,a) (*(volatile unsigned char *)(a) = (v)) argument
42 #define __arch_putl(v,a) (*(volatile unsigned int *)(a) = (v)) argument
55 #define outb_t(v,p) (*(volatile unsigned char *)(p) = (v)) argument
57 #define outw_t(v,p) (*(volatile unsigned int *)(p) = (v)) argument
59 #define outl_t(v,p) (*(volatile unsigned long *)(p) = (v)) argument
72 #define outb(v,p) outb_t(v,p) argument
73 #define outw(v,p) outw_t(v,p) argument
74 #define outl(v,p) outl_t(v,p) argument
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_misc.h251 #define __htole16(v) __revb16(v) argument
252 #define __htole32(v) __revb32(v) argument
253 #define __le16toh(v) __htole16(v) argument
254 #define __le32toh(v) __htole32(v) argument
256 static __inline u16 _htole16(u16 v) { return __htole16(v); } in _htole16()
257 static __inline u32 _htole32(u32 v) { return __htole32(v); } in _htole32()
263 #define __htole16(v) (v) argument
264 #define __htole32(v) (v) argument
265 #define __le16toh(v) (v) argument
266 #define __le32toh(v) (v) argument
[all …]
/linux-2.4.37.9/drivers/isdn/
Disdn_v110.c92 isdn_v110_stream *v; in isdn_v110_open() local
135 isdn_v110_close(isdn_v110_stream * v) in isdn_v110_close()
151 ValidHeaderBytes(isdn_v110_stream * v) in ValidHeaderBytes()
164 SyncHeader(isdn_v110_stream * v) in SyncHeader()
190 DecodeMatrix(isdn_v110_stream * v, unsigned char *m, int len, unsigned char *buf) in DecodeMatrix()
255 isdn_v110_decode(isdn_v110_stream * v, struct sk_buff *skb) in isdn_v110_decode()
413 isdn_v110_sync(isdn_v110_stream *v) in isdn_v110_sync()
433 isdn_v110_idle(isdn_v110_stream *v) in isdn_v110_idle()
450 isdn_v110_encode(isdn_v110_stream * v, struct sk_buff *skb) in isdn_v110_encode()
520 isdn_v110_stream *v = NULL; in isdn_v110_stat_callback() local
/linux-2.4.37.9/drivers/sbus/audio/
Ddbri.h174 #define D_PIPE(v) ((v)<<0) /* Pipe Nr: 0-15 long, 16-21 short */ argument
190 #define D_SDP_MODE(v) ((v)&(7<<13)) argument
205 #define D_DTS_PRVIN(v) ((v)<<10) /* Previous In Pipe */ argument
206 #define D_DTS_PRVOUT(v) ((v)<<5) /* Previous Out Pipe */ argument
209 #define D_TS_LEN(v) ((v)<<24) /* Number of bits in this time slot */ argument
210 #define D_TS_CYCLE(v) ((v)<<14) /* Bit Count at start of TS */ argument
216 #define D_TS_MON(v) ((v)<<5) /* Monitor Pipe */ argument
217 #define D_TS_NEXT(v) ((v)<<0) /* Pipe Nr: 0-15 long, 16-21 short */ argument
220 #define D_CHI_CHICM(v) ((v)<<16) /* Clock mode */ argument
226 #define D_CHI_BPF(v) ((v)<<0) /* Bits per Frame */ argument
[all …]
/linux-2.4.37.9/include/asm-mips/lasat/
Dlasat.h110 #define LASAT_W0_DSCTYPE(v) ( ( (v) ) & 0xf ) argument
111 #define LASAT_W0_BMID(v) ( ( (v) >> 0x04 ) & 0xf ) argument
112 #define LASAT_W0_CPUTYPE(v) ( ( (v) >> 0x08 ) & 0xf ) argument
113 #define LASAT_W0_BUSSPEED(v) ( ( (v) >> 0x0c ) & 0xf ) argument
114 #define LASAT_W0_CPUCLK(v) ( ( (v) >> 0x10 ) & 0xf ) argument
115 #define LASAT_W0_SDRAMBANKSZ(v) ( ( (v) >> 0x14 ) & 0xf ) argument
116 #define LASAT_W0_SDRAMBANKS(v) ( ( (v) >> 0x18 ) & 0xf ) argument
117 #define LASAT_W0_L2CACHE(v) ( ( (v) >> 0x1c ) & 0xf ) argument
119 #define LASAT_W1_EDHAC(v) ( ( (v) ) & 0xf ) argument
120 #define LASAT_W1_HIFN(v) ( ( (v) >> 0x04 ) & 0x1 ) argument
[all …]

12345678910>>...22