/openbmc/linux/tools/include/linux/ |
H A D | filter.h | 38 .src_reg = SRC, \ 46 .src_reg = SRC, \ 56 .src_reg = 0, \ 64 .src_reg = 0, \ 74 .src_reg = 0, \ 84 .src_reg = SRC, \ 102 .src_reg = 0, \ 110 .src_reg = 0, \ 138 .src_reg = 0, \ 204 .src_reg = 0, \ [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | bpf_insn.h | 14 .src_reg = SRC, \ 22 .src_reg = SRC, \ 32 .src_reg = 0, \ 40 .src_reg = 0, \ 50 .src_reg = SRC, \ 58 .src_reg = SRC, \ 68 .src_reg = 0, \ 76 .src_reg = 0, \ 94 .src_reg = 0, \ 113 .src_reg = 0, \ [all …]
|
/openbmc/linux/drivers/clk/socfpga/ |
H A D | clk-gate.c | 58 u32 src_reg; in socfpga_clk_set_parent() local 63 src_reg &= ~0x1; in socfpga_clk_set_parent() 64 src_reg |= parent; in socfpga_clk_set_parent() 68 src_reg &= ~0x2; in socfpga_clk_set_parent() 69 src_reg |= (parent << 1); in socfpga_clk_set_parent() 74 src_reg &= ~0x3; in socfpga_clk_set_parent() 75 src_reg |= parent; in socfpga_clk_set_parent() 78 src_reg &= ~0xC; in socfpga_clk_set_parent() 79 src_reg |= (parent << 2); in socfpga_clk_set_parent() 81 src_reg &= ~0x30; in socfpga_clk_set_parent() [all …]
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp32.c | 296 u32 src_reg = bpf_to_ppc(insn[i].src_reg); in bpf_jit_build_body() local 297 u32 src_reg_h = src_reg - 1; in bpf_jit_build_body() 343 if (src_reg >= 3 && src_reg < 32) { in bpf_jit_build_body() 344 bpf_set_seen_register(ctx, src_reg); in bpf_jit_build_body() 583 if (dst_reg == src_reg) { in bpf_jit_build_body() 592 if (dst_reg == src_reg) in bpf_jit_build_body() 729 if (dst_reg == src_reg) in bpf_jit_build_body() 731 EMIT(PPC_RAW_MR(dst_reg, src_reg)); in bpf_jit_build_body() 738 else if (dst_reg != src_reg) in bpf_jit_build_body() 847 ret_reg = src_reg; in bpf_jit_build_body() [all …]
|
H A D | bpf_jit_comp64.c | 378 u32 src_reg = bpf_to_ppc(insn[i].src_reg); in bpf_jit_build_body() local 411 if (src_reg >= BPF_PPC_NVR_MIN && src_reg < 32) in bpf_jit_build_body() 412 bpf_set_seen_register(ctx, src_reg); in bpf_jit_build_body() 637 EMIT(PPC_RAW_MR(dst_reg, src_reg)); in bpf_jit_build_body() 762 src_reg = tmp1_reg; in bpf_jit_build_body() 770 src_reg = tmp1_reg; in bpf_jit_build_body() 778 src_reg = tmp1_reg; in bpf_jit_build_body() 786 src_reg = tmp1_reg; in bpf_jit_build_body() 802 ret_reg = src_reg; in bpf_jit_build_body() 859 save_reg = src_reg; in bpf_jit_build_body() [all …]
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp.c | 743 EMIT_mov(dst_reg, src_reg); in emit_mov_reg() 755 u32 src_reg) in emit_movsx_reg() argument 1111 u32 src_reg = insn->src_reg; in do_jit() local 1143 dst_reg, src_reg); in do_jit() 1147 dst_reg, src_reg); in do_jit() 1235 if (src_reg == BPF_REG_0 || in do_jit() 1236 src_reg == BPF_REG_3) { in do_jit() 1239 src_reg = AUX_REG; in do_jit() 1244 src_reg = AUX_REG; in do_jit() 1379 if (src_reg != BPF_REG_4) { in do_jit() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | disasm.c | 22 if (!insn->src_reg && in __func_get_name() 35 if (insn->src_reg == BPF_PSEUDO_CALL) in __func_get_name() 195 insn->src_reg); in print_bpf_insn() 210 insn->off, insn->src_reg); in print_bpf_insn() 219 insn->src_reg); in print_bpf_insn() 226 insn->code, insn->src_reg, in print_bpf_insn() 238 insn->src_reg); in print_bpf_insn() 242 insn->code, insn->src_reg, in print_bpf_insn() 271 insn->src_reg, insn->off); in print_bpf_insn() 282 insn->src_reg, insn->imm); in print_bpf_insn() [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | disasm.c | 22 if (!insn->src_reg && in __func_get_name() 35 if (insn->src_reg == BPF_PSEUDO_CALL) in __func_get_name() 195 insn->src_reg); in print_bpf_insn() 210 insn->off, insn->src_reg); in print_bpf_insn() 219 insn->src_reg); in print_bpf_insn() 226 insn->code, insn->src_reg, in print_bpf_insn() 238 insn->src_reg); in print_bpf_insn() 242 insn->code, insn->src_reg, in print_bpf_insn() 271 insn->src_reg, insn->off); in print_bpf_insn() 282 insn->src_reg, insn->imm); in print_bpf_insn() [all …]
|
H A D | verifier.c | 13442 src_reg = NULL; in adjust_reg_min_max_vals() 13451 src_reg = ®s[insn->src_reg]; in adjust_reg_min_max_vals() 13595 struct bpf_reg_state *src_reg = regs + insn->src_reg; in check_alu_op() local 13597 bool need_id = src_reg->type == SCALAR_VALUE && !src_reg->id && in check_alu_op() 14049 pkt = src_reg; in is_pkt_ptr_branch_taken() 14262 src_reg->umin_value = dst_reg->umin_value = max(src_reg->umin_value, in __reg_combine_min_max() 14264 src_reg->umax_value = dst_reg->umax_value = min(src_reg->umax_value, in __reg_combine_min_max() 14515 src_reg = ®s[insn->src_reg]; in check_cond_jmp_op() 14519 insn->src_reg); in check_cond_jmp_op() 14618 struct bpf_reg_state *src_reg = ®s[insn->src_reg]; in check_cond_jmp_op() local [all …]
|
/openbmc/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 780 u32 src_reg = insn->src_reg; in bpf_jit_insn() local 837 EMIT2(0x1a00, dst_reg, src_reg); in bpf_jit_insn() 862 EMIT2(0x1b00, dst_reg, src_reg); in bpf_jit_insn() 1018 EMIT2(0x1400, dst_reg, src_reg); in bpf_jit_insn() 1050 EMIT2(0x1600, dst_reg, src_reg); in bpf_jit_insn() 1082 EMIT2(0x1700, dst_reg, src_reg); in bpf_jit_insn() 1313 src_reg, dst_reg, off); \ in bpf_jit_insn() 1318 EMIT_ZERO(src_reg); \ in bpf_jit_insn() 1684 REG_W1, dst_reg, src_reg); in bpf_jit_insn() 1704 src_reg = REG_1; in bpf_jit_insn() [all …]
|
/openbmc/u-boot/board/gdsys/a38x/ |
H A D | hre.c | 347 static int hre_op_loadkey(struct udevice *tpm, struct h_reg *src_reg, in hre_op_loadkey() argument 354 if (!src_reg || !dst_reg || !src_reg->valid || !dst_reg->valid) in hre_op_loadkey() 356 if (find_key(tpm, src_reg->digest, dst_reg->digest, &parent_handle)) in hre_op_loadkey() 359 src_reg->digest, &key_handle); in hre_op_loadkey() 384 struct h_reg *src_reg, *dst_reg; in hre_execute_op() local 407 src_reg = access_hreg(tpm, src_spec, HREG_RD); in hre_execute_op() 419 if (src_reg) { in hre_execute_op() 421 if (src_reg->digest[i]) in hre_execute_op() 443 if (src_reg) { in hre_execute_op() 444 src_buf = src_reg->digest; in hre_execute_op() [all …]
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 100 .src_reg = SRC, \ 111 .src_reg = SRC, \ 124 .src_reg = 0, \ 132 .src_reg = 0, \ 142 .src_reg = 0, \ 170 .src_reg = 0, \ 178 .src_reg = 0, \ 210 .src_reg = 0, \ 242 .src_reg = 0, \ 309 .src_reg = 0, \ [all …]
|
/openbmc/u-boot/drivers/power/pmic/ |
H A D | pmic_tps65217.c | 19 int tps65217_reg_read(uchar src_reg, uchar *src_val) in tps65217_reg_read() argument 22 return i2c_read(TPS65217_CHIP_PM, src_reg, 1, src_val, 1); in tps65217_reg_read() 24 return dm_i2c_read(tps65217_dev, src_reg, src_val, 1); in tps65217_reg_read()
|
/openbmc/linux/net/core/ |
H A D | filter.c | 9358 __u8 skb_reg = si->src_reg; in bpf_convert_tstamp_type_read() 9399 __u8 skb_reg = si->src_reg; in bpf_convert_tstamp_read() 9627 si->src_reg, off); in bpf_convert_ctx_access() 9636 si->src_reg, off); in bpf_convert_ctx_access() 9877 si->dst_reg, si->src_reg, in bpf_sock_convert_ctx_access() 9888 si->dst_reg, si->src_reg, in bpf_sock_convert_ctx_access() 9897 si->dst_reg, si->src_reg, in bpf_sock_convert_ctx_access() 9959 si->dst_reg, si->src_reg, in bpf_sock_convert_ctx_access() 9969 si->dst_reg, si->src_reg, in bpf_sock_convert_ctx_access() 9979 si->dst_reg, si->src_reg, in bpf_sock_convert_ctx_access() [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | crct10dif-pcl-asm_64.S | 83 # Fold src_reg into dst_reg. 84 .macro fold_16_bytes src_reg, dst_reg 85 movdqa \src_reg, %xmm8 86 pclmulqdq $0x11, FOLD_CONSTS, \src_reg 89 xorps \src_reg, \dst_reg
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | xlated_dumper.c | 183 if (insn->src_reg == BPF_PSEUDO_CALL && in print_call() 188 if (insn->src_reg == BPF_PSEUDO_CALL) in print_call() 200 if (insn->src_reg == BPF_PSEUDO_MAP_FD) in print_imm() 203 else if (insn->src_reg == BPF_PSEUDO_MAP_VALUE) in print_imm() 206 else if (insn->src_reg == BPF_PSEUDO_MAP_IDX_VALUE) in print_imm() 209 else if (insn->src_reg == BPF_PSEUDO_FUNC) in print_imm() 281 jsonw_printf(json_wtr, "\"0x%hhx\"", insn[i].src_reg); in dump_xlated_json()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-lochnagar.c | 35 u16 src_reg; member 89 .src_reg = LOCHNAGAR1_##ID##_SEL, \ 97 .src_reg = LOCHNAGAR2_##ID##_CTRL, \ 181 ret = regmap_update_bits(regmap, lclk->src_reg, lclk->src_mask, index); in lochnagar_clk_set_parent() 197 ret = regmap_read(regmap, lclk->src_reg, &val); in lochnagar_clk_get_parent()
|
/openbmc/linux/drivers/scsi/ |
H A D | script_asm.pl | 516 $src_reg = "\U$1\E"; 525 $src_reg = "\U$1\E"; 534 $src_reg = undef; 581 print STDERR "source = $src_reg, data = $data8 , destination = $dst_reg\n" 585 if (($src_reg eq undef) || ($src_reg eq $dst_reg)) { 590 ($registers{$src_reg} << 16); 591 } elsif ($src_reg =~ /SFBR/i) {
|
/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | atomic_fetch.c | 95 #define __ATOMIC_FETCH_OP_TEST(src_reg, dst_reg, operand1, op, operand2, expect) \ argument 103 BPF_MOV64_IMM(src_reg, operand2), \ 105 dst_reg, src_reg, -8), \ 107 BPF_JMP_IMM(BPF_JEQ, src_reg, operand1, 2), \
|
/openbmc/u-boot/board/gdsys/p1022/ |
H A D | controlcenterd-id.c | 586 static int hre_op_loadkey(struct udevice *tpm, struct h_reg *src_reg, in hre_op_loadkey() argument 593 if (!src_reg || !dst_reg || !src_reg->valid || !dst_reg->valid) in hre_op_loadkey() 595 if (find_key(tpm, src_reg->digest, dst_reg->digest, &parent_handle)) in hre_op_loadkey() 598 src_reg->digest, &key_handle); in hre_op_loadkey() 623 struct h_reg *src_reg, *dst_reg; in hre_execute_op() local 646 src_reg = access_hreg(tpm, src_spec, HREG_RD); in hre_execute_op() 658 if (src_reg) { in hre_execute_op() 660 if (src_reg->digest[i]) in hre_execute_op() 682 if (src_reg) { in hre_execute_op() 683 src_buf = src_reg->digest; in hre_execute_op() [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | crct10dif-ce-core.S | 137 .macro fold_16_bytes, src_reg, dst_reg, load_next_consts 138 vmull.p64 q8, \src_reg\()l, FOLD_CONST_L 139 vmull.p64 \src_reg, \src_reg\()h, FOLD_CONST_H 144 veor.8 \dst_reg, \dst_reg, \src_reg
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | jit.c | 1448 breg = insn->src_reg * 2; in cmp_reg() 1840 u8 src = insn->src_reg * 2; in mov_reg64() 1905 reg_b(insn->src_reg * 2)); in add_reg64() 1930 reg_b(insn->src_reg * 2)); in sub_reg64() 2070 src = insn->src_reg * 2; in shl_reg64() 2182 src = insn->src_reg * 2; in shr_reg64() 2299 src = insn->src_reg * 2; in ashr_reg64() 2454 src = insn->src_reg * 2; in ashr_reg() 2505 src = insn->src_reg * 2; in shr_reg() 2544 src = insn->src_reg * 2; in shl_reg() [all …]
|
/openbmc/linux/drivers/remoteproc/ |
H A D | imx_rproc.h | 30 u32 src_reg; member
|
/openbmc/linux/drivers/soc/mediatek/ |
H A D | mtk-cmdq-helper.c | 26 u16 src_reg; member 224 inst.src_reg = addr_low; in cmdq_pkt_read_s() 239 inst.src_reg = src_reg_idx; in cmdq_pkt_write_s() 262 inst.src_reg = src_reg_idx; in cmdq_pkt_write_s_mask()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_ttm_move.c | 318 struct intel_memory_region *dst_reg, *src_reg; in i915_ttm_memcpy_init() local 321 src_reg = i915_ttm_region(bo->bdev, bo->resource->mem_type); in i915_ttm_memcpy_init() 322 GEM_BUG_ON(!dst_reg || !src_reg); in i915_ttm_memcpy_init() 331 ttm_kmap_iter_iomap_init(&arg->_src_iter.io, &src_reg->iomap, in i915_ttm_memcpy_init() 333 src_reg->region.start); in i915_ttm_memcpy_init()
|