| /OK3568_Linux_fs/kernel/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, \ 92 .src_reg = SRC, \ 102 .src_reg = 0, \ 110 .src_reg = 0, \ 120 .src_reg = SRC, \ [all …]
|
| /OK3568_Linux_fs/kernel/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, \ 88 .src_reg = SRC, \ 94 .src_reg = 0, \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/socfpga/ |
| H A D | clk-gate.c | 58 u32 src_reg; in socfpga_clk_set_parent() local 62 src_reg = readl(clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent() 63 src_reg &= ~0x1; in socfpga_clk_set_parent() 64 src_reg |= parent; in socfpga_clk_set_parent() 65 writel(src_reg, clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent() 67 src_reg = readl(clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent() 68 src_reg &= ~0x2; in socfpga_clk_set_parent() 69 src_reg |= (parent << 1); in socfpga_clk_set_parent() 70 writel(src_reg, clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent() 72 src_reg = readl(clk_mgr_base_addr + CLKMGR_PERPLL_SRC); in socfpga_clk_set_parent() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ux500/cryp/ |
| H A D | cryp.c | 294 struct cryp_register __iomem *src_reg = device_data->base; in cryp_save_device_context() local 308 if (CRYP_TEST_BITS(&src_reg->sr, CRYP_SR_IFEM_MASK) == 0) in cryp_save_device_context() 309 ctx->din = readl_relaxed(&src_reg->din); in cryp_save_device_context() 311 ctx->cr = readl_relaxed(&src_reg->cr) & CRYP_CR_CONTEXT_SAVE_MASK; in cryp_save_device_context() 315 ctx->key_4_l = readl_relaxed(&src_reg->key_4_l); in cryp_save_device_context() 316 ctx->key_4_r = readl_relaxed(&src_reg->key_4_r); in cryp_save_device_context() 320 ctx->key_3_l = readl_relaxed(&src_reg->key_3_l); in cryp_save_device_context() 321 ctx->key_3_r = readl_relaxed(&src_reg->key_3_r); in cryp_save_device_context() 325 ctx->key_2_l = readl_relaxed(&src_reg->key_2_l); in cryp_save_device_context() 326 ctx->key_2_r = readl_relaxed(&src_reg->key_2_r); in cryp_save_device_context() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/net/ |
| H A D | bpf_jit_comp64.c | 332 u32 src_reg = b2p[insn[i].src_reg]; in bpf_jit_build_body() local 360 if (src_reg >= BPF_PPC_NVR_MIN && src_reg < 32) in bpf_jit_build_body() 361 bpf_set_seen_register(ctx, insn[i].src_reg); in bpf_jit_build_body() 369 EMIT(PPC_RAW_ADD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body() 373 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body() 400 EMIT(PPC_RAW_MULW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body() 402 EMIT(PPC_RAW_MULD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body() 421 EMIT(PPC_RAW_DIVWU(b2p[TMP_REG_1], dst_reg, src_reg)); in bpf_jit_build_body() 422 EMIT(PPC_RAW_MULW(b2p[TMP_REG_1], src_reg, in bpf_jit_build_body() 426 EMIT(PPC_RAW_DIVWU(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 202 static u8 add_2reg(u8 byte, u32 dst_reg, u32 src_reg) in add_2reg() argument 204 return byte + reg2hex[dst_reg] + (reg2hex[src_reg] << 3); in add_2reg() 657 static void emit_mov_reg(u8 **pprog, bool is64, u32 dst_reg, u32 src_reg) in emit_mov_reg() argument 664 EMIT_mov(dst_reg, src_reg); in emit_mov_reg() 667 if (is_ereg(dst_reg) || is_ereg(src_reg)) in emit_mov_reg() 668 EMIT1(add_2mod(0x40, dst_reg, src_reg)); in emit_mov_reg() 669 EMIT2(0x89, add_2reg(0xC0, dst_reg, src_reg)); in emit_mov_reg() 676 static void emit_ldx(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) in emit_ldx() argument 684 EMIT3(add_2mod(0x48, src_reg, dst_reg), 0x0F, 0xB6); in emit_ldx() 688 EMIT3(add_2mod(0x48, src_reg, dst_reg), 0x0F, 0xB7); in emit_ldx() [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/net/ |
| H A D | bpf_jit_comp.c | 101 static inline u32 reg(u32 dst_reg, u32 src_reg) in reg() argument 103 return reg2hex[dst_reg] << 4 | reg2hex[src_reg]; in reg() 698 u32 src_reg = insn->src_reg; in bpf_jit_insn() local 718 EMIT4(0xb9160000, dst_reg, src_reg); in bpf_jit_insn() 724 EMIT4(0xb9040000, dst_reg, src_reg); in bpf_jit_insn() 755 EMIT2(0x1a00, dst_reg, src_reg); in bpf_jit_insn() 760 EMIT4(0xb9080000, dst_reg, src_reg); in bpf_jit_insn() 780 EMIT2(0x1b00, dst_reg, src_reg); in bpf_jit_insn() 785 EMIT4(0xb9090000, dst_reg, src_reg); in bpf_jit_insn() 810 EMIT4(0xb2520000, dst_reg, src_reg); in bpf_jit_insn() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | verifier.c | 1491 if (insn[i].src_reg != BPF_PSEUDO_CALL) in check_subprogs() 1520 insn[i].src_reg != BPF_PSEUDO_CALL) in check_subprogs() 1629 if (insn->src_reg == BPF_PSEUDO_CALL) in is_reg64() 1816 u32 sreg = 1u << insn->src_reg; in backtrack_insn() 1869 if (insn->src_reg != BPF_REG_FP) in backtrack_insn() 1910 if (insn->src_reg == BPF_PSEUDO_CALL) in backtrack_insn() 3308 if (insn[i].src_reg != BPF_PSEUDO_CALL) in check_max_stack_depth() 3948 err = check_reg_arg(env, insn->src_reg, SRC_OP); in check_xadd() 3957 if (is_pointer_value(env, insn->src_reg)) { in check_xadd() 3958 verbose(env, "R%d leaks addr into mem\n", insn->src_reg); in check_xadd() [all …]
|
| H A D | disasm.c | 22 if (insn->src_reg != BPF_PSEUDO_CALL && in __func_get_name() 30 if (insn->src_reg == BPF_PSEUDO_CALL) in __func_get_name() 141 insn->src_reg); in print_bpf_insn() 155 insn->off, insn->src_reg); in print_bpf_insn() 161 insn->src_reg); in print_bpf_insn() 184 insn->src_reg, insn->off); in print_bpf_insn() 195 insn->src_reg, insn->imm); in print_bpf_insn() 202 bool is_ptr = insn->src_reg == BPF_PSEUDO_MAP_FD || in print_bpf_insn() 203 insn->src_reg == BPF_PSEUDO_MAP_VALUE; in print_bpf_insn() 223 if (insn->src_reg == BPF_PSEUDO_CALL) { in print_bpf_insn() [all …]
|
| /OK3568_Linux_fs/u-boot/board/gdsys/a38x/ |
| H A D | hre.c | 341 static int hre_op_loadkey(struct h_reg *src_reg, struct h_reg *dst_reg, in hre_op_loadkey() argument 347 if (!src_reg || !dst_reg || !src_reg->valid || !dst_reg->valid) in hre_op_loadkey() 349 if (find_key(src_reg->digest, dst_reg->digest, &parent_handle)) in hre_op_loadkey() 352 src_reg->digest, &key_handle); in hre_op_loadkey() 375 struct h_reg *src_reg, *dst_reg; in hre_execute_op() local 398 src_reg = access_hreg(src_spec, HREG_RD); in hre_execute_op() 409 if (src_reg) { in hre_execute_op() 411 if (src_reg->digest[i]) in hre_execute_op() 433 if (src_reg) { in hre_execute_op() 434 src_buf = src_reg->digest; in hre_execute_op() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | filter.h | 97 .src_reg = SRC, \ 105 .src_reg = SRC, \ 115 .src_reg = 0, \ 123 .src_reg = 0, \ 133 .src_reg = 0, \ 143 .src_reg = SRC, \ 151 .src_reg = SRC, \ 161 .src_reg = 0, \ 169 .src_reg = 0, \ 178 .src_reg = DST, \ [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/cuda/ |
| H A D | filters.hpp | 101 elem_type src_reg = src(y1, x1); in operator ()() local 102 out = out + src_reg * ((x2 - x) * (y2 - y)); in operator ()() 104 src_reg = src(y1, x2); in operator ()() 105 out = out + src_reg * ((x - x1) * (y2 - y)); in operator ()() 107 src_reg = src(y2, x1); in operator ()() 108 out = out + src_reg * ((x2 - x) * (y - y1)); in operator ()() 110 src_reg = src(y2, x2); in operator ()() 111 out = out + src_reg * ((x - x1) * (y - y1)); in operator ()()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/cuda/ |
| H A D | filters.hpp | 101 elem_type src_reg = src(y1, x1); in operator ()() local 102 out = out + src_reg * ((x2 - x) * (y2 - y)); in operator ()() 104 src_reg = src(y1, x2); in operator ()() 105 out = out + src_reg * ((x - x1) * (y2 - y)); in operator ()() 107 src_reg = src(y2, x1); in operator ()() 108 out = out + src_reg * ((x2 - x) * (y - y1)); in operator ()() 110 src_reg = src(y2, x2); in operator ()() 111 out = out + src_reg * ((x - x1) * (y - y1)); in operator ()()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/cuda/ |
| H A D | filters.hpp | 101 elem_type src_reg = src(y1, x1); in operator ()() local 102 out = out + src_reg * ((x2 - x) * (y2 - y)); in operator ()() 104 src_reg = src(y1, x2); in operator ()() 105 out = out + src_reg * ((x - x1) * (y2 - y)); in operator ()() 107 src_reg = src(y2, x1); in operator ()() 108 out = out + src_reg * ((x2 - x) * (y - y1)); in operator ()() 110 src_reg = src(y2, x2); in operator ()() 111 out = out + src_reg * ((x - x1) * (y - y1)); in operator ()()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | filter.c | 289 static u32 convert_skb_access(int skb_field, int dst_reg, int src_reg, in convert_skb_access() argument 298 *insn++ = BPF_LDX_MEM(BPF_W, dst_reg, src_reg, in convert_skb_access() 303 *insn++ = BPF_LDX_MEM(BPF_B, dst_reg, src_reg, PKT_TYPE_OFFSET()); in convert_skb_access() 313 *insn++ = BPF_LDX_MEM(BPF_H, dst_reg, src_reg, in convert_skb_access() 321 *insn++ = BPF_LDX_MEM(BPF_H, dst_reg, src_reg, in convert_skb_access() 325 *insn++ = BPF_LDX_MEM(BPF_B, dst_reg, src_reg, PKT_VLAN_PRESENT_OFFSET()); in convert_skb_access() 723 insn->src_reg = BPF_REG_TMP; in bpf_convert_filter() 729 insn->src_reg = bpf_src == BPF_X ? BPF_REG_X : 0; in bpf_convert_filter() 6264 si->dst_reg, si->src_reg, \ in bpf_tcp_sock_convert_ctx_access() 6276 si->dst_reg, si->src_reg, \ in bpf_tcp_sock_convert_ctx_access() [all …]
|
| /OK3568_Linux_fs/u-boot/board/gdsys/p1022/ |
| H A D | controlcenterd-id.c | 570 static int hre_op_loadkey(struct h_reg *src_reg, struct h_reg *dst_reg, in hre_op_loadkey() argument 576 if (!src_reg || !dst_reg || !src_reg->valid || !dst_reg->valid) in hre_op_loadkey() 578 if (find_key(src_reg->digest, dst_reg->digest, &parent_handle)) in hre_op_loadkey() 581 src_reg->digest, &key_handle); in hre_op_loadkey() 605 struct h_reg *src_reg, *dst_reg; in hre_execute_op() local 628 src_reg = access_hreg(src_spec, HREG_RD); in hre_execute_op() 639 if (src_reg) { in hre_execute_op() 641 if (src_reg->digest[i]) in hre_execute_op() 663 if (src_reg) { in hre_execute_op() 664 src_buf = src_reg->digest; in hre_execute_op() [all …]
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/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) {
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/remoteproc/ |
| H A D | imx_rproc.c | 73 u32 src_reg; member 141 .src_reg = IMX7D_SRC_SCR, 150 .src_reg = IMX6SX_SRC_SCR, 165 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, in imx_rproc_start() 180 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, in imx_rproc_stop()
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/ |
| H A D | xlated_dumper.c | 176 if (insn->src_reg == BPF_PSEUDO_CALL && in print_call() 181 if (insn->src_reg == BPF_PSEUDO_CALL) in print_call() 193 if (insn->src_reg == BPF_PSEUDO_MAP_FD) in print_imm() 196 else if (insn->src_reg == BPF_PSEUDO_MAP_VALUE) in print_imm() 268 jsonw_printf(json_wtr, "\"0x%hhx\"", insn[i].src_reg); in dump_xlated_json()
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx7/ |
| H A D | soc.c | 318 struct src *src_reg = (struct src *)SRC_BASE_ADDR; in arch_auxiliary_core_up() local 331 clrsetbits_le32(&src_reg->m4rcr, SRC_M4RCR_M4C_NON_SCLR_RST_MASK, in arch_auxiliary_core_up() 340 struct src *src_reg = (struct src *)SRC_BASE_ADDR; in arch_auxiliary_core_check_up() local 342 val = readl(&src_reg->m4rcr); in arch_auxiliary_core_check_up()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | jit.c | 744 src_base = reg_a(meta->insn.src_reg * 2); in nfp_cpp_memcpy() 748 addr40_offset(nfp_prog, meta->insn.src_reg * 2, off, &src_base, in nfp_cpp_memcpy() 1315 u8 dst = meta->insn.dst_reg * 2, src = meta->insn.src_reg * 2; in wrp_alu64_reg() 1341 u8 dst = meta->insn.dst_reg * 2, src = meta->insn.src_reg * 2; in wrp_alu32_reg() 1364 insn->src_reg * 2, br_mask, insn->off); in wrp_test_reg() 1367 insn->src_reg * 2 + 1, br_mask, insn->off); in wrp_test_reg() 1448 breg = insn->src_reg * 2; in cmp_reg() 1515 multiplier = reg_b(insn->src_reg * 2); in wrp_mul() 1811 emit_alu(nfp_prog, reg_none(), reg_a(meta->insn.src_reg * 2), in nfp_queue_select() 1820 pv_qsel_val(nfp_prog), 0x1, reg_b(meta->insn.src_reg * 2), in nfp_queue_select() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/pmic/ |
| H A D | pmic_tps65217.c | 18 int tps65217_reg_read(uchar src_reg, uchar *src_val) in tps65217_reg_read() argument 20 return i2c_read(TPS65217_CHIP_PM, src_reg, 1, src_val, 1); in tps65217_reg_read()
|