/openbmc/linux/drivers/dma-buf/ |
H A D | st-dma-fence-unwrap.c | 121 struct dma_fence *fence, *f1, *f2, *array; in unwrap_array() local 131 f2 = mock_fence(); in unwrap_array() 132 if (!f2) { in unwrap_array() 137 dma_fence_enable_sw_signaling(f2); in unwrap_array() 139 array = mock_array(2, f1, f2); in unwrap_array() 146 } else if (fence == f2) { in unwrap_array() 147 f2 = NULL; in unwrap_array() 154 if (f1 || f2) { in unwrap_array() 165 struct dma_fence *fence, *f1, *f2, *chain; in unwrap_chain() local 175 f2 = mock_fence(); in unwrap_chain() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | fpu_traps.S | 35 fzero %f2 36 faddd %f0, %f2, %f4 37 fmuld %f0, %f2, %f6 38 faddd %f0, %f2, %f8 39 fmuld %f0, %f2, %f10 40 faddd %f0, %f2, %f12 41 fmuld %f0, %f2, %f14 42 faddd %f0, %f2, %f16 43 fmuld %f0, %f2, %f18 44 faddd %f0, %f2, %f20 [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | reg_helper.h | 67 #define REG_SET_2(reg, init_value, f1, v1, f2, v2) \ argument 70 FN(reg, f2), v2) 72 #define REG_SET_3(reg, init_value, f1, v1, f2, v2, f3, v3) \ argument 75 FN(reg, f2), v2,\ 78 #define REG_SET_4(reg, init_value, f1, v1, f2, v2, f3, v3, f4, v4) \ argument 81 FN(reg, f2), v2,\ 85 #define REG_SET_5(reg, init_value, f1, v1, f2, v2, f3, v3, f4, v4, \ argument 89 FN(reg, f2), v2,\ 94 #define REG_SET_6(reg, init_value, f1, v1, f2, v2, f3, v3, f4, v4, \ argument 98 FN(reg, f2), v2,\ [all …]
|
/openbmc/linux/tools/testing/selftests/futex/functional/ |
H A D | futex_requeue_pi_signal_restart.c | 35 futex_t f2 = FUTEX_INITIALIZER; variable 100 info("Calling FUTEX_LOCK_PI on f2=%x @ %p\n", f2, &f2); in waiterfn() 102 res = futex_wait_requeue_pi(&f1, old_val, &(f2), NULL, in waiterfn() 107 info("w2:futex: %x\n", f2); in waiterfn() 109 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in waiterfn() 156 info("m1:f2: %x\n", f2); in main() 165 info("Calling FUTEX_LOCK_PI on f2=%x @ %p\n", f2, &f2); in main() 166 info("m2:f2: %x\n", f2); in main() 167 futex_lock_pi(&f2, 0, 0, FUTEX_PRIVATE_FLAG); in main() 168 info("m3:f2: %x\n", f2); in main() [all …]
|
H A D | futex_requeue.c | 47 volatile futex_t f2 = 0; in main() local 74 * Requeue a waiter from f1 to f2, and wake f2. in main() 81 info("Requeuing 1 futex from f1 to f2\n"); in main() 82 res = futex_cmp_requeue(f1, 0, &f2, 0, 1, 0); in main() 91 info("Waking 1 futex at f2\n"); in main() 92 res = futex_wake(&f2, 1, 0); in main() 114 info("Waking 3 futexes at f1 and requeuing 7 futexes from f1 to f2\n"); in main() 115 res = futex_cmp_requeue(f1, 0, &f2, 3, 7, 0); in main() 123 info("Waking INT_MAX futexes at f2\n"); in main() 124 res = futex_wake(&f2, INT_MAX, 0); in main()
|
H A D | futex_requeue_pi.c | 40 futex_t f2 = FUTEX_INITIALIZER; variable 122 &f1, f1, &f2); in waiterfn() 123 args->ret = futex_wait_requeue_pi(&f1, old_val, &f2, args->timeout, in waiterfn() 136 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in waiterfn() 138 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in waiterfn() 160 info("Calling FUTEX_LOCK_PI on mutex=%x @ %p\n", f2, &f2); in broadcast_wakerfn() 161 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn() 165 args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, nr_wake, nr_requeue, in broadcast_wakerfn() 183 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn() 211 f2, &f2); in signal_wakerfn() [all …]
|
/openbmc/linux/include/linux/ |
H A D | indirect_call_wrapper.h | 21 #define INDIRECT_CALL_2(f, f2, f1, ...) \ argument 23 likely(f == f2) ? f2(__VA_ARGS__) : \ 26 #define INDIRECT_CALL_3(f, f3, f2, f1, ...) \ argument 29 INDIRECT_CALL_2(f, f2, f1, __VA_ARGS__); \ 31 #define INDIRECT_CALL_4(f, f4, f3, f2, f1, ...) \ argument 34 INDIRECT_CALL_3(f, f3, f2, f1, __VA_ARGS__); \ 43 #define INDIRECT_CALL_2(f, f2, f1, ...) f(__VA_ARGS__) argument 44 #define INDIRECT_CALL_3(f, f3, f2, f1, ...) f(__VA_ARGS__) argument 45 #define INDIRECT_CALL_4(f, f4, f3, f2, f1, ...) f(__VA_ARGS__) argument 57 #define INDIRECT_CALL_INET(f, f2, f1, ...) \ argument [all …]
|
H A D | dma-fence.h | 463 * __dma_fence_is_later - return if f1 is chronologically later than f2 465 * @f2: the second fence's seqno from the same context 468 * Returns true if f1 is chronologically later than f2. Both fences must be 471 static inline bool __dma_fence_is_later(u64 f1, u64 f2, in __dma_fence_is_later() argument 479 return f1 > f2; in __dma_fence_is_later() 481 return (int)(lower_32_bits(f1) - lower_32_bits(f2)) > 0; in __dma_fence_is_later() 485 * dma_fence_is_later - return if f1 is chronologically later than f2 487 * @f2: the second fence from the same context 489 * Returns true if f1 is chronologically later than f2. Both fences must be 493 struct dma_fence *f2) in dma_fence_is_later() argument [all …]
|
/openbmc/linux/arch/sparc/crypto/ |
H A D | camellia_asm.S | 38 ld [%o0 + 0x08], %f2 ! i2, k[2] 42 std %f2, [%o1 + 0x08] ! k[2, 3] 45 fsrc2 %f2, %f30 53 fxor %f10, %f0, %f2 54 ld [%o0 + 0x18], %f2 57 std %f2, [%o1 + 0x28] ! k[10, 11] 59 fxor %f30, %f2, %f2 73 fxor %f30, %f2, %f2 90 std %f2, [%o1 + 0x18] ! k[ 6, 7] 137 std %f2, [%o1 + 0x38] ! k[14, 15] [all …]
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_fp0_arith.S | 31 test_op2 add.s, f0, f1, f2, 0x3fc00000, 0x34400000, \ 51 test_op2 add.s, f0, f1, f2, 0x7f800000, 0xff800000, \ 71 test_op2 add.s, f2, f3, f4, 0x7fbfffff, 0x7f800001, \ 97 test_op2 add.s, f2, f3, f4, 0x7fbfffff, 0x7f800001, \ 126 test_op2 mul.s, f0, f1, f2, 0x3f800001, 0x3f800001, \ 144 test_op3 madd.s, f0, f1, f2, f0, 0, 0x3f800001, 0x3f800001, \ 150 test_op3 madd.s, f0, f1, f2, f0, 0xbf800002, 0x3f800001, 0x3f800001, \ 158 test_op3 madd.s, f0, f1, f2, f0, F32_QNAN(1), F32_1, F32_1, \ 161 test_op3 madd.s, f0, f1, f2, f0, F32_1, F32_QNAN(2), F32_1, \ 164 test_op3 madd.s, f0, f1, f2, f0, F32_1, F32_1, F32_QNAN(3), \ [all …]
|
H A D | test_dfp0_arith.S | 45 test_op2 add.d, f0, f1, f2, F64_PINF, F64_NINF, \ 82 test_op2 mul.d, f0, f1, f2, F64_1 | 1, F64_1 | 1, \ 100 test_op3 madd.d, f0, f1, f2, f0, F64_0, F64_1 | 1, F64_1 | 1, \ 106 test_op3 madd.d, f0, f1, f2, f0, \ 114 test_op3 madd.d, f0, f1, f2, f0, F64_QNAN(1), F64_1, F64_1, \ 117 test_op3 madd.d, f0, f1, f2, f0, F64_1, F64_QNAN(2), F64_1, \ 120 test_op3 madd.d, f0, f1, f2, f0, F64_1, F64_1, F64_QNAN(3), \ 124 test_op3 madd.d, f0, f1, f2, f0, F64_QNAN(1), F64_QNAN(2), F64_1, \ 127 test_op3 madd.d, f0, f1, f2, f0, F64_QNAN(1), F64_1, F64_QNAN(3), \ 130 test_op3 madd.d, f0, f1, f2, f0, F64_1, F64_QNAN(2), F64_QNAN(3), \ [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_spin_lock_fail.c | 87 struct foo *f1, *f2, *v, *iv; \ 103 f2 = bpf_obj_new(typeof(*f2)); \ 104 if (!f2) { \ 113 CHECK(kptr_kptr, &f1->lock, &f2->lock); 126 struct foo *f1, *f2; in lock_id_mismatch_mapval_mapval() local 132 f2 = bpf_map_lookup_elem(&array_map, &key); in lock_id_mismatch_mapval_mapval() 133 if (!f2) in lock_id_mismatch_mapval_mapval() 138 bpf_spin_unlock(&f2->lock); in lock_id_mismatch_mapval_mapval() 150 struct foo *f1, *f2; in lock_id_mismatch_innermapval_innermapval1() local 160 f2 = bpf_map_lookup_elem(map, &key); in lock_id_mismatch_innermapval_innermapval1() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_dedup_split.c | 54 btf__add_field(btf2, "f2", 5, 32, 0); /* int f2; */ in test_split_simple() 74 "\t'f2' type_id=5 bits_offset=32\n" in test_split_simple() 91 int f2;\n\ in test_split_simple() 107 "\t'f2' type_id=1 bits_offset=32\n" in test_split_simple() 117 int f2;\n\ in test_split_simple() 141 btf__add_field(btf1, "f2", 3, 64, 0); /* struct s2 *f2; */ in test_split_fwd_resolve() 158 "\t'f2' type_id=3 bits_offset=64", in test_split_fwd_resolve() 174 btf__add_field(btf2, "f2", 10, 64, 0); /* struct s2 *f2; */ in test_split_fwd_resolve() 186 "\t'f2' type_id=3 bits_offset=64", in test_split_fwd_resolve() 197 "\t'f2' type_id=10 bits_offset=64", in test_split_fwd_resolve() [all …]
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | fpu_helper.c | 219 uint64_t HELPER(aeb)(CPUS390XState *env, uint64_t f1, uint64_t f2) in HELPER() 221 float32 ret = float32_add(f1, f2, &env->fpu_status); in HELPER() 227 uint64_t HELPER(adb)(CPUS390XState *env, uint64_t f1, uint64_t f2) in HELPER() 229 float64 ret = float64_add(f1, f2, &env->fpu_status); in HELPER() 243 uint64_t HELPER(seb)(CPUS390XState *env, uint64_t f1, uint64_t f2) in HELPER() 245 float32 ret = float32_sub(f1, f2, &env->fpu_status); in HELPER() 251 uint64_t HELPER(sdb)(CPUS390XState *env, uint64_t f1, uint64_t f2) in HELPER() 253 float64 ret = float64_sub(f1, f2, &env->fpu_status); in HELPER() 267 uint64_t HELPER(deb)(CPUS390XState *env, uint64_t f1, uint64_t f2) in HELPER() 269 float32 ret = float32_div(f1, f2, &env->fpu_status); in HELPER() [all …]
|
H A D | insn-format.h.inc | 2 /* NAME F1, F2... */ 5 F2(RI_a, R(1, 8), I(2,16,16)) 6 F2(RI_b, R(1, 8), I(2,16,16)) 7 F2(RI_c, M(1, 8), I(2,16,16)) 15 F2(RIL_a, R(1, 8), I(2,16,32)) 16 F2(RIL_b, R(1, 8), I(2,16,32)) 17 F2(RIL_c, M(1, 8), I(2,16,32)) 21 F2(RR_a, R(1, 8), R(2,12)) 22 F2(RR_b, M(1, 8), R(2,12)) 23 F2(RRE, R(1,24), R(2,28)) [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/src/ |
H A D | dmub_reg.h | 65 #define REG_SET_2(reg, init_value, f1, v1, f2, v2) \ argument 68 FN(reg, f2), v2) 70 #define REG_SET_3(reg, init_value, f1, v1, f2, v2, f3, v3) \ argument 73 FN(reg, f2), v2, \ 76 #define REG_SET_4(reg, init_value, f1, v1, f2, v2, f3, v3, f4, v4) \ argument 79 FN(reg, f2), v2, \ 92 #define REG_UPDATE_2(reg, f1, v1, f2, v2) \ argument 95 FN(reg, f2), v2) 97 #define REG_UPDATE_3(reg, f1, v1, f2, v2, f3, v3) \ argument 100 FN(reg, f2), v2, \ [all …]
|
/openbmc/qemu/scripts/codeconverter/codeconverter/ |
H A D | test_patching.py | 79 f2 = f.find_match(Function, 'function2') 97 assert not f2.contains(st1) 98 assert not f2.contains(st2) 99 assert not f2.contains(st2) 100 assert not f2.contains(st3) 101 assert not f2.contains(st4) 102 assert f2.contains(st5) 103 assert f2.contains(st6) 104 assert not f2.contains(st7)
|
/openbmc/linux/arch/sparc/lib/ |
H A D | U1memcpy.S | 70 #define FREG_FROB(f1, f2, f3, f4, f5, f6, f7, f8, f9) \ argument 71 faligndata %f1, %f2, %f48; \ 72 faligndata %f2, %f3, %f50; \ 325 fsrc2 %f0, %f2 357 1: FREG_FROB(f0, f2, f4, f6, f8, f10,f12,f14,f16) 364 faligndata %f0, %f2, %f48 371 FREG_FROB(f0, f2, f4, f6, f8, f10,f12,f14,f16) 373 3: FREG_FROB(f0, f2, f4, f6, f8, f10,f12,f14,f16) 378 1: FREG_FROB(f2, f4, f6, f8, f10,f12,f14,f16,f18) 382 FREG_FROB(f34,f36,f38,f40,f42,f44,f46,f0, f2) [all …]
|
H A D | clear_page.S | 82 fzero %f2 84 faddd %f0, %f2, %f4 85 fmuld %f0, %f2, %f6 86 faddd %f0, %f2, %f8 87 fmuld %f0, %f2, %f10 89 faddd %f0, %f2, %f12 90 fmuld %f0, %f2, %f14
|
/openbmc/linux/crypto/ |
H A D | rmd160.c | 38 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ macro 86 ROUND(ee, aa, bb, cc, dd, F2, K2, in[7], 7); in rmd160_transform() 87 ROUND(dd, ee, aa, bb, cc, F2, K2, in[4], 6); in rmd160_transform() 88 ROUND(cc, dd, ee, aa, bb, F2, K2, in[13], 8); in rmd160_transform() 89 ROUND(bb, cc, dd, ee, aa, F2, K2, in[1], 13); in rmd160_transform() 90 ROUND(aa, bb, cc, dd, ee, F2, K2, in[10], 11); in rmd160_transform() 91 ROUND(ee, aa, bb, cc, dd, F2, K2, in[6], 9); in rmd160_transform() 92 ROUND(dd, ee, aa, bb, cc, F2, K2, in[15], 7); in rmd160_transform() 93 ROUND(cc, dd, ee, aa, bb, F2, K2, in[3], 15); in rmd160_transform() 94 ROUND(bb, cc, dd, ee, aa, F2, K2, in[12], 7); in rmd160_transform() [all …]
|
H A D | md5.c | 33 #define F2(x, y, z) F1(z, x, y) macro 66 MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); in md5_transform() 67 MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); in md5_transform() 68 MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14); in md5_transform() 69 MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aa, 20); in md5_transform() 70 MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); in md5_transform() 71 MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9); in md5_transform() 72 MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14); in md5_transform() 73 MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8, 20); in md5_transform() 74 MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); in md5_transform() [all …]
|
/openbmc/qemu/scripts/coccinelle/ |
H A D | remove_local_err.cocci | 7 expression F2; 20 - F2(ARGS, &LOCAL_ERR); 22 + F2(ARGS, ERRP); 24 - V = F2(ARGS, &LOCAL_ERR); 26 + V = F2(ARGS, ERRP);
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | insn-x86-dat-32.c | 439 "62 f2 d5 48 10 f4 \tvpsrlvw %zmm4,%zmm5,%zmm6",}, 441 "62 f2 7e 4f 10 ee \tvpmovuswb %zmm5,%ymm6{%k7}",}, 443 "62 f2 7e 4f 11 ee \tvpmovusdb %zmm5,%xmm6{%k7}",}, 445 "62 f2 d5 48 11 f4 \tvpsravw %zmm4,%zmm5,%zmm6",}, 447 "62 f2 7e 4f 12 ee \tvpmovusqb %zmm5,%xmm6{%k7}",}, 449 "62 f2 d5 48 12 f4 \tvpsllvw %zmm4,%zmm5,%zmm6",}, 453 "62 f2 7d 4f 13 f5 \tvcvtph2ps %ymm5,%zmm6{%k7}",}, 455 "62 f2 7e 4f 13 ee \tvpmovusdw %zmm5,%ymm6{%k7}",}, 459 "62 f2 7e 4f 14 ee \tvpmovusqw %zmm5,%xmm6{%k7}",}, 461 "62 f2 55 48 14 f4 \tvprorvd %zmm4,%zmm5,%zmm6",}, [all …]
|
/openbmc/u-boot/lib/ |
H A D | md5.c | 169 #define F2(x, y, z) F1(z, x, y) macro 209 MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); in MD5Transform() 210 MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); in MD5Transform() 211 MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14); in MD5Transform() 212 MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aa, 20); in MD5Transform() 213 MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); in MD5Transform() 214 MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9); in MD5Transform() 215 MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14); in MD5Transform() 216 MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8, 20); in MD5Transform() 217 MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); in MD5Transform() [all …]
|
/openbmc/linux/tools/arch/x86/lib/ |
H A D | x86-opcode-map.txt | 33 # - (F2): the last prefix is 0xF2 35 # - (66&F2): Both 0x66 and 0xF2 prefixes are specified. 307 f2: REPNE (Prefix) | XACQUIRE (Prefix) 351 10: vmovups Vps,Wps | vmovupd Vpd,Wpd (66) | vmovss Vx,Hx,Wss (F3),(v1) | vmovsd Vx,Hx,Wsd (F2),(v1) 352 11: vmovups Wps,Vps | vmovupd Wpd,Vpd (66) | vmovss Wss,Hx,Vss (F3),(v1) | vmovsd Wsd,Hx,Vsd (F2),(… 353 … | vmovhlps Vq,Hq,Uq (v1) | vmovlpd Vq,Hq,Mq (66),(v1) | vmovsldup Vx,Wx (F3) | vmovddup Vx,Wx (F2) 365 1a: BNDCL Gv,Ev (F3) | BNDCU Gv,Ev (F2) | BNDMOV Gv,Ev (66) | BNDLDX Gv,Ev 366 1b: BNDCN Gv,Ev (F2) | BNDMOV Ev,Gv (66) | BNDMK Gv,Ev (F3) | BNDSTX Ev,Gv 382 …s Vps,Qpi | cvtpi2pd Vpd,Qpi (66) | vcvtsi2ss Vss,Hss,Ey (F3),(v1) | vcvtsi2sd Vsd,Hsd,Ey (F2),(v1) 384 …tps2pi Ppi,Wps | cvttpd2pi Ppi,Wpd (66) | vcvttss2si Gy,Wss (F3),(v1) | vcvttsd2si Gy,Wsd (F2),(v1) [all …]
|