/Linux-v5.15/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-v5.15/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-v5.15/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dcn_calc_math.c | 39 float dcn_bw_mod(const float arg1, const float arg2) in dcn_bw_mod() argument 41 if (isNaN(arg1)) in dcn_bw_mod() 44 return arg1; in dcn_bw_mod() 45 return arg1 - arg1 * ((int) (arg1 / arg2)); in dcn_bw_mod() 48 float dcn_bw_min2(const float arg1, const float arg2) in dcn_bw_min2() argument 50 if (isNaN(arg1)) in dcn_bw_min2() 53 return arg1; in dcn_bw_min2() 54 return arg1 < arg2 ? arg1 : arg2; in dcn_bw_min2() 57 unsigned int dcn_bw_max(const unsigned int arg1, const unsigned int arg2) in dcn_bw_max() argument 59 return arg1 > arg2 ? arg1 : arg2; in dcn_bw_max() [all …]
|
/Linux-v5.15/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-v5.15/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 | 29 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 35 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2() 40 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 46 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3() 52 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 59 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4() 66 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument 73 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
|
/Linux-v5.15/arch/parisc/include/asm/ |
D | unistd.h | 117 #define _syscall1(type,name,type1,arg1) \ argument 118 type name(type1 arg1) \ 120 return K_INLINE_SYSCALL(name, 1, arg1); \ 123 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument 124 type name(type1 arg1, type2 arg2) \ 126 return K_INLINE_SYSCALL(name, 2, arg1, arg2); \ 129 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ argument 130 type name(type1 arg1, type2 arg2, type3 arg3) \ 132 return K_INLINE_SYSCALL(name, 3, arg1, arg2, arg3); \ 135 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ argument [all …]
|
/Linux-v5.15/arch/sparc/include/asm/ |
D | smp_32.h | 60 void (*cross_call)(smpfunc_t func, cpumask_t mask, unsigned long arg1, 74 static inline void xc1(smpfunc_t func, unsigned long arg1) in xc1() argument 76 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, 0, 0, 0); in xc1() 78 static inline void xc2(smpfunc_t func, unsigned long arg1, unsigned long arg2) in xc2() argument 80 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0); in xc2() 83 static inline void xc3(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc3() argument 87 arg1, arg2, arg3, 0); in xc3() 90 static inline void xc4(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc4() argument 94 arg1, arg2, arg3, arg4); in xc4()
|
/Linux-v5.15/arch/x86/include/asm/ |
D | paravirt_types.h | 527 #define PVOP_CALL1(rettype, op, arg1) \ argument 528 __PVOP_CALL(rettype, op, PVOP_CALL_ARG1(arg1)) 529 #define PVOP_VCALL1(op, arg1) \ argument 530 __PVOP_VCALL(op, PVOP_CALL_ARG1(arg1)) 531 #define PVOP_ALT_VCALL1(op, arg1, alt, cond) \ argument 532 __PVOP_ALT_VCALL(op, alt, cond, PVOP_CALL_ARG1(arg1)) 534 #define PVOP_CALLEE1(rettype, op, arg1) \ argument 535 __PVOP_CALLEESAVE(rettype, op, PVOP_CALL_ARG1(arg1)) 536 #define PVOP_VCALLEE1(op, arg1) \ argument 537 __PVOP_VCALLEESAVE(op, PVOP_CALL_ARG1(arg1)) [all …]
|
/Linux-v5.15/tools/include/nolibc/ |
D | nolibc.h | 290 #define my_syscall1(num, arg1) \ argument 294 register long _arg1 asm("rdi") = (long)(arg1); \ 306 #define my_syscall2(num, arg1, arg2) \ argument 310 register long _arg1 asm("rdi") = (long)(arg1); \ 323 #define my_syscall3(num, arg1, arg2, arg3) \ argument 327 register long _arg1 asm("rdi") = (long)(arg1); \ 341 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 345 register long _arg1 asm("rdi") = (long)(arg1); \ 360 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 364 register long _arg1 asm("rdi") = (long)(arg1); \ [all …]
|
/Linux-v5.15/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-v5.15/drivers/firmware/efi/ |
D | runtime-wrappers.c | 70 efi_rts_work.arg1 = _arg1; \ 180 void *arg1, *arg2, *arg3, *arg4, *arg5; in efi_call_rts() local 183 arg1 = efi_rts_work.arg1; in efi_call_rts() 191 status = efi_call_virt(get_time, (efi_time_t *)arg1, in efi_call_rts() 195 status = efi_call_virt(set_time, (efi_time_t *)arg1); in efi_call_rts() 198 status = efi_call_virt(get_wakeup_time, (efi_bool_t *)arg1, in efi_call_rts() 202 status = efi_call_virt(set_wakeup_time, *(efi_bool_t *)arg1, in efi_call_rts() 206 status = efi_call_virt(get_variable, (efi_char16_t *)arg1, in efi_call_rts() 211 status = efi_call_virt(get_next_variable, (unsigned long *)arg1, in efi_call_rts() 216 status = efi_call_virt(set_variable, (efi_char16_t *)arg1, in efi_call_rts() [all …]
|
/Linux-v5.15/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-v5.15/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-v5.15/arch/arm/mach-bcm/ |
D | bcm_kona_smc.c | 28 unsigned arg1; member 148 writel_relaxed(data->arg1, args++); in __bcm_kona_smc() 159 unsigned bcm_kona_smc(unsigned service_id, unsigned arg0, unsigned arg1, in bcm_kona_smc() argument 166 data.arg1 = arg1; in bcm_kona_smc()
|
/Linux-v5.15/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 \
|
/Linux-v5.15/drivers/firmware/meson/ |
D | meson_sm.c | 70 static u32 __meson_sm_call(u32 cmd, u32 arg0, u32 arg1, u32 arg2, in __meson_sm_call() argument 75 arm_smccc_smc(cmd, arg0, arg1, arg2, arg3, arg4, 0, 0, &res); in __meson_sm_call() 105 u32 *ret, u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 arg4) in meson_sm_call() argument 116 lret = __meson_sm_call(cmd, arg0, arg1, arg2, arg3, arg4); in meson_sm_call() 144 u32 arg1, u32 arg2, u32 arg3, u32 arg4) in meson_sm_call_read() argument 158 if (meson_sm_call(fw, cmd_index, &size, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_read() 193 u32 arg1, u32 arg2, u32 arg3, u32 arg4) in meson_sm_call_write() argument 208 if (meson_sm_call(fw, cmd_index, &written, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_write()
|
/Linux-v5.15/net/ceph/crush/ |
D | mapper.c | 945 if ((curstep->arg1 >= 0 && in crush_do_rule() 946 curstep->arg1 < map->max_devices) || in crush_do_rule() 947 (-1-curstep->arg1 >= 0 && in crush_do_rule() 948 -1-curstep->arg1 < map->max_buckets && in crush_do_rule() 949 map->buckets[-1-curstep->arg1])) { in crush_do_rule() 950 w[0] = curstep->arg1; in crush_do_rule() 953 dprintk(" bad take value %d\n", curstep->arg1); in crush_do_rule() 958 if (curstep->arg1 > 0) in crush_do_rule() 959 choose_tries = curstep->arg1; in crush_do_rule() 963 if (curstep->arg1 > 0) in crush_do_rule() [all …]
|
/Linux-v5.15/arch/mips/kernel/ |
D | syscall.c | 207 SYSCALL_DEFINE3(sysmips, long, cmd, long, arg1, long, arg2) in SYSCALL_DEFINE3() argument 211 return mips_atomic_set(arg1, arg2); in SYSCALL_DEFINE3() 214 if (arg1 & ~3) in SYSCALL_DEFINE3() 217 if (arg1 & 1) in SYSCALL_DEFINE3() 221 if (arg1 & 2) in SYSCALL_DEFINE3()
|
/Linux-v5.15/arch/arm64/kernel/ |
D | cpu-reset.h | 14 unsigned long arg0, unsigned long arg1, unsigned long arg2); 18 unsigned long arg1, in cpu_soft_restart() argument 28 restart(el2_switch, entry, arg0, arg1, arg2); in cpu_soft_restart()
|
/Linux-v5.15/kernel/ |
D | kcov.c | 211 static void notrace write_comp_data(u64 type, u64 arg1, u64 arg2, u64 ip) in write_comp_data() argument 237 area[start_index + 1] = arg1; in write_comp_data() 244 void notrace __sanitizer_cov_trace_cmp1(u8 arg1, u8 arg2) in __sanitizer_cov_trace_cmp1() argument 246 write_comp_data(KCOV_CMP_SIZE(0), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp1() 250 void notrace __sanitizer_cov_trace_cmp2(u16 arg1, u16 arg2) in __sanitizer_cov_trace_cmp2() argument 252 write_comp_data(KCOV_CMP_SIZE(1), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp2() 256 void notrace __sanitizer_cov_trace_cmp4(u32 arg1, u32 arg2) in __sanitizer_cov_trace_cmp4() argument 258 write_comp_data(KCOV_CMP_SIZE(2), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp4() 262 void notrace __sanitizer_cov_trace_cmp8(u64 arg1, u64 arg2) in __sanitizer_cov_trace_cmp8() argument 264 write_comp_data(KCOV_CMP_SIZE(3), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp8() [all …]
|
/Linux-v5.15/include/linux/firmware/meson/ |
D | meson_sm.h | 22 u32 *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-v5.15/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 372 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument 373 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4) 386 #define GUEST_ASSERT_1(_condition, arg1) \ argument 387 __GUEST_ASSERT(_condition, #_condition, 1, (arg1)) 389 #define GUEST_ASSERT_2(_condition, arg1, arg2) \ argument 390 __GUEST_ASSERT(_condition, #_condition, 2, (arg1), (arg2)) 392 #define GUEST_ASSERT_3(_condition, arg1, arg2, arg3) \ argument 393 __GUEST_ASSERT(_condition, #_condition, 3, (arg1), (arg2), (arg3)) 395 #define GUEST_ASSERT_4(_condition, arg1, arg2, arg3, arg4) \ argument 396 __GUEST_ASSERT(_condition, #_condition, 4, (arg1), (arg2), (arg3), (arg4))
|