Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/arch/ia64/sn/pci/pcibr/
Dpcibr_reg.c28 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_control_bit_clr() local
48 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_control_bit_set() local
71 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_tflush_get() local
101 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_intr_status_get() local
126 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_intr_enable_bit_clr() local
146 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_intr_enable_bit_set() local
170 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_intr_addr_addr_set() local
199 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_force_intr_set() local
222 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_wrb_flush_get() local
247 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_int_ate_set() local
[all …]
/arch/parisc/include/asm/
Dcmpxchg.h24 __xchg(unsigned long x, __volatile__ void *ptr, int size) in __xchg()
46 #define xchg(ptr, x) \ argument
59 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg()
72 #define cmpxchg(ptr, o, n) \ argument
82 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
100 #define cmpxchg_local(ptr, o, n) \ argument
104 #define cmpxchg64_local(ptr, o, n) \ argument
110 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
113 #define cmpxchg64(ptr, o, n) __cmpxchg_u64(ptr, o, n) argument
/arch/arc/include/asm/
Dcmpxchg.h20 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
50 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
70 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
95 #define cmpxchg(ptr, o, n) ((typeof(*(ptr)))__cmpxchg((ptr), \ argument
112 static inline unsigned long __xchg(unsigned long val, volatile void *ptr, in __xchg()
134 #define _xchg(ptr, with) ((typeof(*(ptr)))__xchg((unsigned long)(with), (ptr), \ argument
154 #define xchg(ptr, with) \ argument
167 #define xchg(ptr, with) _xchg(ptr, with) argument
173 static inline unsigned long __xchg(unsigned long val, volatile void *ptr, in __xchg()
201 #define xchg(ptr, with) ((typeof(*(ptr)))__xchg((unsigned long)(with), (ptr), \ argument
/arch/s390/include/asm/
Dbitops.h99 __bitops_word(unsigned long nr, volatile unsigned long *ptr) in __bitops_word()
108 __bitops_byte(unsigned long nr, volatile unsigned long *ptr) in __bitops_byte()
113 static inline void set_bit(unsigned long nr, volatile unsigned long *ptr) in set_bit()
134 static inline void clear_bit(unsigned long nr, volatile unsigned long *ptr) in clear_bit()
155 static inline void change_bit(unsigned long nr, volatile unsigned long *ptr) in change_bit()
177 test_and_set_bit(unsigned long nr, volatile unsigned long *ptr) in test_and_set_bit()
188 test_and_clear_bit(unsigned long nr, volatile unsigned long *ptr) in test_and_clear_bit()
199 test_and_change_bit(unsigned long nr, volatile unsigned long *ptr) in test_and_change_bit()
209 static inline void __set_bit(unsigned long nr, volatile unsigned long *ptr) in __set_bit()
217 __clear_bit(unsigned long nr, volatile unsigned long *ptr) in __clear_bit()
[all …]
/arch/frv/include/asm/
Dcmpxchg.h27 #define xchg(ptr, x) \ argument
55 #define xchg(ptr, x) \ argument
82 #define cmpxchg(ptr, test, new) \ argument
122 #define cmpxchg(ptr, test, new) \ argument
147 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
165 #define cmpxchg_local(ptr, o, n) \ argument
168 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
/arch/arm/include/asm/
Dcmpxchg.h27 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg()
116 #define xchg_relaxed(ptr, x) ({ \ argument
136 #define cmpxchg_local(ptr, o, n) ({ \ argument
143 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
155 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
209 #define cmpxchg_relaxed(ptr,o,n) ({ \ argument
216 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
236 #define cmpxchg_local(ptr, o, n) ({ \ argument
243 static inline unsigned long long __cmpxchg64(unsigned long long *ptr, in __cmpxchg64()
268 #define cmpxchg64_relaxed(ptr, o, n) ({ \ argument
[all …]
/arch/tile/include/asm/
Dcmpxchg.h43 #define xchg(ptr, n) \ argument
51 #define cmpxchg(ptr, o, n) \ argument
60 #define xchg64(ptr, n) \ argument
69 #define cmpxchg64(ptr, o, n) \ argument
80 #define xchg(ptr, n) \ argument
102 #define cmpxchg(ptr, o, n) \ argument
Duaccess.h144 #define __get_user_asm(OP, x, ptr, ret) \ argument
158 #define __get_user_1(x, ptr, ret) __get_user_asm(ld1u, x, ptr, ret) argument
159 #define __get_user_2(x, ptr, ret) __get_user_asm(ld2u, x, ptr, ret) argument
160 #define __get_user_4(x, ptr, ret) __get_user_asm(ld4s, x, ptr, ret) argument
161 #define __get_user_8(x, ptr, ret) __get_user_asm(ld, x, ptr, ret) argument
163 #define __get_user_1(x, ptr, ret) __get_user_asm(lb_u, x, ptr, ret) argument
164 #define __get_user_2(x, ptr, ret) __get_user_asm(lh_u, x, ptr, ret) argument
165 #define __get_user_4(x, ptr, ret) __get_user_asm(lw, x, ptr, ret) argument
173 #define __get_user_8(x, ptr, ret) \ argument
219 #define __get_user(x, ptr) \ argument
[all …]
/arch/blackfin/include/asm/
Dcmpxchg.h24 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg()
49 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
68 #define cmpxchg(ptr, o, n) \ argument
82 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg()
120 #define cmpxchg_local(ptr, o, n) \ argument
123 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
125 #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) argument
126 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
130 #define xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) argument
/arch/sparc/include/asm/
Dcmpxchg_32.h17 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, int size) in __xchg()
27 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) argument
45 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg()
57 #define cmpxchg(ptr, o, n) \ argument
71 #define cmpxchg_local(ptr, o, n) \ argument
74 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
Dcmpxchg_64.h43 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) argument
47 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, in __xchg()
95 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg()
107 #define cmpxchg(ptr,o,n) \ argument
120 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
134 #define cmpxchg_local(ptr, o, n) \ argument
137 #define cmpxchg64_local(ptr, o, n) \ argument
142 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
/arch/x86/include/asm/
Dcmpxchg_32.h23 static inline void set_64bit(volatile u64 *ptr, u64 value) in set_64bit()
38 #define cmpxchg64(ptr, o, n) \ argument
41 #define cmpxchg64_local(ptr, o, n) \ argument
46 static inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64()
59 static inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64_local()
78 #define cmpxchg64(ptr, o, n) \ argument
95 #define cmpxchg64_local(ptr, o, n) \ argument
Dcmpxchg.h41 #define __xchg_op(ptr, arg, op, lock) \ argument
77 #define xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") argument
84 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument
132 #define __cmpxchg(ptr, old, new, size) \ argument
135 #define __sync_cmpxchg(ptr, old, new, size) \ argument
138 #define __cmpxchg_local(ptr, old, new, size) \ argument
147 #define cmpxchg(ptr, old, new) \ argument
150 #define sync_cmpxchg(ptr, old, new) \ argument
153 #define cmpxchg_local(ptr, old, new) \ argument
162 #define __xadd(ptr, inc, lock) __xchg_op((ptr), (inc), xadd, lock) argument
[all …]
Duaccess.h170 #define get_user(x, ptr) \ argument
184 #define __put_user_x(size, x, ptr, __ret_pu) \ argument
214 #define __put_user_x8(x, ptr, __ret_pu) \ argument
218 #define __put_user_asm_u64(x, ptr, retval, errret) \ argument
222 #define __put_user_x8(x, ptr, __ret_pu) __put_user_x(8, x, ptr, __ret_pu) argument
253 #define put_user(x, ptr) \ argument
280 #define __put_user_size(x, ptr, size, retval, errret) \ argument
307 #define __put_user_size_ex(x, ptr, size) \ argument
329 #define __get_user_asm_u64(x, ptr, retval, errret) \ argument
349 #define __get_user_asm_ex_u64(x, ptr) (x) = __get_user_bad() argument
[all …]
/arch/xtensa/include/asm/
Dcmpxchg.h56 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg()
65 #define cmpxchg(ptr,o,n) \ argument
74 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
92 #define cmpxchg_local(ptr, o, n) \ argument
95 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
96 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
138 #define xchg(ptr,x) \ argument
150 __xchg(unsigned long x, volatile void * ptr, int size) in __xchg()
/arch/m68k/include/asm/
Dcmpxchg.h12 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg()
43 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg()
78 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) argument
82 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
120 #define cmpxchg(ptr, o, n) \ argument
123 #define cmpxchg_local(ptr, o, n) \ argument
127 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
135 #define cmpxchg_local(ptr, o, n) \ argument
/arch/m32r/include/asm/
Dcmpxchg.h17 __xchg(unsigned long x, volatile void *ptr, int size) in __xchg()
67 #define xchg(ptr, x) \ argument
71 __xchg_local(unsigned long x, volatile void *ptr, int size) in __xchg_local()
106 #define xchg_local(ptr, x) \ argument
176 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg()
190 #define cmpxchg(ptr, o, n) \ argument
196 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
214 #define cmpxchg_local(ptr, o, n) \ argument
217 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
/arch/powerpc/include/asm/
Dcmpxchg.h88 __xchg_local(volatile void *ptr, unsigned long x, unsigned int size) in __xchg_local()
103 __xchg_relaxed(void *ptr, unsigned long x, unsigned int size) in __xchg_relaxed()
116 #define xchg_local(ptr,x) \ argument
123 #define xchg_relaxed(ptr, x) \ argument
315 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg()
331 __cmpxchg_local(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg_local()
347 __cmpxchg_relaxed(void *ptr, unsigned long old, unsigned long new, in __cmpxchg_relaxed()
363 __cmpxchg_acquire(void *ptr, unsigned long old, unsigned long new, in __cmpxchg_acquire()
377 #define cmpxchg(ptr, o, n) \ argument
386 #define cmpxchg_local(ptr, o, n) \ argument
[all …]
/arch/ia64/include/uapi/asm/
Dcmpxchg.h29 #define __xchg(x, ptr, size) \ argument
55 #define xchg(ptr, x) \ argument
70 #define ia64_cmpxchg(sem, ptr, old, new, size) \ argument
114 #define cmpxchg_acq(ptr, o, n) \ argument
116 #define cmpxchg_rel(ptr, o, n) \ argument
129 #define cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) argument
130 #define cmpxchg64(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) argument
/arch/mips/include/asm/
Dcmpxchg.h121 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg()
133 #define xchg(ptr, x) \ argument
198 #define __cmpxchg(ptr, old, new, pre_barrier, post_barrier) \ argument
227 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_mb__before_llsc(), smp_llsc_mb()) argument
228 #define cmpxchg_local(ptr, old, new) __cmpxchg(ptr, old, new, , ) argument
231 #define cmpxchg64_local(ptr, o, n) \ argument
237 #define cmpxchg64(ptr, o, n) \ argument
244 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
245 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
/arch/avr32/include/asm/
Dcmpxchg.h17 #define xchg(ptr,x) \ argument
34 volatile void *ptr, in __xchg()
73 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
87 #define cmpxchg(ptr, old, new) \ argument
94 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
108 #define cmpxchg_local(ptr, old, new) \ argument
113 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
/arch/sh/include/asm/
Dcmpxchg.h24 #define __xchg(ptr, x, size) \ argument
47 #define xchg(ptr,x) \ argument
54 static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, in __cmpxchg()
65 #define cmpxchg(ptr,o,n) \ argument
/arch/unicore32/include/asm/
Dcmpxchg.h19 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg()
44 #define xchg(ptr, x) \ argument
53 #define cmpxchg_local(ptr, o, n) \ argument
56 #define cmpxchg64_local(ptr, o, n) \ argument
/arch/metag/include/asm/
Dcmpxchg.h16 #define __xchg(ptr, x, size) \ argument
36 #define xchg(ptr, x) \ argument
43 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
54 #define cmpxchg(ptr, o, n) \ argument
/arch/c6x/include/asm/
Dcmpxchg.h19 static inline unsigned int __xchg(unsigned int x, volatile void *ptr, int size) in __xchg()
47 #define xchg(ptr, x) \ argument
57 #define cmpxchg_local(ptr, o, n) \ argument
62 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument

12345678910>>...14