/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/ |
D | bw_fixed.h | 42 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-6.12.1/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 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() 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() 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() 162 static inline struct fixed31_32 dc_fixpt_min(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_min() argument 164 if (arg1.value <= arg2.value) in dc_fixpt_min() 165 return arg1; in dc_fixpt_min() 174 static inline struct fixed31_32 dc_fixpt_max(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_max() argument [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/ |
D | spl_fixpt31_32.h | 120 static inline bool spl_fixpt_lt(struct spl_fixed31_32 arg1, struct spl_fixed31_32 arg2) in spl_fixpt_lt() argument 122 return arg1.value < arg2.value; in spl_fixpt_lt() 129 static inline bool spl_fixpt_le(struct spl_fixed31_32 arg1, struct spl_fixed31_32 arg2) in spl_fixpt_le() argument 131 return arg1.value <= arg2.value; in spl_fixpt_le() 138 static inline bool spl_fixpt_eq(struct spl_fixed31_32 arg1, struct spl_fixed31_32 arg2) in spl_fixpt_eq() argument 140 return arg1.value == arg2.value; in spl_fixpt_eq() 147 static inline struct spl_fixed31_32 spl_fixpt_min(struct spl_fixed31_32 arg1, struct spl_fixed31_32… in spl_fixpt_min() argument 149 if (arg1.value <= arg2.value) in spl_fixpt_min() 150 return arg1; in spl_fixpt_min() 159 static inline struct spl_fixed31_32 spl_fixpt_max(struct spl_fixed31_32 arg1, struct spl_fixed31_32… in spl_fixpt_max() argument [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calc_math.c | 40 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-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_standalone_libraries/ |
D | lib_float_math.c | 20 double math_mod(const double arg1, const double arg2) in math_mod() argument 22 if (isNaN(arg1)) in math_mod() 25 return arg1; in math_mod() 26 return arg1 - arg1 * ((int)(arg1 / arg2)); in math_mod() 29 double math_min2(const double arg1, const double arg2) in math_min2() argument 31 if (isNaN(arg1)) in math_min2() 34 return arg1; in math_min2() 35 return arg1 < arg2 ? arg1 : arg2; in math_min2() 38 double math_max2(const double arg1, const double arg2) in math_max2() argument 40 if (isNaN(arg1)) in math_max2() [all …]
|
/linux-6.12.1/arch/m68k/include/asm/ |
D | linkage.h | 22 #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-6.12.1/arch/x86/um/shared/sysdep/ |
D | stub_32.h | 26 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 …]
|
D | stub_64.h | 31 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 37 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2() 42 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument 49 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3() 55 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 62 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4() 69 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument 76 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5() 83 static __always_inline long stub_syscall6(long syscall, long arg1, long arg2, in stub_syscall6() argument 92 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall6()
|
/linux-6.12.1/tools/include/nolibc/ |
D | arch-i386.h | 45 #define my_syscall1(num, arg1) \ argument 49 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 61 #define my_syscall2(num, arg1, arg2) \ argument 65 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 78 #define my_syscall3(num, arg1, arg2, arg3) \ argument 82 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 96 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 100 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 115 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 119 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ [all …]
|
D | arch-aarch64.h | 39 #define my_syscall1(num, arg1) \ argument 42 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 54 #define my_syscall2(num, arg1, arg2) \ argument 57 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 70 #define my_syscall3(num, arg1, arg2, arg3) \ argument 73 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 87 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 90 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 105 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 108 register long _arg1 __asm__ ("x0") = (long)(arg1); \ [all …]
|
D | arch-riscv.h | 38 #define my_syscall1(num, arg1) \ argument 41 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 52 #define my_syscall2(num, arg1, arg2) \ argument 55 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 68 #define my_syscall3(num, arg1, arg2, arg3) \ argument 71 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 85 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 88 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 103 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 106 register long _arg1 __asm__ ("a0") = (long)(arg1); \ [all …]
|
D | arch-loongarch.h | 41 #define my_syscall1(num, arg1) \ argument 44 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 55 #define my_syscall2(num, arg1, arg2) \ argument 58 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 71 #define my_syscall3(num, arg1, arg2, arg3) \ argument 74 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 88 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 91 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 106 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 109 register long _arg1 __asm__ ("a0") = (long)(arg1); \ [all …]
|
D | arch-powerpc.h | 45 #define my_syscall1(num, arg1) \ argument 49 register long _arg1 __asm__ ("r3") = (long)(arg1); \ 64 #define my_syscall2(num, arg1, arg2) \ argument 68 register long _arg1 __asm__ ("r3") = (long)(arg1); \ 84 #define my_syscall3(num, arg1, arg2, arg3) \ argument 88 register long _arg1 __asm__ ("r3") = (long)(arg1); \ 105 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 109 register long _arg1 __asm__ ("r3") = (long)(arg1); \ 128 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 132 register long _arg1 __asm__ ("r3") = (long)(arg1); \ [all …]
|
D | arch-x86_64.h | 46 #define my_syscall1(num, arg1) \ argument 50 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 62 #define my_syscall2(num, arg1, arg2) \ argument 66 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 79 #define my_syscall3(num, arg1, arg2, arg3) \ argument 83 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 97 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 101 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 116 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 120 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ [all …]
|
D | arch-arm.h | 70 #define my_syscall1(num, arg1) \ argument 73 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 87 #define my_syscall2(num, arg1, arg2) \ argument 90 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 105 #define my_syscall3(num, arg1, arg2, arg3) \ argument 108 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 124 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 127 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 144 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 147 register long _arg1 __asm__ ("r0") = (long)(arg1); \ [all …]
|
D | arch-mips.h | 57 #define my_syscall1(num, arg1) \ argument 60 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 75 #define my_syscall2(num, arg1, arg2) \ argument 78 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 94 #define my_syscall3(num, arg1, arg2, arg3) \ argument 97 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 114 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 117 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 134 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 137 register long _arg1 __asm__ ("a0") = (long)(arg1); \ [all …]
|
D | arch-s390.h | 40 #define my_syscall1(num, arg1) \ argument 43 register long _arg1 __asm__ ("2") = (long)(arg1); \ 54 #define my_syscall2(num, arg1, arg2) \ argument 57 register long _arg1 __asm__ ("2") = (long)(arg1); \ 69 #define my_syscall3(num, arg1, arg2, arg3) \ argument 72 register long _arg1 __asm__ ("2") = (long)(arg1); \ 85 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 88 register long _arg1 __asm__ ("2") = (long)(arg1); \ 102 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 105 register long _arg1 __asm__ ("2") = (long)(arg1); \ [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | sdt.h | 339 #define _SDT_ASM_OPERANDS_1(arg1) _SDT_ARG(1, arg1) 340 #define _SDT_ASM_OPERANDS_2(arg1, arg2) \ 341 _SDT_ASM_OPERANDS_1(arg1), _SDT_ARG(2, arg2) 342 #define _SDT_ASM_OPERANDS_3(arg1, arg2, arg3) \ 343 _SDT_ASM_OPERANDS_2(arg1, arg2), _SDT_ARG(3, arg3) 344 #define _SDT_ASM_OPERANDS_4(arg1, arg2, arg3, arg4) \ 345 _SDT_ASM_OPERANDS_3(arg1, arg2, arg3), _SDT_ARG(4, arg4) 346 #define _SDT_ASM_OPERANDS_5(arg1, arg2, arg3, arg4, arg5) \ 347 _SDT_ASM_OPERANDS_4(arg1, arg2, arg3, arg4), _SDT_ARG(5, arg5) 348 #define _SDT_ASM_OPERANDS_6(arg1, arg2, arg3, arg4, arg5, arg6) \ [all …]
|
/linux-6.12.1/arch/x86/include/asm/ |
D | paravirt_types.h | 476 #define PVOP_CALL1(rettype, op, arg1) \ argument 477 __PVOP_CALL(rettype, op, PVOP_CALL_ARG1(arg1)) 478 #define PVOP_VCALL1(op, arg1) \ argument 479 __PVOP_VCALL(op, PVOP_CALL_ARG1(arg1)) 480 #define PVOP_ALT_VCALL1(op, arg1, alt, cond) \ argument 481 __PVOP_ALT_VCALL(op, alt, cond, PVOP_CALL_ARG1(arg1)) 483 #define PVOP_CALLEE1(rettype, op, arg1) \ argument 484 __PVOP_CALLEESAVE(rettype, op, PVOP_CALL_ARG1(arg1)) 485 #define PVOP_VCALLEE1(op, arg1) \ argument 486 __PVOP_VCALLEESAVE(op, PVOP_CALL_ARG1(arg1)) [all …]
|
/linux-6.12.1/arch/sparc/include/asm/ |
D | smp_32.h | 57 void (*cross_call)(void *func, cpumask_t mask, unsigned long arg1, 71 static inline void xc1(void *func, unsigned long arg1) in xc1() argument 73 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, 0, 0, 0); in xc1() 75 static inline void xc2(void *func, unsigned long arg1, unsigned long arg2) in xc2() argument 77 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0); in xc2() 80 static inline void xc3(void *func, unsigned long arg1, unsigned long arg2, in xc3() argument 84 arg1, arg2, arg3, 0); in xc3() 87 static inline void xc4(void *func, unsigned long arg1, unsigned long arg2, in xc4() argument 91 arg1, arg2, arg3, arg4); in xc4()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/ |
D | ucall_common.h | 53 #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-6.12.1/arch/parisc/include/asm/ |
D | unistd.h | 109 #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-6.12.1/include/linux/ |
D | kcov.h | 110 void __sanitizer_cov_trace_cmp1(u8 arg1, u8 arg2); 111 void __sanitizer_cov_trace_cmp2(u16 arg1, u16 arg2); 112 void __sanitizer_cov_trace_cmp4(u32 arg1, u32 arg2); 113 void __sanitizer_cov_trace_cmp8(kcov_u64 arg1, kcov_u64 arg2); 114 void __sanitizer_cov_trace_const_cmp1(u8 arg1, u8 arg2); 115 void __sanitizer_cov_trace_const_cmp2(u16 arg1, u16 arg2); 116 void __sanitizer_cov_trace_const_cmp4(u32 arg1, u32 arg2); 117 void __sanitizer_cov_trace_const_cmp8(kcov_u64 arg1, kcov_u64 arg2);
|
/linux-6.12.1/arch/parisc/kernel/ |
D | real2.S | 61 ldw 0(%arg1), %arg0 /* note overwriting arg0 */ 62 ldw -8(%arg1), %arg2 63 ldw -12(%arg1), %arg3 64 ldw -4(%arg1), %arg1 /* obviously must do this one last! */ 240 ldd 0*REG_SZ(%arg1), %arg0 /* note overwriting arg0 */ 241 ldd 2*REG_SZ(%arg1), %arg2 242 ldd 3*REG_SZ(%arg1), %arg3 243 ldd 4*REG_SZ(%arg1), %r22 244 ldd 5*REG_SZ(%arg1), %r21 245 ldd 6*REG_SZ(%arg1), %r20 [all …]
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | kvm_para.h | 80 unsigned long arg0, unsigned long arg1) in kvm_hypercall2() argument 85 register unsigned long a2 asm("a2") = arg1; in kvm_hypercall2() 98 unsigned long arg0, unsigned long arg1, unsigned long arg2) in kvm_hypercall3() argument 103 register unsigned long a2 asm("a2") = arg1; in kvm_hypercall3() 117 unsigned long arg0, unsigned long arg1, in kvm_hypercall4() argument 123 register unsigned long a2 asm("a2") = arg1; in kvm_hypercall4() 138 unsigned long arg0, unsigned long arg1, in kvm_hypercall5() argument 144 register unsigned long a2 asm("a2") = arg1; in kvm_hypercall5()
|