Home
last modified time | relevance | path

Searched refs:IMM (Results 1 – 22 of 22) sorted by relevance

/linux/samples/bpf/
H A Dbpf_insn.h28 #define BPF_ALU64_IMM(OP, DST, IMM) \ argument
34 .imm = IMM })
36 #define BPF_ALU32_IMM(OP, DST, IMM) \ argument
42 .imm = IMM })
64 #define BPF_MOV64_IMM(DST, IMM) \ argument
70 .imm = IMM })
72 #define BPF_MOV32_IMM(DST, IMM) \ argument
78 .imm = IMM })
81 #define BPF_LD_IMM64(DST, IMM) \ argument
82 BPF_LD_IMM64_RAW(DST, 0, IMM)
[all …]
/linux/tools/include/linux/
H A Dfilter.h52 #define BPF_ALU64_IMM(OP, DST, IMM) \ argument
58 .imm = IMM })
60 #define BPF_ALU32_IMM(OP, DST, IMM) \ argument
66 .imm = IMM })
98 #define BPF_MOV64_IMM(DST, IMM) \ argument
104 .imm = IMM })
106 #define BPF_MOV32_IMM(DST, IMM) \ argument
112 .imm = IMM })
134 #define BPF_MOV64_RAW(TYPE, DST, SRC, IMM) \ argument
140 .imm = IMM })
[all …]
/linux/arch/arc/lib/
H A Dmemcpy-archs.S9 # define SHIFT_1(RX,RY,IMM) asl RX, RY, IMM ; << argument
10 # define SHIFT_2(RX,RY,IMM) lsr RX, RY, IMM ; >> argument
11 # define MERGE_1(RX,RY,IMM) asl RX, RY, IMM argument
12 # define MERGE_2(RX,RY,IMM) argument
13 # define EXTRACT_1(RX,RY,IMM) and RX, RY, 0xFFFF argument
14 # define EXTRACT_2(RX,RY,IMM) lsr RX, RY, IMM argument
16 # define SHIFT_1(RX,RY,IMM) lsr RX, RY, IMM ; >> argument
17 # define SHIFT_2(RX,RY,IMM) asl RX, RY, IMM ; << argument
18 # define MERGE_1(RX,RY,IMM) asl RX, RY, IMM ; << argument
19 # define MERGE_2(RX,RY,IMM) asl RX, RY, IMM ; << argument
[all …]
/linux/arch/m68k/lib/
H A Dudivsi3.S65 #define IMM(x) CONCAT1 (__IMMEDIATE_PREFIX__, x) macro
94 cmpl IMM (0x10000), d1 /* divisor >= 2 ^ 16 ? */
108 L4: lsrl IMM (1), d1 /* shift divisor */
109 lsrl IMM (1), d0 /* shift dividend */
110 cmpl IMM (0x10000), d1 /* still divisor >= 2 ^ 16 ? */
113 andl IMM (0xffff), d0 /* mask out divisor, ignore remainder */
129 L5: subql IMM (1), d0 /* adjust quotient */
138 link a6,IMM (-12)
143 moveq IMM (31),d4
149 bset IMM (0),d0 | set the low order bit of a to 1,
[all …]
H A Dmodsi3.S67 #define IMM(x) CONCAT1 (__IMMEDIATE_PREFIX__, x) macro
96 addql IMM (8), sp
102 addql IMM (8), sp
H A Dumodsi3.S65 #define IMM(x) CONCAT1 (__IMMEDIATE_PREFIX__, x) macro
94 addql IMM (8), sp
100 addql IMM (8), sp
H A Ddivsi3.S67 #define IMM(x) CONCAT1 (__IMMEDIATE_PREFIX__, x) macro
93 moveq IMM (1), d2 /* sign of result stored in d2 (=1 or =-1) */
114 addql IMM (8), sp
H A Dmulsi3.S65 #define IMM(x) CONCAT1 (__IMMEDIATE_PREFIX__, x) macro
/linux/include/linux/
H A Dfilter.h126 #define BPF_ALU64_IMM_OFF(OP, DST, IMM, OFF) \ argument
132 .imm = IMM })
133 #define BPF_ALU64_IMM(OP, DST, IMM) \ argument
134 BPF_ALU64_IMM_OFF(OP, DST, IMM, 0)
136 #define BPF_ALU32_IMM_OFF(OP, DST, IMM, OFF) \ argument
142 .imm = IMM })
143 #define BPF_ALU32_IMM(OP, DST, IMM) \ argument
144 BPF_ALU32_IMM_OFF(OP, DST, IMM, 0)
205 #define BPF_MOV64_IMM(DST, IMM) \ argument
211 .imm = IMM })
[all …]
H A Dnetdevice.h4714 #define NESTED_SYNC_IMM __NESTED_SYNC(IMM)
/linux/arch/powerpc/math-emu/
H A Dmtfsfi.c10 mtfsfi(unsigned int crfD, unsigned int IMM) in mtfsfi() argument
18 __FPU_FPSCR |= (IMM & 0xf) << ((7 - crfD) << 2); in mtfsfi()
21 printk("%s: %d %x: %08lx\n", __func__, crfD, IMM, __FPU_FPSCR); in mtfsfi()
/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c264 #define emit_cmpi(R1, IMM) \ argument
265 *prog++ = (SUBCC | IMMED | RS1(R1) | S13(IMM) | RD(G0));
270 #define emit_btsti(R1, IMM) \ argument
271 *prog++ = (ANDCC | IMMED | RS1(R1) | S13(IMM) | RD(G0));
276 #define emit_subi(R1, IMM, R3) \ argument
277 *prog++ = (SUB | IMMED | RS1(R1) | S13(IMM) | RD(R3))
282 #define emit_addi(R1, IMM, R3) \ argument
283 *prog++ = (ADD | IMMED | RS1(R1) | S13(IMM) | RD(R3))
288 #define emit_andi(R1, IMM, R3) \ argument
289 *prog++ = (AND | IMMED | RS1(R1) | S13(IMM) | RD(R3))
H A Dbpf_jit_comp_64.c649 #define emit_cmpi(R1, IMM, CTX) \ argument
650 emit(SUBCC | IMMED | RS1(R1) | S13(IMM) | RD(G0), CTX)
655 #define emit_btsti(R1, IMM, CTX) \ argument
656 emit(ANDCC | IMMED | RS1(R1) | S13(IMM) | RD(G0), CTX)
/linux/kernel/bpf/
H A Dcore.c66 #define IMM insn->imm macro
1684 INSN_3(LD, IMM, DW)
1768 DST = DST OP IMM; \ in ___bpf_prog_run()
1771 DST = (u32) DST OP (u32) IMM; \ in ___bpf_prog_run()
1782 DST = DST OP IMM; \ in ___bpf_prog_run()
1785 DST = (u32) DST OP (u32) IMM; \ in ___bpf_prog_run()
1817 DST = (u32) IMM; in ___bpf_prog_run()
1836 DST = IMM; in ___bpf_prog_run()
1846 DST = (u64) (u32) (((s32) DST) >> IMM); in ___bpf_prog_run()
1852 (*(s64 *) &DST) >>= IMM; in ___bpf_prog_run()
[all …]
/linux/arch/microblaze/kernel/
H A Dhw_exception_handler.S163 .macro bsrli, rD, rA, IMM argument
164 .if (\IMM) == 2
166 .elseif (\IMM) == 10
168 .elseif (\IMM) == 12
171 .elseif (\IMM) == 14
174 .elseif (\IMM) == 20
176 .elseif (\IMM) == 24
179 .elseif (\IMM) == 28
/linux/drivers/crypto/caam/
H A Dcaamalg_desc.c420 append_math_add_imm_u32(desc, VARSEQOUTLEN, REG3, IMM, in cnstr_shdsc_aead_decap()
428 append_math_add_imm_u32(desc, VARSEQOUTLEN, DPOVRD, IMM, in cnstr_shdsc_aead_decap()
672 append_math_sub_imm_u32(desc, VARSEQOUTLEN, SEQINLEN, IMM, in cnstr_shdsc_gcm_encap()
905 append_math_sub_imm_u32(desc, VARSEQINLEN, REG3, IMM, ivsize); in cnstr_shdsc_rfc4106_encap()
1014 append_math_sub_imm_u32(desc, VARSEQINLEN, REG3, IMM, ivsize); in cnstr_shdsc_rfc4106_decap()
H A Dcaamalg.c1144 append_math_add_imm_u32(desc, REG3, ZERO, IMM, req->assoclen); in init_gcm_job()
1185 append_math_add_imm_u32(desc, REG3, ZERO, IMM, assoclen); in init_chachapoly_job()
1235 append_math_add_imm_u32(desc, REG3, ZERO, IMM, req->assoclen); in init_authenc_job()
1237 append_math_add_imm_u32(desc, DPOVRD, ZERO, IMM, req->assoclen); in init_authenc_job()
/linux/drivers/infiniband/ulp/rtrs/
H A DREADME127 using the IMM field.
144 using the IMM field, Server invalidate rkey associated to the memory chunks
/linux/Documentation/trace/
H A Duprobetracer.rst50 \IMM : Store an immediate value to the argument.
H A Dfprobetrace.rst54 \IMM : Store an immediate value to the argument.
H A Dkprobetrace.rst57 \IMM : Store an immediate value to the argument.
/linux/Documentation/bpf/standardization/
H A Dinstruction-set.rst588 IMM 0 64-bit immediate instructions `64-bit immediate instructions`_
719 Instructions with the ``IMM`` 'mode' modifier use the wide instruction
723 The following table defines a set of ``{IMM, DW, LD}`` instructions