| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | uc.c | 11 #define OP(x) UC_OP(x) macro 122 qp->s_state = OP(SEND_FIRST); in hfi1_make_uc_req() 127 qp->s_state = OP(SEND_ONLY); in hfi1_make_uc_req() 130 OP(SEND_ONLY_WITH_IMMEDIATE); in hfi1_make_uc_req() 151 qp->s_state = OP(RDMA_WRITE_FIRST); in hfi1_make_uc_req() 156 qp->s_state = OP(RDMA_WRITE_ONLY); in hfi1_make_uc_req() 159 OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE); in hfi1_make_uc_req() 176 case OP(SEND_FIRST): in hfi1_make_uc_req() 177 qp->s_state = OP(SEND_MIDDLE); in hfi1_make_uc_req() 179 case OP(SEND_MIDDLE): in hfi1_make_uc_req() [all …]
|
| H A D | trace.c | 102 #define OP(transport, op) IB_OPCODE_## transport ## _ ## op macro 263 case OP(RC, SEND_LAST_WITH_IMMEDIATE): in parse_everbs_hdrs() 264 case OP(UC, SEND_LAST_WITH_IMMEDIATE): in parse_everbs_hdrs() 265 case OP(RC, SEND_ONLY_WITH_IMMEDIATE): in parse_everbs_hdrs() 266 case OP(UC, SEND_ONLY_WITH_IMMEDIATE): in parse_everbs_hdrs() 267 case OP(RC, RDMA_WRITE_LAST_WITH_IMMEDIATE): in parse_everbs_hdrs() 268 case OP(UC, RDMA_WRITE_LAST_WITH_IMMEDIATE): in parse_everbs_hdrs() 273 case OP(RC, RDMA_WRITE_ONLY_WITH_IMMEDIATE): in parse_everbs_hdrs() 274 case OP(UC, RDMA_WRITE_ONLY_WITH_IMMEDIATE): in parse_everbs_hdrs() 282 case OP(RC, RDMA_READ_REQUEST): in parse_everbs_hdrs() [all …]
|
| H A D | rc.c | 98 case OP(RDMA_READ_RESPONSE_LAST): in make_rc_ack() 99 case OP(RDMA_READ_RESPONSE_ONLY): in make_rc_ack() 103 case OP(ATOMIC_ACKNOWLEDGE): in make_rc_ack() 122 case OP(SEND_ONLY): in make_rc_ack() 123 case OP(ACKNOWLEDGE): in make_rc_ack() 138 if (e->opcode == OP(RDMA_READ_REQUEST)) { in make_rc_ack() 163 qp->s_ack_state = OP(RDMA_READ_RESPONSE_FIRST); in make_rc_ack() 165 qp->s_ack_state = OP(RDMA_READ_RESPONSE_ONLY); in make_rc_ack() 215 qp->s_ack_state = OP(ATOMIC_ACKNOWLEDGE); in make_rc_ack() 226 case OP(RDMA_READ_RESPONSE_FIRST): in make_rc_ack() [all …]
|
| H A D | rc.h | 11 #define OP(x) IB_OPCODE_RC_##x macro 22 qp->s_ack_state = OP(ACKNOWLEDGE); in update_ack_queue()
|
| /linux/Documentation/tee/ |
| H A D | op-tee.rst | 4 OP-TEE (Open Portable Trusted Execution Environment) 7 The OP-TEE driver handles OP-TEE [1] based TEEs. Currently it is only the ARM 8 TrustZone based OP-TEE solution that is supported. 10 Lowest level of communication with OP-TEE builds on ARM SMC Calling 11 Convention (SMCCC) [2], which is the foundation for OP-TEE's SMC interface 12 [3] used internally by the driver. Stacked on top of that is OP-TEE Message 15 OP-TEE SMC interface provides the basic functions required by SMCCC and some 16 additional functions specific for OP-TEE. The most interesting functions are: 21 - OPTEE_SMC_CALL_GET_OS_UUID returns the particular OP-TEE implementation, used 22 to tell, for instance, a TrustZone OP-TEE apart from an OP-TEE running on a [all …]
|
| /linux/samples/bpf/ |
| H A D | bpf_insn.h | 10 #define BPF_ALU64_REG(OP, DST, SRC) \ argument 12 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \ 18 #define BPF_ALU32_REG(OP, DST, SRC) \ argument 20 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \ 28 #define BPF_ALU64_IMM(OP, DST, IMM) \ argument 30 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \ 36 #define BPF_ALU32_IMM(OP, DST, IMM) \ argument 38 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \ 152 #define BPF_ATOMIC_OP(SIZE, OP, DST, SRC, OFF) \ argument 158 .imm = OP }) [all …]
|
| /linux/tools/include/linux/ |
| H A D | filter.h | 34 #define BPF_ALU64_REG(OP, DST, SRC) \ argument 36 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \ 42 #define BPF_ALU32_REG(OP, DST, SRC) \ argument 44 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \ 52 #define BPF_ALU64_IMM(OP, DST, IMM) \ argument 54 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \ 60 #define BPF_ALU32_IMM(OP, DST, IMM) \ argument 62 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \ 205 #define BPF_ATOMIC_OP(SIZE, OP, DST, SRC, OFF) \ argument 211 .imm = OP }) [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_experimental.h | 289 #define __bpf_cmp(LHS, OP, PRED, RHS, DEFAULT) \ argument 293 asm volatile goto("if %[lhs] " OP " %[rhs] goto %l[l_true]" \ 305 #define _bpf_cmp(LHS, OP, RHS, UNLIKELY) \ argument 311 (void)(__lhs OP __rhs); \ 312 if (__cmp_cannot_be_signed(OP) || !__is_signed_type(typeof(__lhs))) { \ 317 ret = __bpf_cmp(__lhs, #OP, "r", __rhs, UNLIKELY); \ 319 ret = __bpf_cmp(__lhs, #OP, "ri", __rhs, UNLIKELY); \ 322 ret = __bpf_cmp(__lhs, "s"#OP, "r", __rhs, UNLIKELY); \ 324 ret = __bpf_cmp(__lhs, "s"#OP, "ri", __rhs, UNLIKELY); \ 330 #define bpf_cmp_unlikely(LHS, OP, RHS) _bpf_cmp(LHS, OP, RHS, true) argument [all …]
|
| /linux/drivers/cpufreq/ |
| H A D | pxa3xx-cpufreq.c | 72 #define OP(cpufreq, _xl, _xn, _hss, _dmc, _smc, _sfl, _dfi, vcore, vsram) \ macro 88 OP(104, 8, 1, 104, 260, 78, 104, 3, 1000, 1100), /* 104MHz */ 89 OP(208, 16, 1, 104, 260, 104, 156, 2, 1000, 1100), /* 208MHz */ 90 OP(416, 16, 2, 156, 260, 104, 208, 2, 1100, 1200), /* 416MHz */ 91 OP(624, 24, 2, 208, 260, 208, 312, 3, 1375, 1400), /* 624MHz */ 96 OP(104, 8, 1, 104, 260, 78, 104, 3, 1000, 1100), /* 104MHz */ 97 OP(208, 16, 1, 104, 260, 104, 156, 2, 1000, 1100), /* 208MHz */ 98 OP(416, 16, 2, 156, 260, 104, 208, 2, 1100, 1200), /* 416MHz */ 99 OP(624, 24, 2, 208, 260, 208, 312, 3, 1375, 1400), /* 624MHz */ 100 OP(806, 31, 2, 208, 260, 208, 312, 3, 1400, 1400), /* 806MHz */
|
| /linux/arch/loongarch/include/asm/ |
| H A D | inst.h | 537 #define DEF_EMIT_REG0I15_FORMAT(NAME, OP) \ argument 541 insn->reg0i15_format.opcode = OP; \ 550 #define DEF_EMIT_REG0I26_FORMAT(NAME, OP) \ in DEF_EMIT_REG0I15_FORMAT() argument 560 insn->reg0i26_format.opcode = OP; \ in DEF_EMIT_REG0I15_FORMAT() 568 #define DEF_EMIT_REG1I20_FORMAT(NAME, OP) \ argument 572 insn->reg1i20_format.opcode = OP; \ 581 #define DEF_EMIT_REG2_FORMAT(NAME, OP) \ argument 586 insn->reg2_format.opcode = OP; \ 597 #define DEF_EMIT_REG2I5_FORMAT(NAME, OP) \ argument 603 insn->reg2i5_format.opcode = OP; \ [all …]
|
| /linux/Documentation/input/devices/ |
| H A D | iforce-protocol.rst | 40 2B OP LEN DATA CS 48 OP DATA 62 OP= 01 for a joystick, 03 for a wheel 79 OP= 02 94 OP= 01 144 OP= 02 157 OP= 03 167 OP= 04 180 OP= 05 200 OP= 41 [all …]
|
| /linux/Documentation/userspace-api/media/cec/ |
| H A D | cec-ioc-adap-g-log-addrs.rst | 97 Note that :ref:`CEC_OP_CEC_VERSION_1_3A <CEC-OP-CEC-VERSION-1-3A>` is not allowed by the CEC 198 * .. _`CEC-OP-CEC-VERSION-1-3A`: 203 * .. _`CEC-OP-CEC-VERSION-1-4B`: 208 * .. _`CEC-OP-CEC-VERSION-2-0`: 223 * .. _`CEC-OP-PRIM-DEVTYPE-TV`: 228 * .. _`CEC-OP-PRIM-DEVTYPE-RECORD`: 233 * .. _`CEC-OP-PRIM-DEVTYPE-TUNER`: 238 * .. _`CEC-OP-PRIM-DEVTYPE-PLAYBACK`: 243 * .. _`CEC-OP-PRIM-DEVTYPE-AUDIOSYSTEM`: 248 * .. _`CEC-OP-PRIM-DEVTYPE-SWITCH`: [all …]
|
| /linux/include/linux/ |
| H A D | filter.h | 105 #define BPF_ALU64_REG_OFF(OP, DST, SRC, OFF) \ argument 107 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \ 113 #define BPF_ALU64_REG(OP, DST, SRC) \ argument 114 BPF_ALU64_REG_OFF(OP, DST, SRC, 0) 116 #define BPF_ALU32_REG_OFF(OP, DST, SRC, OFF) \ argument 118 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \ 124 #define BPF_ALU32_REG(OP, DST, SRC) \ argument 125 BPF_ALU32_REG_OFF(OP, DST, SRC, 0) 129 #define BPF_ALU64_IMM_OFF(OP, DST, IMM, OFF) \ argument 131 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \ [all …]
|
| /linux/security/apparmor/include/ |
| H A D | net.h | 60 #define DEFINE_AUDIT_NET(NAME, OP, CRED, SK, F, T, P) \ argument 67 OP); \ 73 #define DEFINE_AUDIT_SK(NAME, OP, CRED, SK) \ argument 74 DEFINE_AUDIT_NET(NAME, OP, CRED, SK, (SK)->sk_family, (SK)->sk_type, \
|
| /linux/fs/netfs/ |
| H A D | internal.h | 497 #define ASSERTCMP(X, OP, Y) \ argument 499 if (unlikely(!((X) OP (Y)))) { \ 502 pr_err("%lx " #OP " %lx is false\n", \ 517 #define ASSERTIFCMP(C, X, OP, Y) \ argument 519 if (unlikely((C) && !((X) OP (Y)))) { \ 522 pr_err("%lx " #OP " %lx is false\n", \ 531 #define ASSERTCMP(X, OP, Y) do {} while (0) argument 533 #define ASSERTIFCMP(C, X, OP, Y) do {} while (0) argument
|
| /linux/drivers/pinctrl/cirrus/ |
| H A D | pinctrl-lochnagar.c | 440 #define LN_FUNC(NAME, TYPE, OP) \ argument 441 { .name = NAME, .type = LN_FTYPE_##TYPE, .op = OP } 443 #define LN_FUNC_PIN(REV, ID, OP) \ argument 444 LN_FUNC(lochnagar##REV##_##ID##_pin.name, PIN, OP) 446 #define LN1_FUNC_PIN(ID, OP) LN_FUNC_PIN(1, ID, OP) argument 447 #define LN2_FUNC_PIN(ID, OP) LN_FUNC_PIN(2, ID, OP) argument 449 #define LN_FUNC_AIF(REV, ID, OP) \ argument 450 LN_FUNC(lochnagar##REV##_##ID##_aif.name, AIF, OP) 452 #define LN1_FUNC_AIF(ID, OP) LN_FUNC_AIF(1, ID, OP) argument 453 #define LN2_FUNC_AIF(ID, OP) LN_FUNC_AIF(2, ID, OP) argument [all …]
|
| /linux/arch/powerpc/xmon/ |
| H A D | ppc-opc.c | 2298 #define OP(x) ((((unsigned long)(x)) & 0x3f) << 26) macro 2299 #define OP_MASK OP (0x3f) 2304 #define OPTO(x,to) (OP (x) | ((((unsigned long)(to)) & 0x1f) << 21)) 2310 #define OPL(x,l) (OP (x) | ((((unsigned long)(l)) & 1) << 21)) 2315 #define OPVUP(x,vup) (OP (x) | ((((unsigned long)(vup)) & 0xff) << 8)) 2325 #define A(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 1) | (((unsigned long)(rc)) &… 2341 #define B(op, aa, lk) (OP (op) | ((((unsigned long)(aa)) & 1) << 1) | ((lk) & 1)) 2362 #define BD15(op, aa, lk) (OP (op) | ((((unsigned long)(aa)) & 0xf) << 22) | ((lk) & 1)) 2378 #define BD24(op, aa, lk) (OP (op) | ((((unsigned long)(aa)) & 1) << 25) | ((lk) & 1)) 2416 #define CTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7)) [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-optee-devices | 6 OP-TEE bus provides reference to registered drivers under this directory. The <uuid> 15 Allows to distinguish whether an OP-TEE based TA/device requires user-space
|
| /linux/lib/crc/mips/ |
| H A D | crc32.h | 16 #define _ASM_SET_CRC(OP, SZ, TYPE) \ argument 17 _ASM_MACRO_3R(OP, rt, rs, rt2, \ 19 ".error \"invalid operands \\\"" #OP " \\rt,\\rs,\\rt2\\\"\"\n\t" \
|
| /linux/arch/sh/math-emu/ |
| H A D | math.c | 78 #define CMP(OP) ({ int r; BOTH_PRmn(OP##_X,r); r; }) argument 101 #define ARITH_X(SZ,OP,M,N) do{ \ argument 104 FP_##OP##_##SZ(Fr, Fn, Fm); \
|
| /linux/drivers/firmware/arm_scmi/transports/ |
| H A D | Kconfig | 66 tristate "SCMI transport based on OP-TEE service" 73 This enables the OP-TEE service based transport for SCMI. 76 transport based on OP-TEE SCMI service, answer Y.
|
| /linux/fs/afs/ |
| H A D | internal.h | 1890 #define ASSERTCMP(X, OP, Y) \ argument 1892 if (unlikely(!((X) OP (Y)))) { \ 1895 printk(KERN_ERR "%lu " #OP " %lu is false\n", \ 1897 printk(KERN_ERR "0x%lx " #OP " 0x%lx is false\n", \ 1927 #define ASSERTIFCMP(C, X, OP, Y) \ argument 1929 if (unlikely((C) && !((X) OP (Y)))) { \ 1932 printk(KERN_ERR "%lu " #OP " %lu is false\n", \ 1934 printk(KERN_ERR "0x%lx " #OP " 0x%lx is false\n", \ 1946 #define ASSERTCMP(X, OP, Y) \ argument 1958 #define ASSERTIFCMP(C, X, OP, Y) \ argument
|
| /linux/net/rxrpc/ |
| H A D | ar-internal.h | 1645 #define ASSERTCMP(X, OP, Y) \ argument 1649 if (unlikely(!(_x OP _y))) { \ 1651 (unsigned long)_x, (unsigned long)_x, #OP, \ 1665 #define ASSERTIFCMP(C, X, OP, Y) \ argument 1669 if (unlikely((C) && !(_x OP _y))) { \ 1671 (unsigned long)_x, (unsigned long)_x, #OP, \ 1683 #define ASSERTCMP(X, OP, Y) \ argument 1691 #define ASSERTIFCMP(C, X, OP, Y) \ argument
|
| /linux/arch/sparc/include/asm/ |
| H A D | sfp-machine_64.h | 59 #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ argument
|
| /linux/arch/sh/include/asm/ |
| H A D | sfp-machine.h | 53 #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ argument
|