Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/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);
/linux-6.6.21/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h135 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.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calc_math.c40 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.6.21/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 …]
/linux-6.6.21/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.h30 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.6.21/tools/include/nolibc/
Darch-i386.h45 #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 …]
Darch-aarch64.h42 #define my_syscall1(num, arg1) \ argument
45 register long _arg1 __asm__ ("x0") = (long)(arg1); \
57 #define my_syscall2(num, arg1, arg2) \ argument
60 register long _arg1 __asm__ ("x0") = (long)(arg1); \
73 #define my_syscall3(num, arg1, arg2, arg3) \ argument
76 register long _arg1 __asm__ ("x0") = (long)(arg1); \
90 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
93 register long _arg1 __asm__ ("x0") = (long)(arg1); \
108 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
111 register long _arg1 __asm__ ("x0") = (long)(arg1); \
[all …]
Darch-riscv.h41 #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 …]
Darch-loongarch.h43 #define my_syscall1(num, arg1) \ argument
46 register long _arg1 __asm__ ("a0") = (long)(arg1); \
57 #define my_syscall2(num, arg1, arg2) \ argument
60 register long _arg1 __asm__ ("a0") = (long)(arg1); \
73 #define my_syscall3(num, arg1, arg2, arg3) \ argument
76 register long _arg1 __asm__ ("a0") = (long)(arg1); \
90 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
93 register long _arg1 __asm__ ("a0") = (long)(arg1); \
108 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
111 register long _arg1 __asm__ ("a0") = (long)(arg1); \
[all …]
Darch-x86_64.h46 #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 …]
Darch-mips.h53 #define my_syscall1(num, arg1) \ argument
56 register long _arg1 __asm__ ("a0") = (long)(arg1); \
71 #define my_syscall2(num, arg1, arg2) \ argument
74 register long _arg1 __asm__ ("a0") = (long)(arg1); \
90 #define my_syscall3(num, arg1, arg2, arg3) \ argument
93 register long _arg1 __asm__ ("a0") = (long)(arg1); \
110 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
113 register long _arg1 __asm__ ("a0") = (long)(arg1); \
130 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
133 register long _arg1 __asm__ ("a0") = (long)(arg1); \
[all …]
Darch-powerpc.h45 #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 …]
Darch-s390.h40 #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 …]
Darch-arm.h70 #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 …]
/linux-6.6.21/arch/parisc/include/asm/
Dunistd.h113 #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.6.21/tools/testing/selftests/bpf/
Dsdt.h339 #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.6.21/arch/x86/include/asm/
Dparavirt_types.h508 #define PVOP_CALL1(rettype, op, arg1) \ argument
509 __PVOP_CALL(rettype, op, PVOP_CALL_ARG1(arg1))
510 #define PVOP_VCALL1(op, arg1) \ argument
511 __PVOP_VCALL(op, PVOP_CALL_ARG1(arg1))
512 #define PVOP_ALT_VCALL1(op, arg1, alt, cond) \ argument
513 __PVOP_ALT_VCALL(op, alt, cond, PVOP_CALL_ARG1(arg1))
515 #define PVOP_CALLEE1(rettype, op, arg1) \ argument
516 __PVOP_CALLEESAVE(rettype, op, PVOP_CALL_ARG1(arg1))
517 #define PVOP_VCALLEE1(op, arg1) \ argument
518 __PVOP_VCALLEESAVE(op, PVOP_CALL_ARG1(arg1))
[all …]
/linux-6.6.21/arch/sparc/include/asm/
Dsmp_32.h57 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.6.21/include/linux/
Dkcov.h82 void __sanitizer_cov_trace_cmp1(u8 arg1, u8 arg2);
83 void __sanitizer_cov_trace_cmp2(u16 arg1, u16 arg2);
84 void __sanitizer_cov_trace_cmp4(u32 arg1, u32 arg2);
85 void __sanitizer_cov_trace_cmp8(kcov_u64 arg1, kcov_u64 arg2);
86 void __sanitizer_cov_trace_const_cmp1(u8 arg1, u8 arg2);
87 void __sanitizer_cov_trace_const_cmp2(u16 arg1, u16 arg2);
88 void __sanitizer_cov_trace_const_cmp4(u32 arg1, u32 arg2);
89 void __sanitizer_cov_trace_const_cmp8(kcov_u64 arg1, kcov_u64 arg2);
/linux-6.6.21/arch/parisc/kernel/
Dreal2.S61 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.6.21/tools/perf/scripts/python/Perf-Trace-Util/
DContext.c27 #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.6.21/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()
1034 u32 arg1; in qlcnic_config_port_mirroring() local
1043 arg1 = id | (enable_mirroring ? BIT_4 : 0); in qlcnic_config_port_mirroring()
1044 arg1 |= pci_func << 8; in qlcnic_config_port_mirroring()
1051 cmd.req.arg[1] = arg1; in qlcnic_config_port_mirroring()
1072 u32 arg1; in qlcnic_get_port_stats() local
1091 arg1 = func | QLCNIC_STATS_VERSION << 8 | QLCNIC_STATS_PORT << 12; in qlcnic_get_port_stats()
1092 arg1 |= rx_tx << 15 | stats_size << 16; in qlcnic_get_port_stats()
[all …]
/linux-6.6.21/arch/arm/mach-bcm/
Dbcm_kona_smc.c18 unsigned arg1; member
128 writel_relaxed(data->arg1, args++); in __bcm_kona_smc()
139 unsigned bcm_kona_smc(unsigned service_id, unsigned arg0, unsigned arg1, in bcm_kona_smc() argument
146 data.arg1 = arg1; in bcm_kona_smc()

123456789