Home
last modified time | relevance | path

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

1234567

/linux/drivers/gpu/drm/amd/display/dc/inc/
H A 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 …]
H A 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/drivers/gpu/drm/amd/display/include/
H A 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/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A 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/tools/include/nolibc/
H A Darch-x86.h47 #define my_syscall1(num, arg1) \ argument
51 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
63 #define my_syscall2(num, arg1, arg2) \ argument
67 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
80 #define my_syscall3(num, arg1, arg2, arg3) \ argument
84 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
98 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
102 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
117 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
121 register long _arg1 __asm__ ("ebx") = (long)(arg1); \
[all …]
H A Darch-arm64.h39 #define my_syscall1(num, arg1) \ argument
42 register long _arg1 __asm__ ("x0") = (long)(arg1); \
54 #define my_syscall2(num, arg1, arg2) \ argument
57 register long _arg1 __asm__ ("x0") = (long)(arg1); \
70 #define my_syscall3(num, arg1, arg2, arg3) \ argument
73 register long _arg1 __asm__ ("x0") = (long)(arg1); \
87 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
90 register long _arg1 __asm__ ("x0") = (long)(arg1); \
105 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
108 register long _arg1 __asm__ ("x0") = (long)(arg1); \
[all …]
H A Darch-m68k.h31 #define my_syscall1(num, arg1) \ argument
34 register long _arg1 __asm__ ("d1") = (long)(arg1); \
45 #define my_syscall2(num, arg1, arg2) \ argument
48 register long _arg1 __asm__ ("d1") = (long)(arg1); \
60 #define my_syscall3(num, arg1, arg2, arg3) \ argument
63 register long _arg1 __asm__ ("d1") = (long)(arg1); \
76 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
79 register long _arg1 __asm__ ("d1") = (long)(arg1); \
93 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
96 register long _arg1 __asm__ ("d1") = (long)(arg1); \
[all …]
H A Darch-loongarch.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 …]
H A Darch-riscv.h38 #define my_syscall1(num, arg1) \ argument
41 register long _arg1 __asm__ ("a0") = (long)(arg1); \
52 #define my_syscall2(num, arg1, arg2) \ argument
55 register long _arg1 __asm__ ("a0") = (long)(arg1); \
68 #define my_syscall3(num, arg1, arg2, arg3) \ argument
71 register long _arg1 __asm__ ("a0") = (long)(arg1); \
85 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
88 register long _arg1 __asm__ ("a0") = (long)(arg1); \
103 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
106 register long _arg1 __asm__ ("a0") = (long)(arg1); \
[all …]
H A Darch-mips.h78 #define my_syscall1(num, arg1) \ argument
81 register long _arg1 __asm__ ("a0") = (long)(arg1); \
96 #define my_syscall2(num, arg1, arg2) \ argument
99 register long _arg1 __asm__ ("a0") = (long)(arg1); \
115 #define my_syscall3(num, arg1, arg2, arg3) \ argument
118 register long _arg1 __asm__ ("a0") = (long)(arg1); \
135 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
138 register long _arg1 __asm__ ("a0") = (long)(arg1); \
157 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
160 register long _arg1 __asm__ ("a0") = (long)(arg1); \
[all …]
H A Darch-sh.h36 #define my_syscall1(num, arg1) \ argument
40 register long _arg1 __asm__ ("r4") = (long)(arg1); \
51 #define my_syscall2(num, arg1, arg2) \ argument
55 register long _arg1 __asm__ ("r4") = (long)(arg1); \
67 #define my_syscall3(num, arg1, arg2, arg3) \ argument
71 register long _arg1 __asm__ ("r4") = (long)(arg1); \
84 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
88 register long _arg1 __asm__ ("r4") = (long)(arg1); \
102 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
106 register long _arg1 __asm__ ("r4") = (long)(arg1); \
[all …]
H A 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 …]
H A Darch-s390.h41 #define my_syscall1(num, arg1) \ argument
44 register long _arg1 __asm__ ("2") = (long)(arg1); \
55 #define my_syscall2(num, arg1, arg2) \ argument
58 register long _arg1 __asm__ ("2") = (long)(arg1); \
70 #define my_syscall3(num, arg1, arg2, arg3) \ argument
73 register long _arg1 __asm__ ("2") = (long)(arg1); \
86 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
89 register long _arg1 __asm__ ("2") = (long)(arg1); \
103 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
106 register long _arg1 __asm__ ("2") = (long)(arg1); \
[all …]
H A Darch-sparc.h55 #define my_syscall1(num, arg1) \ argument
58 register long _arg1 __asm__ ("o0") = (long)(arg1); \
69 #define my_syscall2(num, arg1, arg2) \ argument
72 register long _arg1 __asm__ ("o0") = (long)(arg1); \
84 #define my_syscall3(num, arg1, arg2, arg3) \ argument
87 register long _arg1 __asm__ ("o0") = (long)(arg1); \
100 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
103 register long _arg1 __asm__ ("o0") = (long)(arg1); \
117 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
120 register long _arg1 __asm__ ("o0") = (long)(arg1); \
[all …]
H A 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/arch/m68k/include/asm/
H A 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/arch/x86/um/shared/sysdep/
H A Dstub_32.h26 static __always_inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument
30 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1) in stub_syscall1()
36 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument
40 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall2()
47 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument
52 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall3()
59 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, in stub_syscall4() argument
64 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall4()
71 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument
76 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall5()
[all …]
H A Dstub_64.h32 static __always_inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument
38 : "0" (syscall), "D" (arg1) : __syscall_clobber ); in stub_syscall1()
43 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument
49 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2()
54 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument
61 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3()
67 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument
74 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4()
81 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument
88 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dsdt.h341 #define _SDT_ASM_OPERANDS_1(arg1) _SDT_ARG(1, arg1)
342 #define _SDT_ASM_OPERANDS_2(arg1, arg2) \
343 _SDT_ASM_OPERANDS_1(arg1), _SDT_ARG(2, arg2)
344 #define _SDT_ASM_OPERANDS_3(arg1, arg2, arg3) \
345 _SDT_ASM_OPERANDS_2(arg1, arg2), _SDT_ARG(3, arg3)
346 #define _SDT_ASM_OPERANDS_4(arg1, arg2, arg3, arg4) \
347 _SDT_ASM_OPERANDS_3(arg1, arg2, arg3), _SDT_ARG(4, arg4)
348 #define _SDT_ASM_OPERANDS_5(arg1, arg2, arg3, arg4, arg5) \
349 _SDT_ASM_OPERANDS_4(arg1, arg2, arg3, arg4), _SDT_ARG(5, arg5)
350 #define _SDT_ASM_OPERANDS_6(arg1, arg2, arg3, arg4, arg5, arg6) \
[all …]
/linux/arch/x86/include/asm/
H A Dparavirt_types.h477 #define PVOP_CALL1(rettype, op, arg1) \ argument
478 __PVOP_CALL(rettype, op, PVOP_CALL_ARG1(arg1))
479 #define PVOP_VCALL1(op, arg1) \ argument
480 __PVOP_VCALL(op, PVOP_CALL_ARG1(arg1))
481 #define PVOP_ALT_VCALL1(op, arg1, alt, cond) \ argument
482 __PVOP_ALT_VCALL(op, alt, cond, PVOP_CALL_ARG1(arg1))
484 #define PVOP_CALLEE1(rettype, op, arg1) \ argument
485 __PVOP_CALLEESAVE(rettype, op, PVOP_CALL_ARG1(arg1))
486 #define PVOP_VCALLEE1(op, arg1) \ argument
487 __PVOP_VCALLEESAVE(op, PVOP_CALL_ARG1(arg1))
[all …]
/linux/tools/testing/selftests/kvm/include/
H A Ducall_common.h53 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument
54 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4)
57 #define GUEST_SYNC2(arg0, arg1) ucall(UCALL_SYNC, 2, arg0, arg1) argument
58 #define GUEST_SYNC3(arg0, arg1, arg2) \ argument
59 ucall(UCALL_SYNC, 3, arg0, arg1, arg2)
60 #define GUEST_SYNC4(arg0, arg1, arg2, arg3) \ argument
61 ucall(UCALL_SYNC, 4, arg0, arg1, arg2, arg3)
62 #define GUEST_SYNC5(arg0, arg1, arg2, arg3, arg4) \ argument
63 ucall(UCALL_SYNC, 5, arg0, arg1, arg2, arg3, arg4)
64 #define GUEST_SYNC6(arg0, arg1, arg2, arg3, arg4, arg5) \ argument
[all …]
/linux/arch/parisc/include/asm/
H A Dunistd.h109 #define syscall1(name, arg1) \ argument
110 K_INLINE_SYSCALL(name, 1, arg1)
111 #define syscall2(name, arg1, arg2) \ argument
112 K_INLINE_SYSCALL(name, 2, arg1, arg2)
113 #define syscall3(name, arg1, arg2, arg3) \ argument
114 K_INLINE_SYSCALL(name, 3, arg1, arg2, arg3)
115 #define syscall4(name, arg1, arg2, arg3, arg4) \ argument
116 K_INLINE_SYSCALL(name, 4, arg1, arg2, arg3, arg4)
117 #define syscall5(name, arg1, arg2, arg3, arg4, arg5) \ argument
118 K_INLINE_SYSCALL(name, 5, arg1, arg2, arg3, arg4, arg5)
/linux/include/linux/
H A Dkcov.h84 void __sanitizer_cov_trace_cmp1(u8 arg1, u8 arg2);
85 void __sanitizer_cov_trace_cmp2(u16 arg1, u16 arg2);
86 void __sanitizer_cov_trace_cmp4(u32 arg1, u32 arg2);
87 void __sanitizer_cov_trace_cmp8(kcov_u64 arg1, kcov_u64 arg2);
88 void __sanitizer_cov_trace_const_cmp1(u8 arg1, u8 arg2);
89 void __sanitizer_cov_trace_const_cmp2(u16 arg1, u16 arg2);
90 void __sanitizer_cov_trace_const_cmp4(u32 arg1, u32 arg2);
91 void __sanitizer_cov_trace_const_cmp8(kcov_u64 arg1, kcov_u64 arg2);
/linux/arch/parisc/kernel/
H A 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/drivers/net/ethernet/qlogic/qlcnic/
H A 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 …]

1234567