Searched refs:arg1 (Results 1 - 25 of 180) sorted by relevance

12345678

/linux-master/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_math.c40 float dcn_bw_mod(const float arg1, const float arg2) argument
42 if (isNaN(arg1))
45 return arg1;
46 return arg1 - arg1 * ((int) (arg1 / arg2));
49 float dcn_bw_min2(const float arg1, const float arg2) argument
51 if (isNaN(arg1))
54 return arg1;
55 return arg1 < arg
58 dcn_bw_max(const unsigned int arg1, const unsigned int arg2) argument
62 dcn_bw_max2(const float arg1, const float arg2) argument
[all...]
/linux-master/arch/m68k/include/asm/
H A Dlinkage.h22 #define __asmlinkage_protect1(ret, arg1) \
23 __asmlinkage_protect_n(ret, "m" (arg1))
24 #define __asmlinkage_protect2(ret, arg1, arg2) \
25 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2))
26 #define __asmlinkage_protect3(ret, arg1, arg2, arg3) \
27 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3))
28 #define __asmlinkage_protect4(ret, arg1, arg2, arg3, arg4) \
29 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \
31 #define __asmlinkage_protect5(ret, arg1, arg2, arg3, arg4, arg5) \
32 __asmlinkage_protect_n(ret, "m" (arg1), "
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/inc/
H A Dbw_fixed.h42 static inline struct bw_fixed bw_min2(const struct bw_fixed arg1, argument
45 return (arg1.value <= arg2.value) ? arg1 : arg2;
48 static inline struct bw_fixed bw_max2(const struct bw_fixed arg1, argument
51 return (arg2.value <= arg1.value) ? arg1 : arg2;
101 static inline struct bw_fixed bw_add(const struct bw_fixed arg1, argument
106 res.value = arg1.value + arg2.value;
111 static inline struct bw_fixed bw_sub(const struct bw_fixed arg1, const struct bw_fixed arg2) argument
115 res.value = arg1
121 bw_div(const struct bw_fixed arg1, const struct bw_fixed arg2) argument
126 bw_mod(const struct bw_fixed arg1, const struct bw_fixed arg2) argument
136 bw_equ(const struct bw_fixed arg1, const struct bw_fixed arg2) argument
141 bw_neq(const struct bw_fixed arg1, const struct bw_fixed arg2) argument
146 bw_leq(const struct bw_fixed arg1, const struct bw_fixed arg2) argument
151 bw_meq(const struct bw_fixed arg1, const struct bw_fixed arg2) argument
156 bw_ltn(const struct bw_fixed arg1, const struct bw_fixed arg2) argument
161 bw_mtn(const struct bw_fixed arg1, const struct bw_fixed arg2) argument
[all...]
H A Ddcn_calc_math.h29 float dcn_bw_mod(const float arg1, const float arg2);
30 float dcn_bw_min2(const float arg1, const float arg2);
31 unsigned int dcn_bw_max(const unsigned int arg1, const unsigned int arg2);
32 float dcn_bw_max2(const float arg1, const float arg2);
/linux-master/arch/x86/um/shared/sysdep/
H A Dstub_32.h25 static __always_inline long stub_syscall1(long syscall, long arg1) argument
29 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1)
35 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) argument
39 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1),
46 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, argument
51 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1),
58 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, argument
63 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1),
70 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, argument
75 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1),
[all...]
H A Dstub_64.h30 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) argument
36 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber );
41 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, argument
48 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3)
54 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, argument
61 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3),
68 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, argument
75 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3),
/linux-master/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) argument
137 return arg1.value < arg2.value;
142 * result = arg1 <= arg2
144 static inline bool dc_fixpt_le(struct fixed31_32 arg1, struct fixed31_32 arg2) argument
146 return arg1.value <= arg2.value;
151 * result = arg1 == arg2
153 static inline bool dc_fixpt_eq(struct fixed31_32 arg1, struct fixed31_32 arg2) argument
155 return arg1.value == arg2.value;
160 * result = min(arg1, arg
162 dc_fixpt_min(struct fixed31_32 arg1, struct fixed31_32 arg2) argument
174 dc_fixpt_max(struct fixed31_32 arg1, struct fixed31_32 arg2) argument
245 dc_fixpt_add(struct fixed31_32 arg1, struct fixed31_32 arg2) argument
261 dc_fixpt_add_int(struct fixed31_32 arg1, int arg2) argument
270 dc_fixpt_sub(struct fixed31_32 arg1, struct fixed31_32 arg2) argument
286 dc_fixpt_sub_int(struct fixed31_32 arg1, int arg2) argument
308 dc_fixpt_mul_int(struct fixed31_32 arg1, int arg2) argument
323 dc_fixpt_div_int(struct fixed31_32 arg1, long long arg2) argument
332 dc_fixpt_div(struct fixed31_32 arg1, struct fixed31_32 arg2) argument
426 dc_fixpt_pow(struct fixed31_32 arg1, struct fixed31_32 arg2) argument
[all...]
/linux-master/arch/sparc/include/asm/
H A Dsmp_32.h57 void (*cross_call)(void *func, cpumask_t mask, unsigned long arg1,
71 static inline void xc1(void *func, unsigned long arg1) argument
73 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, 0, 0, 0);
75 static inline void xc2(void *func, unsigned long arg1, unsigned long arg2) argument
77 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0);
80 static inline void xc3(void *func, unsigned long arg1, unsigned long arg2, argument
84 arg1, arg2, arg3, 0);
87 static inline void xc4(void *func, unsigned long arg1, unsigned long arg2, argument
91 arg1, arg2, arg3, arg4);
/linux-master/tools/include/nolibc/
H A Darch-arm.h70 #define my_syscall1(num, arg1) \
73 register long _arg1 __asm__ ("r0") = (long)(arg1); \
87 #define my_syscall2(num, arg1, arg2) \
90 register long _arg1 __asm__ ("r0") = (long)(arg1); \
105 #define my_syscall3(num, arg1, arg2, arg3) \
108 register long _arg1 __asm__ ("r0") = (long)(arg1); \
124 #define my_syscall4(num, arg1, arg2, arg3, arg4) \
127 register long _arg1 __asm__ ("r0") = (long)(arg1); \
144 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \
147 register long _arg1 __asm__ ("r0") = (long)(arg1); \
[all...]
H A Darch-powerpc.h45 #define my_syscall1(num, arg1) \
49 register long _arg1 __asm__ ("r3") = (long)(arg1); \
64 #define my_syscall2(num, arg1, arg2) \
68 register long _arg1 __asm__ ("r3") = (long)(arg1); \
84 #define my_syscall3(num, arg1, arg2, arg3) \
88 register long _arg1 __asm__ ("r3") = (long)(arg1); \
105 #define my_syscall4(num, arg1, arg2, arg3, arg4) \
109 register long _arg1 __asm__ ("r3") = (long)(arg1); \
128 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \
132 register long _arg1 __asm__ ("r3") = (long)(arg1); \
[all...]
H A Darch-s390.h40 #define my_syscall1(num, arg1) \
43 register long _arg1 __asm__ ("2") = (long)(arg1); \
54 #define my_syscall2(num, arg1, arg2) \
57 register long _arg1 __asm__ ("2") = (long)(arg1); \
69 #define my_syscall3(num, arg1, arg2, arg3) \
72 register long _arg1 __asm__ ("2") = (long)(arg1); \
85 #define my_syscall4(num, arg1, arg2, arg3, arg4) \
88 register long _arg1 __asm__ ("2") = (long)(arg1); \
102 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \
105 register long _arg1 __asm__ ("2") = (long)(arg1); \
[all...]
H A Darch-i386.h45 #define my_syscall1(num, arg1) \
49 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
61 #define my_syscall2(num, arg1, arg2) \
65 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
78 #define my_syscall3(num, arg1, arg2, arg3) \
82 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
96 #define my_syscall4(num, arg1, arg2, arg3, arg4) \
100 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
115 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \
119 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
[all...]
H A Darch-x86_64.h46 #define my_syscall1(num, arg1) \
50 register long _arg1 __asm__ ("rdi") = (long)(arg1); \
62 #define my_syscall2(num, arg1, arg2) \
66 register long _arg1 __asm__ ("rdi") = (long)(arg1); \
79 #define my_syscall3(num, arg1, arg2, arg3) \
83 register long _arg1 __asm__ ("rdi") = (long)(arg1); \
97 #define my_syscall4(num, arg1, arg2, arg3, arg4) \
101 register long _arg1 __asm__ ("rdi") = (long)(arg1); \
116 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \
120 register long _arg1 __asm__ ("rdi") = (long)(arg1); \
[all...]
H A Darch-riscv.h38 #define my_syscall1(num, arg1) \
41 register long _arg1 __asm__ ("a0") = (long)(arg1); \
52 #define my_syscall2(num, arg1, arg2) \
55 register long _arg1 __asm__ ("a0") = (long)(arg1); \
68 #define my_syscall3(num, arg1, arg2, arg3) \
71 register long _arg1 __asm__ ("a0") = (long)(arg1); \
85 #define my_syscall4(num, arg1, arg2, arg3, arg4) \
88 register long _arg1 __asm__ ("a0") = (long)(arg1); \
103 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \
106 register long _arg1 __asm__ ("a0") = (long)(arg1); \
[all...]
H A Darch-aarch64.h39 #define my_syscall1(num, arg1) \
42 register long _arg1 __asm__ ("x0") = (long)(arg1); \
54 #define my_syscall2(num, arg1, arg2) \
57 register long _arg1 __asm__ ("x0") = (long)(arg1); \
70 #define my_syscall3(num, arg1, arg2, arg3) \
73 register long _arg1 __asm__ ("x0") = (long)(arg1); \
87 #define my_syscall4(num, arg1, arg2, arg3, arg4) \
90 register long _arg1 __asm__ ("x0") = (long)(arg1); \
105 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \
108 register long _arg1 __asm__ ("x0") = (long)(arg1); \
[all...]
H A Darch-loongarch.h41 #define my_syscall1(num, arg1) \
44 register long _arg1 __asm__ ("a0") = (long)(arg1); \
55 #define my_syscall2(num, arg1, arg2) \
58 register long _arg1 __asm__ ("a0") = (long)(arg1); \
71 #define my_syscall3(num, arg1, arg2, arg3) \
74 register long _arg1 __asm__ ("a0") = (long)(arg1); \
88 #define my_syscall4(num, arg1, arg2, arg3, arg4) \
91 register long _arg1 __asm__ ("a0") = (long)(arg1); \
106 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \
109 register long _arg1 __asm__ ("a0") = (long)(arg1); \
[all...]
H A Darch-mips.h57 #define my_syscall1(num, arg1) \
60 register long _arg1 __asm__ ("a0") = (long)(arg1); \
75 #define my_syscall2(num, arg1, arg2) \
78 register long _arg1 __asm__ ("a0") = (long)(arg1); \
94 #define my_syscall3(num, arg1, arg2, arg3) \
97 register long _arg1 __asm__ ("a0") = (long)(arg1); \
114 #define my_syscall4(num, arg1, arg2, arg3, arg4) \
117 register long _arg1 __asm__ ("a0") = (long)(arg1); \
134 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \
137 register long _arg1 __asm__ ("a0") = (long)(arg1); \
[all...]
/linux-master/arch/arm/mach-bcm/
H A Dbcm_kona_smc.h18 unsigned arg1,
H A Dbcm_kona_smc.c18 unsigned arg1; member in struct:bcm_kona_smc_data
128 writel_relaxed(data->arg1, args++);
139 unsigned bcm_kona_smc(unsigned service_id, unsigned arg0, unsigned arg1, argument
146 data.arg1 = arg1;
/linux-master/include/linux/
H A Dkcov.h82 void __sanitizer_cov_trace_cmp1(u8 arg1, u8 arg2);
83 void __sanitizer_cov_trace_cmp2(u16 arg1, u16 arg2);
84 void __sanitizer_cov_trace_cmp4(u32 arg1, u32 arg2);
85 void __sanitizer_cov_trace_cmp8(kcov_u64 arg1, kcov_u64 arg2);
86 void __sanitizer_cov_trace_const_cmp1(u8 arg1, u8 arg2);
87 void __sanitizer_cov_trace_const_cmp2(u16 arg1, u16 arg2);
88 void __sanitizer_cov_trace_const_cmp4(u32 arg1, u32 arg2);
89 void __sanitizer_cov_trace_const_cmp8(kcov_u64 arg1, kcov_u64 arg2);
/linux-master/arch/parisc/include/asm/
H A Dunistd.h113 #define _syscall1(type,name,type1,arg1) \
114 type name(type1 arg1) \
116 return K_INLINE_SYSCALL(name, 1, arg1); \
119 #define _syscall2(type,name,type1,arg1,type2,arg2) \
120 type name(type1 arg1, type2 arg2) \
122 return K_INLINE_SYSCALL(name, 2, arg1, arg2); \
125 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
126 type name(type1 arg1, type2 arg2, type3 arg3) \
128 return K_INLINE_SYSCALL(name, 3, arg1, arg2, arg3); \
131 #define _syscall4(type,name,type1,arg1,type
[all...]
/linux-master/include/linux/firmware/meson/
H A Dmeson_sm.h22 s32 *ret, u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 arg4);
25 u32 arg1, u32 arg2, u32 arg3, u32 arg4);
28 u32 arg1, u32 arg2, u32 arg3, u32 arg4);
/linux-master/tools/testing/selftests/kvm/include/
H A Ducall_common.h53 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \
54 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4)
57 #define GUEST_SYNC2(arg0, arg1) ucall(UCALL_SYNC, 2, arg0, arg1)
58 #define GUEST_SYNC3(arg0, arg1, arg2) \
59 ucall(UCALL_SYNC, 3, arg0, arg1, arg2)
60 #define GUEST_SYNC4(arg0, arg1, arg2, arg3) \
61 ucall(UCALL_SYNC, 4, arg0, arg1, arg2, arg3)
62 #define GUEST_SYNC5(arg0, arg1, arg2, arg3, arg4) \
63 ucall(UCALL_SYNC, 5, arg0, arg1, arg
[all...]
/linux-master/arch/arm/mach-at91/
H A Dsam_secure.c17 struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1) argument
24 arm_smccc_smc(SAM_SIP_SMC_STD_CALL_VAL(fn), arg0, arg1, 0, 0, 0, 0, 0,
H A Dsam_secure.h16 struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1);

Completed in 350 milliseconds

12345678