Home
last modified time | relevance | path

Searched refs:arg1 (Results 1 – 25 of 184) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
Dbw_fixed.h42 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 …]
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);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h141 static inline bool dc_fixpt_lt(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_lt() argument
143 return arg1.value < arg2.value; in dc_fixpt_lt()
150 static inline bool dc_fixpt_le(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_le() argument
152 return arg1.value <= arg2.value; in dc_fixpt_le()
159 static inline bool dc_fixpt_eq(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_eq() argument
161 return arg1.value == arg2.value; in dc_fixpt_eq()
168 static inline struct fixed31_32 dc_fixpt_min(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_min() argument
170 if (arg1.value <= arg2.value) in dc_fixpt_min()
171 return arg1; in dc_fixpt_min()
180 static inline struct fixed31_32 dc_fixpt_max(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_max() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calc_math.c39 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 …]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dlinkage.h22 #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 …]
/kernel/linux/linux-5.10/arch/x86/um/shared/sysdep/
Dstub_32.h24 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()
Dstub_64.h29 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()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
DIt_los_task_016.c40 static void TaskF04(UINTPTR arg1, UINTPTR arg2, UINTPTR arg3, UINTPTR arg4) in TaskF04() argument
42 ICUNIT_ASSERT_EQUAL_VOID(arg1, 1, arg1); in TaskF04()
51 static void TaskF03(UINTPTR arg1, UINTPTR arg2, UINTPTR arg3) in TaskF03() argument
53 ICUNIT_ASSERT_EQUAL_VOID(arg1, 0, arg1); in TaskF03()
62 static void TaskF02(UINTPTR arg1, UINTPTR arg2) in TaskF02() argument
64 ICUNIT_ASSERT_EQUAL_VOID(arg1, 0, arg1); in TaskF02()
71 static void TaskF01(UINTPTR arg1) in TaskF01() argument
73 ICUNIT_ASSERT_EQUAL_VOID(arg1, 0xffff, arg1); in TaskF01()
DIt_los_task_094.c40 static void TaskF03(UINTPTR arg1, UINTPTR arg2, UINTPTR arg3, UINTPTR arg4) in TaskF03() argument
44 ICUNIT_GOTO_EQUAL(arg1, 1, arg1, EXIT); in TaskF03()
52 static void TaskF02(UINTPTR arg1, UINTPTR arg2) in TaskF02() argument
54 ICUNIT_GOTO_EQUAL(arg1, 0, arg1, EXIT); in TaskF02()
63 static void TaskF01(UINTPTR arg1) in TaskF01() argument
65 ICUNIT_GOTO_EQUAL(arg1, 0xffff, arg1, EXIT); in TaskF01()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dunistd.h117 #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 …]
/kernel/uniproton/src/om/include/
Dprt_hook_external.h83 #define OS_MHOOK_ACTIVATE_PARA2(hookType, arg0, arg1) OS_MHOOK_ACTIVATE((hookType), \ argument
84 OsFunPara2, pfn((uintptr_t)(arg0), (uintptr_t)(arg1)))
85 #define OS_MHOOK_ACTIVATE_PARA3(hookType, arg0, arg1, arg2) OS_MHOOK_ACTIVATE((hookType), \ argument
86 OsFunPara3, pfn((uintptr_t)(arg0), (uintptr_t)(arg1), (uintptr_t)(arg2)))
87 #define OS_MHOOK_ACTIVATE_PARA4(hookType, arg0, arg1, arg2, arg3) \ argument
89 OsFunPara4, pfn((uintptr_t)(arg0), (uintptr_t)(arg1), (uintptr_t)(arg2), (uintptr_t)(arg3)))
90 #define OS_MHOOK_ACTIVATE_PARA5(hookType, arg0, arg1, arg2, arg3, arg4) \ argument
92 …pfn((uintptr_t)(arg0), (uintptr_t)(arg1), (uintptr_t)(arg2), (uintptr_t)(arg3), (uintptr_t)(arg4)))
96 #define OS_SHOOK_ACTIVATE_PARA2(hookType, arg0, arg1) OS_SHOOK_ACTIVATE((hookType), \ argument
97 OsFunPara2, pfn((uintptr_t)(arg0), (uintptr_t)(arg1)))
[all …]
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dsmp_32.h60 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()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dparavirt_types.h570 #define PVOP_CALL1(rettype, op, arg1) \ argument
571 __PVOP_CALL(rettype, op, "", "", PVOP_CALL_ARG1(arg1))
572 #define PVOP_VCALL1(op, arg1) \ argument
573 __PVOP_VCALL(op, "", "", PVOP_CALL_ARG1(arg1))
575 #define PVOP_CALLEE1(rettype, op, arg1) \ argument
576 __PVOP_CALLEESAVE(rettype, op, "", "", PVOP_CALL_ARG1(arg1))
577 #define PVOP_VCALLEE1(op, arg1) \ argument
578 __PVOP_VCALLEESAVE(op, "", "", PVOP_CALL_ARG1(arg1))
581 #define PVOP_CALL2(rettype, op, arg1, arg2) \ argument
582 __PVOP_CALL(rettype, op, "", "", PVOP_CALL_ARG1(arg1), \
[all …]
/kernel/linux/linux-5.10/tools/include/nolibc/
Dnolibc.h313 #define my_syscall1(num, arg1) \ argument
317 register long _arg1 asm("rdi") = (long)(arg1); \
329 #define my_syscall2(num, arg1, arg2) \ argument
333 register long _arg1 asm("rdi") = (long)(arg1); \
346 #define my_syscall3(num, arg1, arg2, arg3) \ argument
350 register long _arg1 asm("rdi") = (long)(arg1); \
364 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
368 register long _arg1 asm("rdi") = (long)(arg1); \
383 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
387 register long _arg1 asm("rdi") = (long)(arg1); \
[all …]
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dreal2.S74 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 …]
Dpacache.S70 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 …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dstacktrace.h78 #define CALL_ARGS_1(arg1) \ argument
79 register unsigned long r2 asm("2") = (unsigned long)(arg1)
80 #define CALL_ARGS_2(arg1, arg2) \ argument
81 CALL_ARGS_1(arg1); \
83 #define CALL_ARGS_3(arg1, arg2, arg3) \ argument
84 CALL_ARGS_2(arg1, arg2); \
86 #define CALL_ARGS_4(arg1, arg2, arg3, arg4) \ argument
87 CALL_ARGS_3(arg1, arg2, arg3); \
89 #define CALL_ARGS_5(arg1, arg2, arg3, arg4, arg5) \ argument
90 CALL_ARGS_4(arg1, arg2, arg3, arg4); \
[all …]
/kernel/linux/linux-5.10/drivers/firmware/efi/
Druntime-wrappers.c71 efi_rts_work.arg1 = _arg1; \
181 void *arg1, *arg2, *arg3, *arg4, *arg5; in efi_call_rts() local
184 arg1 = efi_rts_work.arg1; in efi_call_rts()
192 status = efi_call_virt(get_time, (efi_time_t *)arg1, in efi_call_rts()
196 status = efi_call_virt(set_time, (efi_time_t *)arg1); in efi_call_rts()
199 status = efi_call_virt(get_wakeup_time, (efi_bool_t *)arg1, in efi_call_rts()
203 status = efi_call_virt(set_wakeup_time, *(efi_bool_t *)arg1, in efi_call_rts()
207 status = efi_call_virt(get_variable, (efi_char16_t *)arg1, in efi_call_rts()
212 status = efi_call_virt(get_next_variable, (unsigned long *)arg1, in efi_call_rts()
217 status = efi_call_virt(set_variable, (efi_char16_t *)arg1, in efi_call_rts()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c177 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 …]
/kernel/linux/linux-5.10/arch/arm/mach-bcm/
Dbcm_kona_smc.c30 unsigned arg1; member
151 writel_relaxed(data->arg1, args++); in __bcm_kona_smc()
162 unsigned bcm_kona_smc(unsigned service_id, unsigned arg0, unsigned arg1, in bcm_kona_smc() argument
169 data.arg1 = arg1; in bcm_kona_smc()
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dpal.h42 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 \
/kernel/linux/linux-5.10/drivers/firmware/meson/
Dmeson_sm.c70 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()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dsyscall.c207 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()
/kernel/linux/linux-5.10/tools/perf/scripts/python/Perf-Trace-Util/
DContext.c12 #define _PyCapsule_GetPointer(arg1, arg2) \ argument
13 PyCObject_AsVoidPtr(arg1)
17 #define _PyCapsule_GetPointer(arg1, arg2) \ argument
18 PyCapsule_GetPointer((arg1), (arg2))
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/
Dkvm_util.h322 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument
323 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4)
336 #define GUEST_ASSERT_1(_condition, arg1) \ argument
337 __GUEST_ASSERT((_condition), 1, (arg1))
339 #define GUEST_ASSERT_2(_condition, arg1, arg2) \ argument
340 __GUEST_ASSERT((_condition), 2, (arg1), (arg2))
342 #define GUEST_ASSERT_3(_condition, arg1, arg2, arg3) \ argument
343 __GUEST_ASSERT((_condition), 3, (arg1), (arg2), (arg3))
345 #define GUEST_ASSERT_4(_condition, arg1, arg2, arg3, arg4) \ argument
346 __GUEST_ASSERT((_condition), 4, (arg1), (arg2), (arg3), (arg4))

12345678