/openbmc/linux/drivers/cpufreq/ |
H A D | speedstep-centrino.c | 85 #define OP(mhz, mv) \ macro 101 OP(600, 844), 102 OP(800, 988), 103 OP(900, 1004), 110 OP(600, 844), 111 OP(800, 972), 112 OP(900, 988), 113 OP(1000, 1004), 120 OP( 600, 956), 121 OP( 800, 1020), [all …]
|
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 */
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_uc.c | 38 #define OP(x) IB_OPCODE_UC_##x macro 109 qp->s_state = OP(SEND_FIRST); in qib_make_uc_req() 114 qp->s_state = OP(SEND_ONLY); in qib_make_uc_req() 117 OP(SEND_ONLY_WITH_IMMEDIATE); in qib_make_uc_req() 138 qp->s_state = OP(RDMA_WRITE_FIRST); in qib_make_uc_req() 143 qp->s_state = OP(RDMA_WRITE_ONLY); in qib_make_uc_req() 146 OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE); in qib_make_uc_req() 163 case OP(SEND_FIRST): in qib_make_uc_req() 164 qp->s_state = OP(SEND_MIDDLE); in qib_make_uc_req() 166 case OP(SEND_MIDDLE): in qib_make_uc_req() [all …]
|
H A D | qib_rc.c | 39 #define OP(x) IB_OPCODE_RC_##x macro 79 case OP(RDMA_READ_RESPONSE_LAST): in qib_make_rc_ack() 80 case OP(RDMA_READ_RESPONSE_ONLY): in qib_make_rc_ack() 87 case OP(ATOMIC_ACKNOWLEDGE): in qib_make_rc_ack() 96 case OP(SEND_ONLY): in qib_make_rc_ack() 97 case OP(ACKNOWLEDGE): in qib_make_rc_ack() 106 if (e->opcode == OP(RDMA_READ_REQUEST)) { in qib_make_rc_ack() 127 qp->s_ack_state = OP(RDMA_READ_RESPONSE_FIRST); in qib_make_rc_ack() 129 qp->s_ack_state = OP(RDMA_READ_RESPONSE_ONLY); in qib_make_rc_ack() 140 qp->s_ack_state = OP(ATOMIC_ACKNOWLEDGE); in qib_make_rc_ack() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/crypto/ |
H A D | seed.c | 311 #define OP(X1, X2, X3, X4, rbase) \ macro 377 OP(x1, x2, x3, x4, 0); in seed_encrypt() 378 OP(x3, x4, x1, x2, 2); in seed_encrypt() 379 OP(x1, x2, x3, x4, 4); in seed_encrypt() 380 OP(x3, x4, x1, x2, 6); in seed_encrypt() 381 OP(x1, x2, x3, x4, 8); in seed_encrypt() 382 OP(x3, x4, x1, x2, 10); in seed_encrypt() 383 OP(x1, x2, x3, x4, 12); in seed_encrypt() 384 OP(x3, x4, x1, x2, 14); in seed_encrypt() 385 OP(x1, x2, x3, x4, 16); in seed_encrypt() [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | atomic_common.c.inc | 39 #define CMPXCHG_HELPER(OP, TYPE) \ 40 TYPE HELPER(atomic_##OP)(CPUArchState *env, uint64_t addr, \ 42 { return cpu_atomic_##OP##_mmu(env, addr, oldv, newv, oi, GETPC()); } 82 #define ATOMIC_HELPER(OP, TYPE) \ 83 TYPE HELPER(glue(atomic_,OP))(CPUArchState *env, uint64_t addr, \ 85 { return glue(glue(cpu_atomic_,OP),_mmu)(env, addr, val, oi, GETPC()); } 88 #define GEN_ATOMIC_HELPERS(OP) \ 89 ATOMIC_HELPER(glue(OP,b), uint32_t) \ 90 ATOMIC_HELPER(glue(OP,w_be), uint32_t) \ 91 ATOMIC_HELPER(glue(OP,w_le), uint32_t) \ [all …]
|
/openbmc/qemu/tests/tcg/i386/ |
H A D | test-i386-muldiv.h | 2 void glue(glue(test_, OP), b)(long op0, long op1) in glue() argument 11 stringify(OP)"b %b2\n\t" in glue() 17 stringify(OP) "b", s0, s1, res, flags & CC_MASK); in glue() 20 void glue(glue(test_, OP), w)(long op0h, long op0, long op1) in glue() argument 29 stringify(OP) "w %w3\n\t" in glue() 35 stringify(OP) "w", op0h, op0, s1, resh, res, flags & CC_MASK); in glue() 38 void glue(glue(test_, OP), l)(long op0h, long op0, long op1) in glue() argument 47 stringify(OP) "l %k3\n\t" in glue() 53 stringify(OP) "l", op0h, op0, s1, resh, res, flags & CC_MASK); in glue() 57 void glue(glue(test_, OP), q)(long op0h, long op0, long op1) in glue() argument [all …]
|
H A D | test-i386-shift.h | 2 #define exec_op glue(exec_, OP) 3 #define exec_opq glue(glue(exec_, OP), q) 4 #define exec_opl glue(glue(exec_, OP), l) 5 #define exec_opw glue(glue(exec_, OP), w) 6 #define exec_opb glue(glue(exec_, OP), b) 14 stringify(OP) size " %" rsize "2, %" rsize "0\n\t" \ 23 stringify(OP) size " %%cl, %" rsize "0\n\t" \ 41 stringify(OP) "q", s0, s1, res, iflags, flags & CC_MASK); in exec_opq() 55 stringify(OP) "l", s0, s1, res, iflags, flags & CC_MASK); in exec_opl() 68 stringify(OP) "w", s0, s1, res, iflags, flags & CC_MASK); in exec_opw() [all …]
|
H A D | test-i386.h | 2 #define exec_op glue(exec_, OP) 3 #define exec_opq glue(glue(exec_, OP), q) 4 #define exec_opl glue(glue(exec_, OP), l) 5 #define exec_opw glue(glue(exec_, OP), w) 6 #define exec_opb glue(glue(exec_, OP), b) 11 stringify(OP) size " %" rsize "2, %" rsize "0\n\t" \ 17 stringify(OP) size, s0, s1, res, iflags, flags & CC_MASK); 22 stringify(OP) size " %" rsize "0\n\t" \ 28 stringify(OP) size, s0, res, iflags, flags & CC_MASK); 120 void glue(test_, OP)(void) in glue() argument [all …]
|
H A D | test-i386.c | 82 #define OP add macro 85 #define OP sub macro 88 #define OP xor macro 91 #define OP and macro 94 #define OP or macro 97 #define OP cmp macro 100 #define OP adc macro 104 #define OP sbb macro 108 #define OP inc macro 113 #define OP dec macro [all …]
|
/openbmc/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 …]
|
/openbmc/u-boot/doc/ |
H A D | README.tee | 44 OP-TEE driver 47 The OP-TEE driver handles OP-TEE [1] based TEEs. Currently it is only the ARM 48 TrustZone based OP-TEE solution that is supported. 50 Lowest level of communication with OP-TEE builds on ARM SMC Calling 51 Convention (SMCCC) [2], which is the foundation for OP-TEE's SMC interface 52 [3] used internally by the driver. Stacked on top of that is OP-TEE Message 55 OP-TEE SMC interface provides the basic functions required by SMCCC and some 56 additional functions specific for OP-TEE. The most interesting functions are: 61 - OPTEE_SMC_CALL_GET_OS_UUID returns the particular OP-TEE implementation, used 62 to tell, for instance, a TrustZone OP-TEE apart from an OP-TEE running on a [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | mve_helper.c | 152 #define DO_VLDR(OP, MSIZE, LDTYPE, ESIZE, TYPE) \ argument 153 void HELPER(mve_##OP)(CPUARMState *env, void *vd, uint32_t addr) \ 174 #define DO_VSTR(OP, MSIZE, STTYPE, ESIZE, TYPE) \ argument 175 void HELPER(mve_##OP)(CPUARMState *env, void *vd, uint32_t addr) \ 218 #define DO_VLDR_SG(OP, LDTYPE, ESIZE, TYPE, OFFTYPE, ADDRFN, WB) \ argument 219 void HELPER(mve_##OP)(CPUARMState *env, void *vd, void *vm, \ 243 #define DO_VSTR_SG(OP, STTYPE, ESIZE, TYPE, ADDRFN, WB) \ argument 244 void HELPER(mve_##OP)(CPUARMState *env, void *vd, void *vm, \ 276 #define DO_VLDR64_SG(OP, ADDRFN, WB) \ argument 277 void HELPER(mve_##OP)(CPUARMState *env, void *vd, void *vm, \ [all …]
|
/openbmc/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, \ 187 #define BPF_ATOMIC_OP(SIZE, OP, DST, SRC, OFF) \ argument 193 .imm = OP }) [all …]
|
/openbmc/u-boot/drivers/tee/optee/ |
H A D | Kconfig | 1 # OP-TEE Trusted Execution Environment Configuration 3 bool "OP-TEE" 6 This implements the OP-TEE Trusted Execution Environment (TEE) 7 driver. OP-TEE is a Trusted OS designed primarily to rely on the 9 mechanism. This driver can request services from OP-TEE, but also 10 handle Remote Procedure Calls (RPC) from OP-TEE needed to 15 menu "OP-TEE options" 21 Enables support for the AVB Trusted Application (TA) in OP-TEE.
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | inst.h | 505 #define DEF_EMIT_REG0I15_FORMAT(NAME, OP) \ argument 509 insn->reg0i15_format.opcode = OP; \ 515 #define DEF_EMIT_REG0I26_FORMAT(NAME, OP) \ in DEF_EMIT_REG0I15_FORMAT() argument 525 insn->reg0i26_format.opcode = OP; \ in DEF_EMIT_REG0I15_FORMAT() 533 #define DEF_EMIT_REG1I20_FORMAT(NAME, OP) \ argument 537 insn->reg1i20_format.opcode = OP; \ 546 #define DEF_EMIT_REG2_FORMAT(NAME, OP) \ argument 551 insn->reg2_format.opcode = OP; \ 560 #define DEF_EMIT_REG2I5_FORMAT(NAME, OP) \ argument 566 insn->reg2i5_format.opcode = OP; \ [all …]
|
/openbmc/linux/Documentation/staging/ |
H A D | tee.rst | 120 OP-TEE driver 123 The OP-TEE driver handles OP-TEE [1] based TEEs. Currently it is only the ARM 124 TrustZone based OP-TEE solution that is supported. 126 Lowest level of communication with OP-TEE builds on ARM SMC Calling 127 Convention (SMCCC) [2], which is the foundation for OP-TEE's SMC interface 128 [3] used internally by the driver. Stacked on top of that is OP-TEE Message 131 OP-TEE SMC interface provides the basic functions required by SMCCC and some 132 additional functions specific for OP-TEE. The most interesting functions are: 137 - OPTEE_SMC_CALL_GET_OS_UUID returns the particular OP-TEE implementation, used 138 to tell, for instance, a TrustZone OP-TEE apart from an OP-TEE running on a [all …]
|
/openbmc/linux/fs/fscache/ |
H A D | internal.h | 237 #define ASSERTCMP(X, OP, Y) \ argument 239 if (unlikely(!((X) OP (Y)))) { \ 242 pr_err("%lx " #OP " %lx is false\n", \ 257 #define ASSERTIFCMP(C, X, OP, Y) \ argument 259 if (unlikely((C) && !((X) OP (Y)))) { \ 262 pr_err("%lx " #OP " %lx is false\n", \ 271 #define ASSERTCMP(X, OP, Y) do {} while (0) argument 273 #define ASSERTIFCMP(C, X, OP, Y) do {} while (0) argument
|
/openbmc/linux/drivers/tee/optee/ |
H A D | Kconfig | 2 # OP-TEE Trusted Execution Environment Configuration 4 tristate "OP-TEE" 8 This implements the OP-TEE Trusted Execution Environment (TEE) 12 bool "Load OP-TEE image as firmware" 16 This loads the BL32 image for OP-TEE as firmware when the driver is
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | emufx.c | 503 #define OP(icode, ptr, op, r, a, x, y) \ macro 1782 OP(icode, ptr, iMAC1, dst, C_00000000, src, vol); in _volume() 1786 OP(icode, ptr, iMAC1, dst, dst, src, vol); in _volume_add() 1800 OP((icode), ptr, iMACINT0, dst, C_00000000, src, sw); 1806 OP((icode), ptr, iANDXOR, dst, src, C_00000001, C_00000001); 1865 OP(icode, &ptr, iMACINT0, GPR(0), C_00000000, FXBUS(FXBUS_PCM_LEFT), C_00000008); in _snd_emu10k1_init_efx() 1866 OP(icode, &ptr, iMACINT0, GPR(1), C_00000000, FXBUS(FXBUS_PCM_RIGHT), C_00000008); in _snd_emu10k1_init_efx() 1867 OP(icode, &ptr, iMACINT0, GPR(2), C_00000000, FXBUS(FXBUS_MIDI_LEFT), C_00000008); in _snd_emu10k1_init_efx() 1868 OP(icode, &ptr, iMACINT0, GPR(3), C_00000000, FXBUS(FXBUS_MIDI_RIGHT), C_00000008); in _snd_emu10k1_init_efx() 1869 OP(icode, &ptr, iMACINT0, GPR(4), C_00000000, FXBUS(FXBUS_PCM_LEFT_REAR), C_00000008); in _snd_emu10k1_init_efx() [all …]
|
/openbmc/qemu/audio/ |
H A D | rate_template.h | 52 OP (obuf[i].l, ibuf[i].l); in NAME() 53 OP (obuf[i].r, ibuf[i].r); in NAME() 110 OP (obuf->l, out.l); in NAME() 111 OP (obuf->r, out.r); in NAME() 123 #undef OP
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | hvx_misc.h | 97 #define TEST_VEC_OP1(NAME, ASM, EL, FIELD, FIELDSZ, OP) \ argument 109 expect[i].FIELD[j] = OP buffer0[i].FIELD[j]; \ 115 #define TEST_VEC_OP2(NAME, ASM, EL, FIELD, FIELDSZ, OP) \ argument 129 expect[i].FIELD[j] = buffer0[i].FIELD[j] OP buffer1[i].FIELD[j]; \ 151 #define TEST_PRED_OP2(NAME, ASM, OP, INV) \ argument 169 expect[i].b[j] = (p0 OP !p1) ? 0xff : 0x00; \ 171 expect[i].b[j] = (p0 OP p1) ? 0xff : 0x00; \
|