Home
last modified time | relevance | path

Searched refs:__get_user_asm (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/arch/sparc/include/asm/
H A Duaccess_32.h116 __get_user_asm(__gu_val, ub, addr, __gu_ret); \
119 __get_user_asm(__gu_val, uh, addr, __gu_ret); \
122 __get_user_asm(__gu_val, , addr, __gu_ret); \
125 __get_user_asm(__gu_val, d, addr, __gu_ret); \
144 case 1: __get_user_asm(__gu_val, ub, addr, __gu_ret); break; \
145 case 2: __get_user_asm(__gu_val, uh, addr, __gu_ret); break; \
146 case 4: __get_user_asm(__gu_val, , addr, __gu_ret); break; \
147 case 8: __get_user_asm(__gu_val, d, addr, __gu_ret); break; \
157 #define __get_user_asm(x, size, addr, ret) \ macro
H A Duaccess_64.h191 case 1: __get_user_asm(__gu_val, ub, addr, __gu_ret); break; \
192 case 2: __get_user_asm(__gu_val, uh, addr, __gu_ret); break; \
193 case 4: __get_user_asm(__gu_val, uw, addr, __gu_ret); break; \
194 case 8: __get_user_asm(__gu_val, x, addr, __gu_ret); break; \
204 #define __get_user_asm(x, size, addr, ret) \ macro
/openbmc/linux/arch/sh/include/asm/
H A Duaccess_32.h21 __get_user_asm(x, ptr, retval, "b"); \
24 __get_user_asm(x, ptr, retval, "w"); \
27 __get_user_asm(x, ptr, retval, "l"); \
39 #define __get_user_asm(x, addr, err, insn) \ macro
60 #define __get_user_asm(x, addr, err, insn) \ macro
/openbmc/linux/arch/x86/include/asm/
H A Duaccess.h263 __get_user_asm(__gu_low, __gu_ptr, "l", "=r", label); \
264 __get_user_asm(__gu_high, __gu_ptr+1, "l", "=r", label); \
269 __get_user_asm(x, ptr, "q", "=r", label)
278 __get_user_asm(x_u8__, ptr, "b", "=q", label); \
283 __get_user_asm(x, ptr, "w", "=r", label); \
286 __get_user_asm(x, ptr, "l", "=r", label); \
297 #define __get_user_asm(x, addr, itype, ltype, label) \ macro
330 __get_user_asm(x, ptr, retval, "q")
341 __get_user_asm(x_u8__, ptr, retval, "b"); \
345 __get_user_asm(x, ptr, retval, "w"); \
[all …]
/openbmc/linux/arch/parisc/include/asm/
H A Duaccess.h26 #define LDD_USER(sr, val, ptr) __get_user_asm(sr, val, "ldd", ptr)
35 case 1: __get_user_asm(sr, val, "ldb", ptr); break; \
36 case 2: __get_user_asm(sr, val, "ldh", ptr); break; \
37 case 4: __get_user_asm(sr, val, "ldw", ptr); break; \
50 #define __get_user_asm(sr, val, ldx, ptr) \ macro
/openbmc/linux/arch/nios2/include/asm/
H A Duaccess.h68 #define __get_user_asm(val, insn, addr, err) \ macro
100 __get_user_asm(val, "ldbu", ptr, err); \
103 __get_user_asm(val, "ldhu", ptr, err); \
106 __get_user_asm(val, "ldw", ptr, err); \
/openbmc/linux/arch/riscv/include/asm/
H A Duaccess.h53 #define __get_user_asm(insn, x, ptr, err) \ macro
68 __get_user_asm("ld", x, ptr, err)
95 __get_user_asm("lb", (x), __gu_ptr, __gu_err); \
98 __get_user_asm("lh", (x), __gu_ptr, __gu_err); \
101 __get_user_asm("lw", (x), __gu_ptr, __gu_err); \
/openbmc/linux/arch/microblaze/include/asm/
H A Duaccess.h59 #define __get_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ macro
106 __get_user_asm("lbu", (ptr), x, __gu_err); \
109 __get_user_asm("lhu", (ptr), x, __gu_err); \
112 __get_user_asm("lw", (ptr), x, __gu_err); \
/openbmc/linux/arch/m68k/include/asm/
H A Duaccess.h105 #define __get_user_asm(inst, res, x, ptr, type, bwl, reg, err) ({ \ macro
164 __get_user_asm(MOVES, __gu_err, x, ptr, u8, b, d, -EFAULT); \
167 __get_user_asm(MOVES, __gu_err, x, ptr, u16, w, r, -EFAULT); \
170 __get_user_asm(MOVES, __gu_err, x, ptr, u32, l, r, -EFAULT); \
391 __get_user_asm("move", __gk_err, *__gk_dst, __gk_src, \
395 __get_user_asm("move", __gk_err, *__gk_dst, __gk_src, \
399 __get_user_asm("move", __gk_err, *__gk_dst, __gk_src, \
/openbmc/linux/arch/openrisc/include/asm/
H A Duaccess.h153 case 1: __get_user_asm(x, ptr, retval, "l.lbz"); break; \
154 case 2: __get_user_asm(x, ptr, retval, "l.lhz"); break; \
155 case 4: __get_user_asm(x, ptr, retval, "l.lwz"); break; \
161 #define __get_user_asm(x, addr, err, op) \ macro
/openbmc/linux/arch/xtensa/include/asm/
H A Duaccess.h174 case 1: __get_user_asm(x, ptr, retval, 1, "l8ui", __cb); break;\
175 case 2: __get_user_asm(x, ptr, retval, 2, "l16ui", __cb); break;\
176 case 4: __get_user_asm(x, ptr, retval, 4, "l32i", __cb); break;\
198 #define __get_user_asm(x_, addr_, err_, align, insn, cb) \ macro
/openbmc/linux/arch/s390/include/asm/
H A Duaccess.h138 #define __get_user_asm(to, from, size) \ macro
167 rc = __get_user_asm((unsigned char *)x, in __get_user_fn()
172 rc = __get_user_asm((unsigned short *)x, in __get_user_fn()
177 rc = __get_user_asm((unsigned int *)x, in __get_user_fn()
182 rc = __get_user_asm((unsigned long *)x, in __get_user_fn()
/openbmc/linux/arch/powerpc/include/asm/
H A Duaccess.h220 #define __get_user_asm(x, addr, err, op) \ macro
235 __get_user_asm(x, addr, err, "ld")
259 case 1: __get_user_asm(x, (u8 __user *)ptr, retval, "lbz"); break; \
260 case 2: __get_user_asm(x, (u16 __user *)ptr, retval, "lhz"); break; \
261 case 4: __get_user_asm(x, (u32 __user *)ptr, retval, "lwz"); break; \
/openbmc/linux/arch/arm/include/asm/
H A Duaccess.h271 #define __get_user_asm(x, addr, err, instr) \ macro
290 __get_user_asm(x, addr, err, "ldrb" __t)
295 __get_user_asm(x, addr, err, "ldrh" __t)
320 __get_user_asm(x, addr, err, "ldr" __t)