Home
last modified time | relevance | path

Searched defs:nr (Results 1 – 25 of 636) sorted by relevance

12345678910>>...26

/linux-2.6.39/arch/m68k/include/asm/
Dbitops_no.h52 static __inline__ void set_bit(int nr, volatile unsigned long * addr) in set_bit()
67 #define __set_bit(nr, addr) set_bit(nr, addr) argument
75 static __inline__ void clear_bit(int nr, volatile unsigned long * addr) in clear_bit()
90 #define __clear_bit(nr, addr) clear_bit(nr, addr) argument
92 static __inline__ void change_bit(int nr, volatile unsigned long * addr) in change_bit()
107 #define __change_bit(nr, addr) change_bit(nr, addr) argument
109 static __inline__ int test_and_set_bit(int nr, volatile unsigned long * addr) in test_and_set_bit()
128 #define __test_and_set_bit(nr, addr) test_and_set_bit(nr, addr) argument
130 static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit()
149 #define __test_and_clear_bit(nr, addr) test_and_clear_bit(nr, addr) argument
[all …]
Dbitops_mm.h23 #define test_and_set_bit(nr,vaddr) \ argument
28 #define __test_and_set_bit(nr,vaddr) test_and_set_bit(nr,vaddr) argument
30 static inline int __constant_test_and_set_bit(int nr, unsigned long *vaddr) in __constant_test_and_set_bit()
42 static inline int __generic_test_and_set_bit(int nr, unsigned long *vaddr) in __generic_test_and_set_bit()
52 #define set_bit(nr,vaddr) \ argument
57 #define __set_bit(nr,vaddr) set_bit(nr,vaddr) argument
59 static inline void __constant_set_bit(int nr, volatile unsigned long *vaddr) in __constant_set_bit()
66 static inline void __generic_set_bit(int nr, volatile unsigned long *vaddr) in __generic_set_bit()
72 #define test_and_clear_bit(nr,vaddr) \ argument
77 #define __test_and_clear_bit(nr,vaddr) test_and_clear_bit(nr,vaddr) argument
[all …]
/linux-2.6.39/arch/x86/include/asm/
Dbitops.h40 #define IS_IMMEDIATE(nr) (__builtin_constant_p(nr)) argument
41 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3)) argument
42 #define CONST_MASK(nr) (1 << ((nr) & 7)) argument
60 set_bit(unsigned int nr, volatile unsigned long *addr) in set_bit()
82 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit()
98 clear_bit(int nr, volatile unsigned long *addr) in clear_bit()
119 static inline void clear_bit_unlock(unsigned nr, volatile unsigned long *addr) in clear_bit_unlock()
125 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit()
142 static inline void __clear_bit_unlock(unsigned nr, volatile unsigned long *addr) in __clear_bit_unlock()
160 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit()
[all …]
Dsync_bitops.h29 static inline void sync_set_bit(int nr, volatile unsigned long *addr) in sync_set_bit()
47 static inline void sync_clear_bit(int nr, volatile unsigned long *addr) in sync_clear_bit()
64 static inline void sync_change_bit(int nr, volatile unsigned long *addr) in sync_change_bit()
80 static inline int sync_test_and_set_bit(int nr, volatile unsigned long *addr) in sync_test_and_set_bit()
98 static inline int sync_test_and_clear_bit(int nr, volatile unsigned long *addr) in sync_test_and_clear_bit()
116 static inline int sync_test_and_change_bit(int nr, volatile unsigned long *addr) in sync_test_and_change_bit()
126 #define sync_test_bit(nr, addr) test_bit(nr, addr) argument
/linux-2.6.39/arch/powerpc/include/asm/
Dbitops.h55 #define BITOP_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) argument
56 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) argument
84 static __inline__ void set_bit(int nr, volatile unsigned long *addr) in set_bit()
89 static __inline__ void clear_bit(int nr, volatile unsigned long *addr) in clear_bit()
94 static __inline__ void clear_bit_unlock(int nr, volatile unsigned long *addr) in clear_bit_unlock()
99 static __inline__ void change_bit(int nr, volatile unsigned long *addr) in change_bit()
136 static __inline__ int test_and_set_bit(unsigned long nr, in test_and_set_bit()
142 static __inline__ int test_and_set_bit_lock(unsigned long nr, in test_and_set_bit_lock()
149 static __inline__ int test_and_clear_bit(unsigned long nr, in test_and_clear_bit()
155 static __inline__ int test_and_change_bit(unsigned long nr, in test_and_change_bit()
[all …]
/linux-2.6.39/arch/sh/include/asm/
Dbitops-op32.h11 #define BYTE_NUMBER(nr) ((nr ^ BITOP_LE_SWIZZLE) / BITS_PER_BYTE) argument
12 #define BYTE_OFFSET(nr) ((nr ^ BITOP_LE_SWIZZLE) % BITS_PER_BYTE) argument
14 #define BYTE_NUMBER(nr) ((nr) / BITS_PER_BYTE) argument
15 #define BYTE_OFFSET(nr) ((nr) % BITS_PER_BYTE) argument
18 #define IS_IMMEDIATE(nr) (__builtin_constant_p(nr)) argument
20 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit()
37 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit()
64 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit()
91 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit()
110 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit()
[all …]
/linux-2.6.39/arch/mn10300/include/asm/
Dbitops.h28 #define __set_bit(nr, addr) \ argument
40 #define set_bit(nr, addr) __set_bit((nr), (addr)) argument
45 #define ___clear_bit(nr, addr) \ argument
57 #define clear_bit(nr, addr) ___clear_bit((nr), (addr)) argument
60 static inline void __clear_bit(unsigned long nr, volatile void *addr) in __clear_bit()
73 static inline int test_bit(unsigned long nr, const volatile void *addr) in test_bit()
81 static inline void __change_bit(unsigned long nr, volatile void *addr) in __change_bit()
96 #define __test_and_set_bit(nr,addr) \ argument
112 #define test_and_set_bit(nr, addr) __test_and_set_bit((nr), (addr)) argument
117 #define __test_and_clear_bit(nr, addr) \ argument
[all …]
/linux-2.6.39/include/asm-generic/
Dioctl.h65 #define _IOC(dir,type,nr,size) \ argument
83 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
84 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument
85 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
86 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
87 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
88 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
89 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
92 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
93 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
[all …]
/linux-2.6.39/arch/s390/include/asm/
Debcdic.h25 codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr) in codepage_convert()
41 #define ASCEBC(addr,nr) codepage_convert(_ascebc, addr, nr) argument
42 #define EBCASC(addr,nr) codepage_convert(_ebcasc, addr, nr) argument
43 #define ASCEBC_500(addr,nr) codepage_convert(_ascebc_500, addr, nr) argument
44 #define EBCASC_500(addr,nr) codepage_convert(_ebcasc_500, addr, nr) argument
45 #define EBC_TOLOWER(addr,nr) codepage_convert(_ebc_tolower, addr, nr) argument
46 #define EBC_TOUPPER(addr,nr) codepage_convert(_ebc_toupper, addr, nr) argument
Dbitops.h115 static inline void set_bit_cs(unsigned long nr, volatile unsigned long *ptr) in set_bit_cs()
131 static inline void clear_bit_cs(unsigned long nr, volatile unsigned long *ptr) in clear_bit_cs()
147 static inline void change_bit_cs(unsigned long nr, volatile unsigned long *ptr) in change_bit_cs()
164 test_and_set_bit_cs(unsigned long nr, volatile unsigned long *ptr) in test_and_set_bit_cs()
183 test_and_clear_bit_cs(unsigned long nr, volatile unsigned long *ptr) in test_and_clear_bit_cs()
202 test_and_change_bit_cs(unsigned long nr, volatile unsigned long *ptr) in test_and_change_bit_cs()
221 static inline void __set_bit(unsigned long nr, volatile unsigned long *ptr) in __set_bit()
232 __constant_set_bit(const unsigned long nr, volatile unsigned long *ptr) in __constant_set_bit()
240 #define set_bit_simple(nr,addr) \ argument
249 __clear_bit(unsigned long nr, volatile unsigned long *ptr) in __clear_bit()
[all …]
Dkvm_para.h33 static inline long kvm_hypercall0(unsigned long nr) in kvm_hypercall0()
43 static inline long kvm_hypercall1(unsigned long nr, unsigned long p1) in kvm_hypercall1()
54 static inline long kvm_hypercall2(unsigned long nr, unsigned long p1, in kvm_hypercall2()
68 static inline long kvm_hypercall3(unsigned long nr, unsigned long p1, in kvm_hypercall3()
84 static inline long kvm_hypercall4(unsigned long nr, unsigned long p1, in kvm_hypercall4()
101 static inline long kvm_hypercall5(unsigned long nr, unsigned long p1, in kvm_hypercall5()
119 static inline long kvm_hypercall6(unsigned long nr, unsigned long p1, in kvm_hypercall6()
/linux-2.6.39/drivers/hwmon/
Df75375s.c57 #define F75375_REG_VOLT(nr) (0x10 + (nr)) argument
58 #define F75375_REG_VOLT_HIGH(nr) (0x20 + (nr) * 2) argument
59 #define F75375_REG_VOLT_LOW(nr) (0x21 + (nr) * 2) argument
61 #define F75375_REG_TEMP(nr) (0x14 + (nr)) argument
62 #define F75375_REG_TEMP_HIGH(nr) (0x28 + (nr) * 2) argument
63 #define F75375_REG_TEMP_HYST(nr) (0x29 + (nr) * 2) argument
65 #define F75375_REG_FAN(nr) (0x16 + (nr) * 2) argument
66 #define F75375_REG_FAN_MIN(nr) (0x2C + (nr) * 2) argument
67 #define F75375_REG_FAN_FULL(nr) (0x70 + (nr) * 0x10) argument
68 #define F75375_REG_FAN_PWM_DUTY(nr) (0x76 + (nr) * 0x10) argument
[all …]
/linux-2.6.39/arch/ia64/include/asm/
Dsync_bitops.h13 static inline void sync_set_bit(int nr, volatile void *addr) in sync_set_bit()
18 static inline void sync_clear_bit(int nr, volatile void *addr) in sync_clear_bit()
23 static inline void sync_change_bit(int nr, volatile void *addr) in sync_change_bit()
28 static inline int sync_test_and_set_bit(int nr, volatile void *addr) in sync_test_and_set_bit()
33 static inline int sync_test_and_clear_bit(int nr, volatile void *addr) in sync_test_and_clear_bit()
38 static inline int sync_test_and_change_bit(int nr, volatile void *addr) in sync_test_and_change_bit()
43 static inline int sync_test_bit(int nr, const volatile void *addr) in sync_test_bit()
Dbitops.h38 set_bit (int nr, volatile void *addr) in set_bit()
63 __set_bit (int nr, volatile void *addr) in __set_bit()
85 clear_bit (int nr, volatile void *addr) in clear_bit()
109 clear_bit_unlock (int nr, volatile void *addr) in clear_bit_unlock()
133 __clear_bit_unlock(int nr, void *addr) in __clear_bit_unlock()
151 __clear_bit (int nr, volatile void *addr) in __clear_bit()
166 change_bit (int nr, volatile void *addr) in change_bit()
191 __change_bit (int nr, volatile void *addr) in __change_bit()
205 test_and_set_bit (int nr, volatile void *addr) in test_and_set_bit()
240 __test_and_set_bit (int nr, volatile void *addr) in __test_and_set_bit()
[all …]
/linux-2.6.39/net/netrom/
Dnr_timer.c41 struct nr_sock *nr = nr_sk(sk); in nr_init_timers() local
55 struct nr_sock *nr = nr_sk(sk); in nr_start_t1timer() local
62 struct nr_sock *nr = nr_sk(sk); in nr_start_t2timer() local
69 struct nr_sock *nr = nr_sk(sk); in nr_start_t4timer() local
76 struct nr_sock *nr = nr_sk(sk); in nr_start_idletimer() local
120 struct nr_sock *nr = nr_sk(sk); in nr_heartbeat_expiry() local
159 struct nr_sock *nr = nr_sk(sk); in nr_t2timer_expiry() local
181 struct nr_sock *nr = nr_sk(sk); in nr_idletimer_expiry() local
209 struct nr_sock *nr = nr_sk(sk); in nr_t1timer_expiry() local
Dnr_out.c85 struct nr_sock *nr = nr_sk(sk); in nr_send_iframe() local
104 struct nr_sock *nr = nr_sk(sk); in nr_send_nak_frame() local
128 struct nr_sock *nr = nr_sk(sk); in nr_kick() local
191 struct nr_sock *nr = nr_sk(sk); in nr_transmit_buffer() local
226 struct nr_sock *nr = nr_sk(sk); in nr_establish_data_link() local
244 struct nr_sock *nr = nr_sk(sk); in nr_enquiry_response() local
260 void nr_check_iframes_acked(struct sock *sk, unsigned short nr) in nr_check_iframes_acked()
/linux-2.6.39/arch/alpha/include/asm/
Dioctl.h39 #define _IOC(dir,type,nr,size) \ argument
47 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
48 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
49 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
50 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
53 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
54 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
55 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
56 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) argument
Dbitops.h28 set_bit(unsigned long nr, volatile void * addr) in set_bit()
49 __set_bit(unsigned long nr, volatile void * addr) in __set_bit()
60 clear_bit(unsigned long nr, volatile void * addr) in clear_bit()
78 clear_bit_unlock(unsigned long nr, volatile void * addr) in clear_bit_unlock()
88 __clear_bit(unsigned long nr, volatile void * addr) in __clear_bit()
96 __clear_bit_unlock(unsigned long nr, volatile void * addr) in __clear_bit_unlock()
103 change_bit(unsigned long nr, volatile void * addr) in change_bit()
124 __change_bit(unsigned long nr, volatile void * addr) in __change_bit()
132 test_and_set_bit(unsigned long nr, volatile void *addr) in test_and_set_bit()
162 test_and_set_bit_lock(unsigned long nr, volatile void *addr) in test_and_set_bit_lock()
[all …]
/linux-2.6.39/arch/sparc/include/asm/
Dioctl.h38 #define _IOC(dir,type,nr,size) \ argument
44 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
45 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
46 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
47 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
50 #define _IOC_DIR(nr) \ argument
54 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
55 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
56 #define _IOC_SIZE(nr) \ argument
/linux-2.6.39/arch/tile/include/asm/
Dbitops_32.h37 static inline void set_bit(unsigned nr, volatile unsigned long *addr) in set_bit()
56 static inline void clear_bit(unsigned nr, volatile unsigned long *addr) in clear_bit()
71 static inline void change_bit(unsigned nr, volatile unsigned long *addr) in change_bit()
84 static inline int test_and_set_bit(unsigned nr, volatile unsigned long *addr) in test_and_set_bit()
100 static inline int test_and_clear_bit(unsigned nr, volatile unsigned long *addr) in test_and_clear_bit()
116 static inline int test_and_change_bit(unsigned nr, in test_and_change_bit()
/linux-2.6.39/arch/frv/include/asm/
Dbitops.h115 static inline int test_and_clear_bit(unsigned long nr, volatile void *addr) in test_and_clear_bit()
123 static inline int test_and_set_bit(unsigned long nr, volatile void *addr) in test_and_set_bit()
131 static inline int test_and_change_bit(unsigned long nr, volatile void *addr) in test_and_change_bit()
139 static inline void clear_bit(unsigned long nr, volatile void *addr) in clear_bit()
144 static inline void set_bit(unsigned long nr, volatile void *addr) in set_bit()
149 static inline void change_bit(unsigned long nr, volatile void *addr) in change_bit()
154 static inline void __clear_bit(unsigned long nr, volatile void *addr) in __clear_bit()
164 static inline void __set_bit(unsigned long nr, volatile void *addr) in __set_bit()
174 static inline void __change_bit(unsigned long nr, volatile void *addr) in __change_bit()
184 static inline int __test_and_clear_bit(unsigned long nr, volatile void *addr) in __test_and_clear_bit()
[all …]
/linux-2.6.39/include/asm-generic/bitops/
Dnon-atomic.h15 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit()
23 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit()
40 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit()
57 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit()
76 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit()
87 static inline int __test_and_change_bit(int nr, in __test_and_change_bit()
103 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit()
Dle.h45 static inline int test_bit_le(int nr, const void *addr) in test_bit_le()
50 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le()
55 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le()
60 static inline int test_and_set_bit_le(int nr, void *addr) in test_and_set_bit_le()
65 static inline int test_and_clear_bit_le(int nr, void *addr) in test_and_clear_bit_le()
70 static inline int __test_and_set_bit_le(int nr, void *addr) in __test_and_set_bit_le()
75 static inline int __test_and_clear_bit_le(int nr, void *addr) in __test_and_clear_bit_le()
/linux-2.6.39/arch/arm/include/asm/
Dbitops.h181 #define ATOMIC_BITOP(name,nr,p) \ argument
184 #define ATOMIC_BITOP(name,nr,p) _##name(nr,p) argument
190 #define set_bit(nr,p) ATOMIC_BITOP(set_bit,nr,p) argument
191 #define clear_bit(nr,p) ATOMIC_BITOP(clear_bit,nr,p) argument
192 #define change_bit(nr,p) ATOMIC_BITOP(change_bit,nr,p) argument
193 #define test_and_set_bit(nr,p) ATOMIC_BITOP(test_and_set_bit,nr,p) argument
194 #define test_and_clear_bit(nr,p) ATOMIC_BITOP(test_and_clear_bit,nr,p) argument
195 #define test_and_change_bit(nr,p) ATOMIC_BITOP(test_and_change_bit,nr,p) argument
290 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le()
295 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le()
[all …]
/linux-2.6.39/arch/blackfin/include/asm/
Dbitops.h61 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit()
67 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit()
73 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit()
79 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit()
85 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit()
91 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit()
97 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit()

12345678910>>...26