/linux-6.1.9/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 …]
|
D | dcn_calc_math.h | 29 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-6.1.9/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.1.9/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.1.9/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.1.9/arch/x86/um/shared/sysdep/ |
D | stub_32.h | 24 static inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument 28 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1)); in stub_syscall1() 33 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 37 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall2() 43 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 47 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall3() 53 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 58 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall4() 64 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument 69 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall5()
|
D | stub_64.h | 30 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 36 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2() 41 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 47 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3() 53 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 60 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4() 67 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument 74 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
|
/linux-6.1.9/arch/parisc/include/asm/ |
D | unistd.h | 113 #define _syscall1(type,name,type1,arg1) \ argument 114 type name(type1 arg1) \ 116 return K_INLINE_SYSCALL(name, 1, arg1); \ 119 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument 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) \ argument 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,type2,arg2,type3,arg3,type4,arg4) \ argument [all …]
|
/linux-6.1.9/tools/include/nolibc/ |
D | arch-i386.h | 80 #define my_syscall1(num, arg1) \ argument 84 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 96 #define my_syscall2(num, arg1, arg2) \ argument 100 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 113 #define my_syscall3(num, arg1, arg2, arg3) \ argument 117 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 131 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 135 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 150 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 154 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ [all …]
|
D | arch-aarch64.h | 79 #define my_syscall1(num, arg1) \ argument 82 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 94 #define my_syscall2(num, arg1, arg2) \ argument 97 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 110 #define my_syscall3(num, arg1, arg2, arg3) \ argument 113 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 127 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 130 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 145 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 148 register long _arg1 __asm__ ("x0") = (long)(arg1); \ [all …]
|
D | arch-riscv.h | 81 #define my_syscall1(num, arg1) \ argument 84 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 95 #define my_syscall2(num, arg1, arg2) \ argument 98 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 111 #define my_syscall3(num, arg1, arg2, arg3) \ argument 114 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 128 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 131 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 146 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 149 register long _arg1 __asm__ ("a0") = (long)(arg1); \ [all …]
|
D | arch-x86_64.h | 82 #define my_syscall1(num, arg1) \ argument 86 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 98 #define my_syscall2(num, arg1, arg2) \ argument 102 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 115 #define my_syscall3(num, arg1, arg2, arg3) \ argument 119 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 133 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 137 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 152 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 156 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ [all …]
|
D | arch-arm.h | 92 #define my_syscall1(num, arg1) \ argument 95 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 107 #define my_syscall2(num, arg1, arg2) \ argument 110 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 123 #define my_syscall3(num, arg1, arg2, arg3) \ argument 126 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 140 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 143 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 158 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 161 register long _arg1 __asm__ ("r0") = (long)(arg1); \
|
D | arch-mips.h | 87 #define my_syscall1(num, arg1) \ argument 90 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 106 #define my_syscall2(num, arg1, arg2) \ argument 109 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 126 #define my_syscall3(num, arg1, arg2, arg3) \ argument 129 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 147 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 150 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 168 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 171 register long _arg1 __asm__ ("a0") = (long)(arg1); \
|
/linux-6.1.9/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.1.9/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.1.9/arch/x86/include/asm/ |
D | paravirt_types.h | 537 #define PVOP_CALL1(rettype, op, arg1) \ argument 538 __PVOP_CALL(rettype, op, PVOP_CALL_ARG1(arg1)) 539 #define PVOP_VCALL1(op, arg1) \ argument 540 __PVOP_VCALL(op, PVOP_CALL_ARG1(arg1)) 541 #define PVOP_ALT_VCALL1(op, arg1, alt, cond) \ argument 542 __PVOP_ALT_VCALL(op, alt, cond, PVOP_CALL_ARG1(arg1)) 544 #define PVOP_CALLEE1(rettype, op, arg1) \ argument 545 __PVOP_CALLEESAVE(rettype, op, PVOP_CALL_ARG1(arg1)) 546 #define PVOP_VCALLEE1(op, arg1) \ argument 547 __PVOP_VCALLEESAVE(op, PVOP_CALL_ARG1(arg1)) [all …]
|
/linux-6.1.9/tools/testing/selftests/kvm/include/ |
D | ucall_common.h | 32 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument 33 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4) 55 #define GUEST_ASSERT_1(_condition, arg1) \ argument 56 __GUEST_ASSERT(_condition, #_condition, 1, (arg1)) 58 #define GUEST_ASSERT_2(_condition, arg1, arg2) \ argument 59 __GUEST_ASSERT(_condition, #_condition, 2, (arg1), (arg2)) 61 #define GUEST_ASSERT_3(_condition, arg1, arg2, arg3) \ argument 62 __GUEST_ASSERT(_condition, #_condition, 3, (arg1), (arg2), (arg3)) 64 #define GUEST_ASSERT_4(_condition, arg1, arg2, arg3, arg4) \ argument 65 __GUEST_ASSERT(_condition, #_condition, 4, (arg1), (arg2), (arg3), (arg4))
|
/linux-6.1.9/arch/parisc/kernel/ |
D | real2.S | 74 ldw 0(%arg1), %arg0 /* note overwriting arg0 */ 75 ldw -8(%arg1), %arg2 76 ldw -12(%arg1), %arg3 77 ldw -4(%arg1), %arg1 /* obviously must do this one last! */ 252 ldo 64(%arg1), %r29 256 ldd 0*REG_SZ(%arg1), %arg0 /* note overwriting arg0 */ 257 ldd 2*REG_SZ(%arg1), %arg2 258 ldd 3*REG_SZ(%arg1), %arg3 259 ldd 4*REG_SZ(%arg1), %r22 260 ldd 5*REG_SZ(%arg1), %r21 [all …]
|
D | pacache.S | 70 LDREG ITLB_OFF_STRIDE(%r1), %arg1 86 pitlbe,m %arg1(%sr1, %r28) /* Last pitlbe and addr adjust */ 100 pitlbe,m %arg1(%sr1, %r28) /* pitlbe for one loop */ 114 LDREG DTLB_OFF_STRIDE(%r1), %arg1 130 pdtlbe,m %arg1(%sr1, %r28) /* Last pdtlbe and addr adjust */ 144 pdtlbe,m %arg1(%sr1, %r28) /* pdtlbe for one loop */ 196 LDREG ICACHE_STRIDE(%r1), %arg1 207 fice,m %arg1(%sr1, %arg0) /* Last fice and addr adjust */ 216 fice,m %arg1(%sr1, %arg0) 217 fice,m %arg1(%sr1, %arg0) [all …]
|
/linux-6.1.9/drivers/firmware/efi/ |
D | runtime-wrappers.c | 71 efi_rts_work.arg1 = _arg1; \ 182 void *arg1, *arg2, *arg3, *arg4, *arg5; in efi_call_rts() local 185 arg1 = efi_rts_work.arg1; in efi_call_rts() 193 status = efi_call_virt(get_time, (efi_time_t *)arg1, in efi_call_rts() 197 status = efi_call_virt(set_time, (efi_time_t *)arg1); in efi_call_rts() 200 status = efi_call_virt(get_wakeup_time, (efi_bool_t *)arg1, in efi_call_rts() 204 status = efi_call_virt(set_wakeup_time, *(efi_bool_t *)arg1, in efi_call_rts() 208 status = efi_call_virt(get_variable, (efi_char16_t *)arg1, in efi_call_rts() 213 status = efi_call_virt(get_next_variable, (unsigned long *)arg1, in efi_call_rts() 218 status = efi_call_virt(set_variable, (efi_char16_t *)arg1, in efi_call_rts() [all …]
|
/linux-6.1.9/tools/perf/scripts/python/Perf-Trace-Util/ |
D | Context.c | 27 #define _PyCapsule_GetPointer(arg1, arg2) \ argument 28 PyCObject_AsVoidPtr(arg1) 29 #define _PyBytes_FromStringAndSize(arg1, arg2) \ argument 30 PyString_FromStringAndSize((arg1), (arg2)) 36 #define _PyCapsule_GetPointer(arg1, arg2) \ argument 37 PyCapsule_GetPointer((arg1), (arg2)) 38 #define _PyBytes_FromStringAndSize(arg1, arg2) \ argument 39 PyBytes_FromStringAndSize((arg1), (arg2))
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 177 u32 arg1, arg2, arg3; in qlcnic_fw_cmd_set_drv_version() local 190 memcpy(&arg1, drv_string, sizeof(u32)); in qlcnic_fw_cmd_set_drv_version() 194 cmd.req.arg[1] = arg1; in qlcnic_fw_cmd_set_drv_version() 1028 u32 arg1; in qlcnic_config_port_mirroring() local 1037 arg1 = id | (enable_mirroring ? BIT_4 : 0); in qlcnic_config_port_mirroring() 1038 arg1 |= pci_func << 8; in qlcnic_config_port_mirroring() 1045 cmd.req.arg[1] = arg1; in qlcnic_config_port_mirroring() 1066 u32 arg1; in qlcnic_get_port_stats() local 1085 arg1 = func | QLCNIC_STATS_VERSION << 8 | QLCNIC_STATS_PORT << 12; in qlcnic_get_port_stats() 1086 arg1 |= rx_tx << 15 | stats_size << 16; in qlcnic_get_port_stats() [all …]
|
/linux-6.1.9/arch/arm/mach-bcm/ |
D | bcm_kona_smc.c | 18 unsigned arg1; member 139 writel_relaxed(data->arg1, args++); in __bcm_kona_smc() 150 unsigned bcm_kona_smc(unsigned service_id, unsigned arg0, unsigned arg1, in bcm_kona_smc() argument 157 data.arg1 = arg1; in bcm_kona_smc()
|
/linux-6.1.9/arch/alpha/include/asm/ |
D | pal.h | 42 extern inline void NAME(TYPE0 arg0, TYPE1 arg1) \ 45 register TYPE1 __r17 __asm__("$17") = arg1; \ 67 extern inline RTYPE NAME(TYPE0 arg0, TYPE1 arg1) \ 71 register TYPE1 __r17 __asm__("$17") = arg1; \ 98 #define __tbi(nr,arg,arg1...) \ argument 105 :"0" (__r16),"i" (PAL_tbi) ,##arg1 \
|