Home
last modified time | relevance | path

Searched full:arg1 (Results 1 – 25 of 233) sorted by relevance

12345678910

/linux/drivers/gpu/drm/amd/display/include/
H A Dfixed31_32.h133 * result = arg1 < arg2
135 static inline bool dc_fixpt_lt(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_lt() argument
137 return arg1.value < arg2.value; in dc_fixpt_lt()
142 * result = arg1 <= arg2
144 static inline bool dc_fixpt_le(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_le() argument
146 return arg1.value <= arg2.value; in dc_fixpt_le()
151 * result = arg1 == arg2
153 static inline bool dc_fixpt_eq(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_eq() argument
155 return arg1.value == arg2.value; in dc_fixpt_eq()
160 * result = min(arg1, arg2) := (arg1 <= arg2) ? arg1 : arg2
[all …]
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dbw_fixed.h42 static inline struct bw_fixed bw_min2(const struct bw_fixed arg1, in bw_min2() argument
45 return (arg1.value <= arg2.value) ? arg1 : arg2; in bw_min2()
48 static inline struct bw_fixed bw_max2(const struct bw_fixed arg1, in bw_max2() argument
51 return (arg2.value <= arg1.value) ? arg1 : arg2; in bw_max2()
101 static inline struct bw_fixed bw_add(const struct bw_fixed arg1, in bw_add() argument
106 res.value = arg1.value + arg2.value; in bw_add()
111 static inline struct bw_fixed bw_sub(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_sub() argument
115 res.value = arg1.value - arg2.value; in bw_sub()
120 struct bw_fixed bw_mul(const struct bw_fixed arg1, const struct bw_fixed arg2);
121 static inline struct bw_fixed bw_div(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_div() argument
[all …]
/linux/tools/testing/selftests/ftrace/test.d/kprobe/
H A Dkprobe_args_string.tc8 ARG1=%di
11 ARG1=%ax
14 ARG1=%x0
17 ARG1=%r0
20 ARG1=%r3
23 ARG1=%r3
26 ARG1=%r2
29 ARG1=%r4
32 ARG1=%r4
35 ARG1=%a0
[all …]
H A Dkprobe_args_char.tc8 ARG1=%di
11 ARG1=%ax
14 ARG1=%x0
17 ARG1=%r0
20 ARG1=%r3
23 ARG1=%r3
26 ARG1=%r2
29 ARG1=%r4
32 ARG1=%r4
35 ARG1=%a0
[all …]
H A Dkprobe_args_symbol.tc17 echo "p:testprobe_u $FUNCTION_FORK arg1=@linux_proc_banner:u64 arg2=@linux_proc_banner:u32 arg3=@li…
18 echo "p:testprobe_s $FUNCTION_FORK arg1=@linux_proc_banner:s64 arg2=@linux_proc_banner:s32 arg3=@li…
20 …echo "p:testprobe_x $FUNCTION_FORK arg1=@linux_proc_banner:x64 arg2=@linux_proc_banner:x32 arg3=@l…
22 echo "p:testprobe_bf $FUNCTION_FORK arg1=@linux_proc_banner:b8@4/32" >> kprobe_events
26 grep "testprobe_[usx]:.* arg1=.* arg2=.* arg3=.* arg4=.*" trace
27 grep "testprobe_bf:.* arg1=.*" trace
30 echo "p:testprobe_str $FUNCTION_FORK arg1=@linux_proc_banner:string" > kprobe_events
34 RESULT=`grep "testprobe_str" trace | sed -e 's/.* arg1=\(.*\)/\1/'`
/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_math.c40 float dcn_bw_mod(const float arg1, const float arg2) in dcn_bw_mod() argument
42 if (isNaN(arg1)) in dcn_bw_mod()
45 return arg1; in dcn_bw_mod()
46 return arg1 - arg1 * ((int) (arg1 / arg2)); in dcn_bw_mod()
49 float dcn_bw_min2(const float arg1, const float arg2) in dcn_bw_min2() argument
51 if (isNaN(arg1)) in dcn_bw_min2()
54 return arg1; in dcn_bw_min2()
55 return arg1 < arg2 ? arg1 : arg2; in dcn_bw_min2()
58 unsigned int dcn_bw_max(const unsigned int arg1, const unsigned int arg2) in dcn_bw_max() argument
60 return arg1 > arg2 ? arg1 : arg2; in dcn_bw_max()
[all …]
/linux/arch/m68k/include/asm/
H A Dlinkage.h22 #define __asmlinkage_protect1(ret, arg1) \ argument
23 __asmlinkage_protect_n(ret, "m" (arg1))
24 #define __asmlinkage_protect2(ret, arg1, arg2) \ argument
25 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2))
26 #define __asmlinkage_protect3(ret, arg1, arg2, arg3) \ argument
27 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3))
28 #define __asmlinkage_protect4(ret, arg1, arg2, arg3, arg4) \ argument
29 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \
31 #define __asmlinkage_protect5(ret, arg1, arg2, arg3, arg4, arg5) \ argument
32 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \
[all …]
/linux/tools/testing/selftests/bpf/
H A Dsdt.h341 #define _SDT_ASM_OPERANDS_1(arg1) _SDT_ARG(1, arg1)
342 #define _SDT_ASM_OPERANDS_2(arg1, arg2) \
343 _SDT_ASM_OPERANDS_1(arg1), _SDT_ARG(2, arg2)
344 #define _SDT_ASM_OPERANDS_3(arg1, arg2, arg3) \
345 _SDT_ASM_OPERANDS_2(arg1, arg2), _SDT_ARG(3, arg3)
346 #define _SDT_ASM_OPERANDS_4(arg1, arg2, arg3, arg4) \
347 _SDT_ASM_OPERANDS_3(arg1, arg2, arg3), _SDT_ARG(4, arg4)
348 #define _SDT_ASM_OPERANDS_5(arg1, arg2, arg3, arg4, arg5) \
349 _SDT_ASM_OPERANDS_4(arg1, arg2, arg3, arg4), _SDT_ARG(5, arg5)
350 #define _SDT_ASM_OPERANDS_6(arg1, arg2, arg3, arg4, arg5, arg6) \
[all …]
/linux/tools/include/nolibc/
H A Darch-x86.h47 #define __nolibc_syscall1(num, arg1) \ argument
51 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
63 #define __nolibc_syscall2(num, arg1, arg2) \ argument
67 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
80 #define __nolibc_syscall3(num, arg1, arg2, arg3) \ argument
84 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
98 #define __nolibc_syscall4(num, arg1, arg2, arg3, arg4) \ argument
102 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
117 #define __nolibc_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
121 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
137 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
217 my_syscall1(num,arg1) global() argument
233 my_syscall2(num,arg1,arg2) global() argument
250 my_syscall3(num,arg1,arg2,arg3) global() argument
268 my_syscall4(num,arg1,arg2,arg3,arg4) global() argument
287 my_syscall5(num,arg1,arg2,arg3,arg4,arg5) global() argument
307 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
[all...]
H A Darch-loongarch.h41 #define __nolibc_syscall1(num, arg1) \ argument
44 register long _arg1 __asm__ ("a0") = (long)(arg1); \
55 #define __nolibc_syscall2(num, arg1, arg2) \ argument
58 register long _arg1 __asm__ ("a0") = (long)(arg1); \
71 #define __nolibc_syscall3(num, arg1, arg2, arg3) \ argument
74 register long _arg1 __asm__ ("a0") = (long)(arg1); \
88 #define __nolibc_syscall4(num, arg1, arg2, arg3, arg4) \ argument
91 register long _arg1 __asm__ ("a0") = (long)(arg1); \
106 #define __nolibc_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
109 register long _arg1 __asm__ ("a0") = (long)(arg1); \
125 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
[all...]
H A Darch-riscv.h38 #define __nolibc_syscall1(num, arg1) \ argument
41 register long _arg1 __asm__ ("a0") = (long)(arg1); \
52 #define __nolibc_syscall2(num, arg1, arg2) \ argument
55 register long _arg1 __asm__ ("a0") = (long)(arg1); \
68 #define __nolibc_syscall3(num, arg1, arg2, arg3) \ argument
71 register long _arg1 __asm__ ("a0") = (long)(arg1); \
85 #define __nolibc_syscall4(num, arg1, arg2, arg3, arg4) \ argument
88 register long _arg1 __asm__ ("a0") = (long)(arg1); \
103 #define __nolibc_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
106 register long _arg1 __asm__ ("a0") = (long)(arg1); \
122 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
[all...]
H A Darch-m68k.h31 #define __nolibc_syscall1(num, arg1) \ argument
34 register long _arg1 __asm__ ("d1") = (long)(arg1); \
45 #define __nolibc_syscall2(num, arg1, arg2) \ argument
48 register long _arg1 __asm__ ("d1") = (long)(arg1); \
60 #define __nolibc_syscall3(num, arg1, arg2, arg3) \ argument
63 register long _arg1 __asm__ ("d1") = (long)(arg1); \
76 #define __nolibc_syscall4(num, arg1, arg2, arg3, arg4) \ argument
79 register long _arg1 __asm__ ("d1") = (long)(arg1); \
93 #define __nolibc_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
96 register long _arg1 __asm__ ("d1") = (long)(arg1); \
111 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
[all...]
H A Darch-arm64.h39 #define __nolibc_syscall1(num, arg1) \ argument
42 register long _arg1 __asm__ ("x0") = (long)(arg1); \
54 #define __nolibc_syscall2(num, arg1, arg2) \ argument
57 register long _arg1 __asm__ ("x0") = (long)(arg1); \
70 #define __nolibc_syscall3(num, arg1, arg2, arg3) \ argument
73 register long _arg1 __asm__ ("x0") = (long)(arg1); \
87 #define __nolibc_syscall4(num, arg1, arg2, arg3, arg4) \ argument
90 register long _arg1 __asm__ ("x0") = (long)(arg1); \
105 #define __nolibc_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
108 register long _arg1 __asm__ ("x0") = (long)(arg1); \
124 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
[all...]
H A Darch-sh.h36 #define __nolibc_syscall1(num, arg1) \ argument
40 register long _arg1 __asm__ ("r4") = (long)(arg1); \
51 #define __nolibc_syscall2(num, arg1, arg2) \ argument
55 register long _arg1 __asm__ ("r4") = (long)(arg1); \
67 #define __nolibc_syscall3(num, arg1, arg2, arg3) \ argument
71 register long _arg1 __asm__ ("r4") = (long)(arg1); \
84 #define __nolibc_syscall4(num, arg1, arg2, arg3, arg4) \ argument
88 register long _arg1 __asm__ ("r4") = (long)(arg1); \
102 #define __nolibc_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
106 register long _arg1 __asm__ ("r4") = (long)(arg1); \
122 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
[all...]
H A Darch-s390.h45 #define __nolibc_syscall1(num, arg1) \
48 register long _arg1 __asm__ ("2") = (long)(arg1); \
59 #define __nolibc_syscall2(num, arg1, arg2) \
62 register long _arg1 __asm__ ("2") = (long)(arg1); \
74 #define __nolibc_syscall3(num, arg1, arg2, arg3) \
77 register long _arg1 __asm__ ("2") = (long)(arg1); \
90 #define __nolibc_syscall4(num, arg1, arg2, arg3, arg4) \
93 register long _arg1 __asm__ ("2") = (long)(arg1); \
107 #define __nolibc_syscall5(num, arg1, arg2, arg3, arg4, arg5) \
110 register long _arg1 __asm__ ("2") = (long)(arg1); \
41 my_syscall1(num,arg1) global() argument
55 my_syscall2(num,arg1,arg2) global() argument
70 my_syscall3(num,arg1,arg2,arg3) global() argument
86 my_syscall4(num,arg1,arg2,arg3,arg4) global() argument
103 my_syscall5(num,arg1,arg2,arg3,arg4,arg5) global() argument
122 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
[all...]
H A Darch-sparc.h55 #define __nolibc_syscall1(num, arg1) \ argument
58 register long _arg1 __asm__ ("o0") = (long)(arg1); \
69 #define __nolibc_syscall2(num, arg1, arg2) \ argument
72 register long _arg1 __asm__ ("o0") = (long)(arg1); \
84 #define __nolibc_syscall3(num, arg1, arg2, arg3) \ argument
87 register long _arg1 __asm__ ("o0") = (long)(arg1); \
100 #define __nolibc_syscall4(num, arg1, arg2, arg3, arg4) \ argument
103 register long _arg1 __asm__ ("o0") = (long)(arg1); \
117 #define __nolibc_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
120 register long _arg1 __asm__ ("o0") = (long)(arg1); \
135 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
[all...]
H A Darch-mips.h87 #define __nolibc_syscall1(num, arg1) \
90 register long _arg1 __asm__ ("a0") = (long)(arg1); \
105 #define __nolibc_syscall2(num, arg1, arg2) \
108 register long _arg1 __asm__ ("a0") = (long)(arg1); \
124 #define __nolibc_syscall3(num, arg1, arg2, arg3) \
127 register long _arg1 __asm__ ("a0") = (long)(arg1); \
144 #define __nolibc_syscall4(num, arg1, arg2, arg3, arg4) \
147 register long _arg1 __asm__ ("a0") = (long)(arg1); \
166 #define __nolibc_syscall5(num, arg1, arg2, arg3, arg4, arg5) \
169 register long _arg1 __asm__ ("a0") = (long)(arg1); \
78 my_syscall1(num,arg1) global() argument
96 my_syscall2(num,arg1,arg2) global() argument
115 my_syscall3(num,arg1,arg2,arg3) global() argument
135 my_syscall4(num,arg1,arg2,arg3,arg4) global() argument
157 my_syscall5(num,arg1,arg2,arg3,arg4,arg5) global() argument
179 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
206 my_syscall5(num,arg1,arg2,arg3,arg4,arg5) global() argument
225 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
[all...]
H A Darch-arm.h70 #define __nolibc_syscall1(num, arg1) \ argument
73 register long _arg1 __asm__ ("r0") = (long)(arg1); \
87 #define __nolibc_syscall2(num, arg1, arg2) \ argument
90 register long _arg1 __asm__ ("r0") = (long)(arg1); \
105 #define __nolibc_syscall3(num, arg1, arg2, arg3) \ argument
108 register long _arg1 __asm__ ("r0") = (long)(arg1); \
124 #define __nolibc_syscall4(num, arg1, arg2, arg3, arg4) \ argument
127 register long _arg1 __asm__ ("r0") = (long)(arg1); \
144 #define __nolibc_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
147 register long _arg1 __asm__ ("r0") = (long)(arg1); \
165 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
[all...]
H A Darch-powerpc.h45 #define __nolibc_syscall1(num, arg1) \ argument
49 register long _arg1 __asm__ ("r3") = (long)(arg1); \
64 #define __nolibc_syscall2(num, arg1, arg2) \ argument
68 register long _arg1 __asm__ ("r3") = (long)(arg1); \
84 #define __nolibc_syscall3(num, arg1, arg2, arg3) \ argument
88 register long _arg1 __asm__ ("r3") = (long)(arg1); \
105 #define __nolibc_syscall4(num, arg1, arg2, arg3, arg4) \ argument
109 register long _arg1 __asm__ ("r3") = (long)(arg1); \
128 #define __nolibc_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
132 register long _arg1 __asm__ ("r3") = (long)(arg1); \
151 my_syscall6(num,arg1,arg2,arg3,arg4,arg5,arg6) global() argument
[all...]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_acpi.h33 * ARG1: (ACPI_BUFFER) parameter buffer, 256 bytes
47 * ARG1: (ACPI_BUFFER) parameter buffer, 256 bytes
54 * ARG1: (ACPI_BUFFER) size of the buffer to fill (up to 4K).
61 * ARG1: (ACPI_BUFFER) parameter buffer, 256 bytes
69 * ARG1: none
100 * ARG1: none
124 * ARG1: none
161 * ARG1:
183 * ARG1: none
193 * ARG1: none
[all …]
/linux/arch/x86/um/shared/sysdep/
H A Dstub_64.h32 static __always_inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument
38 : "0" (syscall), "D" (arg1) : __syscall_clobber ); in stub_syscall1()
43 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument
49 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2()
54 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument
61 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3()
67 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument
74 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4()
81 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument
88 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
[all …]
H A Dstub_32.h26 static __always_inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument
30 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1) in stub_syscall1()
36 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument
40 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall2()
47 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument
52 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall3()
59 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, in stub_syscall4() argument
64 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall4()
71 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument
76 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall5()
[all …]
/linux/tools/testing/selftests/kvm/include/
H A Ducall_common.h53 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument
54 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4)
57 #define GUEST_SYNC2(arg0, arg1) ucall(UCALL_SYNC, 2, arg0, arg1) argument
58 #define GUEST_SYNC3(arg0, arg1, arg2) \ argument
59 ucall(UCALL_SYNC, 3, arg0, arg1, arg2)
60 #define GUEST_SYNC4(arg0, arg1, arg2, arg3) \ argument
61 ucall(UCALL_SYNC, 4, arg0, arg1, arg2, arg3)
62 #define GUEST_SYNC5(arg0, arg1, arg2, arg3, arg4) \ argument
63 ucall(UCALL_SYNC, 5, arg0, arg1, arg2, arg3, arg4)
64 #define GUEST_SYNC6(arg0, arg1, arg2, arg3, arg4, arg5) \ argument
[all …]
/linux/arch/parisc/include/asm/
H A Dunistd.h109 #define syscall1(name, arg1) \ argument
110 K_INLINE_SYSCALL(name, 1, arg1)
111 #define syscall2(name, arg1, arg2) \ argument
112 K_INLINE_SYSCALL(name, 2, arg1, arg2)
113 #define syscall3(name, arg1, arg2, arg3) \ argument
114 K_INLINE_SYSCALL(name, 3, arg1, arg2, arg3)
115 #define syscall4(name, arg1, arg2, arg3, arg4) \ argument
116 K_INLINE_SYSCALL(name, 4, arg1, arg2, arg3, arg4)
117 #define syscall5(name, arg1, arg2, arg3, arg4, arg5) \ argument
118 K_INLINE_SYSCALL(name, 5, arg1, arg2, arg3, arg4, arg5)
/linux/include/linux/
H A Dkcov.h84 void __sanitizer_cov_trace_cmp1(u8 arg1, u8 arg2);
85 void __sanitizer_cov_trace_cmp2(u16 arg1, u16 arg2);
86 void __sanitizer_cov_trace_cmp4(u32 arg1, u32 arg2);
87 void __sanitizer_cov_trace_cmp8(kcov_u64 arg1, kcov_u64 arg2);
88 void __sanitizer_cov_trace_const_cmp1(u8 arg1, u8 arg2);
89 void __sanitizer_cov_trace_const_cmp2(u16 arg1, u16 arg2);
90 void __sanitizer_cov_trace_const_cmp4(u32 arg1, u32 arg2);
91 void __sanitizer_cov_trace_const_cmp8(kcov_u64 arg1, kcov_u64 arg2);

12345678910