Home
last modified time | relevance | path

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

12345678

/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/spl/
H A Dspl_fixpt31_32.h117 static inline bool spl_fixpt_lt(struct spl_fixed31_32 arg1, struct spl_fixed31_32 arg2) in spl_fixpt_lt() argument
119 return arg1.value < arg2.value; in spl_fixpt_lt()
126 static inline bool spl_fixpt_le(struct spl_fixed31_32 arg1, struct spl_fixed31_32 arg2) in spl_fixpt_le() argument
128 return arg1.value <= arg2.value; in spl_fixpt_le()
135 static inline bool spl_fixpt_eq(struct spl_fixed31_32 arg1, struct spl_fixed31_32 arg2) in spl_fixpt_eq() argument
137 return arg1.value == arg2.value; in spl_fixpt_eq()
144 static inline struct spl_fixed31_32 spl_fixpt_min(struct spl_fixed31_32 arg1, struct spl_fixed31_32… in spl_fixpt_min() argument
146 if (arg1.value <= arg2.value) in spl_fixpt_min()
147 return arg1; in spl_fixpt_min()
156 static inline struct spl_fixed31_32 spl_fixpt_max(struct spl_fixed31_32 arg1, struct spl_fixed31_32… in spl_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/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_standalone_libraries/
H A Dlib_float_math.c20 double math_mod(const double arg1, const double arg2) in math_mod() argument
22 if (isNaN(arg1)) in math_mod()
25 return arg1; in math_mod()
26 return arg1 - arg1 * ((int)(arg1 / arg2)); in math_mod()
29 double math_min2(const double arg1, const double arg2) in math_min2() argument
31 if (isNaN(arg1)) in math_min2()
34 return arg1; in math_min2()
35 return arg1 < arg2 ? arg1 : arg2; in math_min2()
38 double math_max2(const double arg1, const double arg2) in math_max2() argument
40 if (isNaN(arg1)) in math_max2()
[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.h31 static __always_inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument
37 : "0" (syscall), "D" (arg1) : __syscall_clobber ); in stub_syscall1()
42 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument
48 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2()
53 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument
60 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3()
66 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument
73 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4()
80 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument
87 : "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/tools/include/nolibc/
H A 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 …]
H A Darch-aarch64.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-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-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-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-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 …]
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 …]
H A Darch-mips.h57 #define my_syscall1(num, arg1) \ argument
60 register long _arg1 __asm__ ("a0") = (long)(arg1); \
75 #define my_syscall2(num, arg1, arg2) \ argument
78 register long _arg1 __asm__ ("a0") = (long)(arg1); \
94 #define my_syscall3(num, arg1, arg2, arg3) \ argument
97 register long _arg1 __asm__ ("a0") = (long)(arg1); \
114 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
117 register long _arg1 __asm__ ("a0") = (long)(arg1); \
134 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
137 register long _arg1 __asm__ ("a0") = (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 …]
/linux/arch/sparc/include/asm/
H A 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/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/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 …]
H A 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 …]
/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 …]

12345678