| /linux/drivers/gpu/drm/amd/display/dc/inc/ |
| A D | bw_fixed.h | 45 return (arg1.value <= arg2.value) ? arg1 : arg2; in bw_min2() 51 return (arg2.value <= arg1.value) ? arg1 : arg2; in bw_max2() 106 res.value = arg1.value + arg2.value; in bw_add() 115 res.value = arg1.value - arg2.value; in bw_sub() 123 return bw_frc_to_fixed(arg1.value, arg2.value); in bw_div() 138 return arg1.value == arg2.value; in bw_equ() 143 return arg1.value != arg2.value; in bw_neq() 148 return arg1.value <= arg2.value; in bw_leq() 153 return arg1.value >= arg2.value; in bw_meq() 158 return arg1.value < arg2.value; in bw_ltn() [all …]
|
| A 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/drivers/gpu/drm/amd/display/include/ |
| A D | fixed31_32.h | 137 return arg1.value < arg2.value; in dc_fixpt_lt() 146 return arg1.value <= arg2.value; in dc_fixpt_le() 155 return arg1.value == arg2.value; in dc_fixpt_eq() 164 if (arg1.value <= arg2.value) in dc_fixpt_min() 165 return arg1; in dc_fixpt_min() 176 if (arg1.value <= arg2.value) in dc_fixpt_max() 179 return arg1; in dc_fixpt_max() 249 ASSERT(((arg1.value >= 0) && (LLONG_MAX - arg1.value >= arg2.value)) || in dc_fixpt_add() 250 ((arg1.value < 0) && (LLONG_MIN - arg1.value <= arg2.value))); in dc_fixpt_add() 428 if (arg1.value == 0) in dc_fixpt_pow() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/calcs/ |
| A 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() 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() 59 return arg1 > arg2 ? arg1 : arg2; in dcn_bw_max() 63 if (isNaN(arg1)) in dcn_bw_max2() 66 return arg1; in dcn_bw_max2() [all …]
|
| /linux/arch/m68k/include/asm/ |
| A 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/arch/parisc/include/asm/ |
| A 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) \ 136 type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ 138 return K_INLINE_SYSCALL(name, 4, arg1, arg2, arg3, arg4); \ [all …]
|
| /linux/arch/x86/um/shared/sysdep/ |
| A 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()
|
| A 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/arch/x86/include/asm/ |
| A D | paravirt_types.h | 528 #define PVOP_CALL1(rettype, op, arg1) \ argument 529 __PVOP_CALL(rettype, op, PVOP_CALL_ARG1(arg1)) 530 #define PVOP_VCALL1(op, arg1) \ argument 531 __PVOP_VCALL(op, PVOP_CALL_ARG1(arg1)) 535 #define PVOP_CALLEE1(rettype, op, arg1) \ argument 537 #define PVOP_VCALLEE1(op, arg1) \ argument 538 __PVOP_VCALLEESAVE(op, PVOP_CALL_ARG1(arg1)) 545 #define PVOP_CALL2(rettype, op, arg1, arg2) \ argument 547 #define PVOP_VCALL2(op, arg1, arg2) \ argument 553 #define PVOP_VCALL3(op, arg1, arg2, arg3) \ argument [all …]
|
| /linux/tools/include/nolibc/ |
| A D | nolibc.h | 294 register long _arg1 asm("rdi") = (long)(arg1); \ 310 register long _arg1 asm("rdi") = (long)(arg1); \ 327 register long _arg1 asm("rdi") = (long)(arg1); \ 345 register long _arg1 asm("rdi") = (long)(arg1); \ 364 register long _arg1 asm("rdi") = (long)(arg1); \ 384 register long _arg1 asm("rdi") = (long)(arg1); \ 493 register long _arg1 asm("ebx") = (long)(arg1); \ 509 register long _arg1 asm("ebx") = (long)(arg1); \ 526 register long _arg1 asm("ebx") = (long)(arg1); \ 544 register long _arg1 asm("ebx") = (long)(arg1); \ [all …]
|
| /linux/arch/sparc/include/asm/ |
| A 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/arch/parisc/kernel/ |
| A D | real2.S | 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 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 261 ldd 6*REG_SZ(%arg1), %r20 262 ldd 7*REG_SZ(%arg1), %r19 [all …]
|
| A D | pacache.S | 216 fice,m %arg1(%sr1, %arg0) 217 fice,m %arg1(%sr1, %arg0) 218 fice,m %arg1(%sr1, %arg0) 219 fice,m %arg1(%sr1, %arg0) 220 fice,m %arg1(%sr1, %arg0) 221 fice,m %arg1(%sr1, %arg0) 222 fice,m %arg1(%sr1, %arg0) 223 fice,m %arg1(%sr1, %arg0) 224 fice,m %arg1(%sr1, %arg0) 225 fice,m %arg1(%sr1, %arg0) [all …]
|
| /linux/drivers/firmware/efi/ |
| A 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() 206 status = efi_call_virt(get_variable, (efi_char16_t *)arg1, in efi_call_rts() 216 status = efi_call_virt(set_variable, (efi_char16_t *)arg1, in efi_call_rts() 221 status = efi_call_virt(query_variable_info, *(u32 *)arg1, in efi_call_rts() 229 (efi_capsule_header_t **)arg1, in efi_call_rts() [all …]
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| A D | qlcnic_ctx.c | 177 u32 arg1, arg2, arg3; in qlcnic_fw_cmd_set_drv_version() local 194 cmd.req.arg[1] = arg1; in qlcnic_fw_cmd_set_drv_version() 1028 u32 arg1; in qlcnic_config_port_mirroring() local 1066 u32 arg1; in qlcnic_get_port_stats() local 1244 u32 arg1; in qlcnic_clear_esw_stats() local 1322 u32 arg1, arg2 = 0; in qlcnic_config_switch_port() local 1350 arg1 &= ~BIT_4; in qlcnic_config_switch_port() 1352 arg1 &= ~BIT_6; in qlcnic_config_switch_port() 1354 arg1 &= ~BIT_7; in qlcnic_config_switch_port() 1403 u32 arg1, arg2; in qlcnic_get_eswitch_port_config() local [all …]
|
| /linux/tools/perf/scripts/python/Perf-Trace-Util/ |
| A 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/net/ceph/crush/ |
| A D | mapper.c | 945 if ((curstep->arg1 >= 0 && in crush_do_rule() 950 w[0] = curstep->arg1; in crush_do_rule() 958 if (curstep->arg1 > 0) in crush_do_rule() 963 if (curstep->arg1 > 0) in crush_do_rule() 968 if (curstep->arg1 >= 0) in crush_do_rule() 973 if (curstep->arg1 >= 0) in crush_do_rule() 978 if (curstep->arg1 >= 0) in crush_do_rule() 979 vary_r = curstep->arg1; in crush_do_rule() 983 if (curstep->arg1 >= 0) in crush_do_rule() 984 stable = curstep->arg1; in crush_do_rule() [all …]
|
| /linux/drivers/firmware/meson/ |
| A 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/arch/arm/mach-bcm/ |
| A 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/arch/alpha/include/asm/ |
| A 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/arch/mips/kernel/ |
| A 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/kernel/ |
| A D | kcov.c | 240 area[start_index + 1] = arg1; in write_comp_data() 247 void notrace __sanitizer_cov_trace_cmp1(u8 arg1, u8 arg2) in __sanitizer_cov_trace_cmp1() argument 249 write_comp_data(KCOV_CMP_SIZE(0), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp1() 253 void notrace __sanitizer_cov_trace_cmp2(u16 arg1, u16 arg2) in __sanitizer_cov_trace_cmp2() argument 255 write_comp_data(KCOV_CMP_SIZE(1), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp2() 259 void notrace __sanitizer_cov_trace_cmp4(u32 arg1, u32 arg2) in __sanitizer_cov_trace_cmp4() argument 261 write_comp_data(KCOV_CMP_SIZE(2), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp4() 265 void notrace __sanitizer_cov_trace_cmp8(u64 arg1, u64 arg2) in __sanitizer_cov_trace_cmp8() argument 267 write_comp_data(KCOV_CMP_SIZE(3), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp8() 271 void notrace __sanitizer_cov_trace_const_cmp1(u8 arg1, u8 arg2) in __sanitizer_cov_trace_const_cmp1() argument [all …]
|
| /linux/tools/testing/selftests/kvm/include/ |
| A D | kvm_util.h | 385 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument 386 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4) 399 #define GUEST_ASSERT_1(_condition, arg1) \ argument 400 __GUEST_ASSERT(_condition, #_condition, 1, (arg1)) 402 #define GUEST_ASSERT_2(_condition, arg1, arg2) \ argument 403 __GUEST_ASSERT(_condition, #_condition, 2, (arg1), (arg2)) 405 #define GUEST_ASSERT_3(_condition, arg1, arg2, arg3) \ argument 406 __GUEST_ASSERT(_condition, #_condition, 3, (arg1), (arg2), (arg3)) 408 #define GUEST_ASSERT_4(_condition, arg1, arg2, arg3, arg4) \ argument 409 __GUEST_ASSERT(_condition, #_condition, 4, (arg1), (arg2), (arg3), (arg4))
|
| /linux/arch/sparc/kernel/ |
| A D | sun4m_smp.c | 161 unsigned long arg1; member 173 static void sun4m_cross_call(smpfunc_t func, cpumask_t mask, unsigned long arg1, in sun4m_cross_call() argument 184 ccall_info.arg1 = arg1; in sun4m_cross_call() 236 ccall_info.func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, in smp4m_cross_call_irq()
|
| /linux/include/linux/firmware/meson/ |
| A 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);
|