Home
last modified time | relevance | path

Searched refs:src_reg (Results 1 – 12 of 12) sorted by relevance

/drivers/clk/socfpga/
Dclk-gate.c58 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 …]
/drivers/crypto/ux500/cryp/
Dcryp.c295 struct cryp_register __iomem *src_reg = device_data->base; in cryp_save_device_context() local
309 if (CRYP_TEST_BITS(&src_reg->sr, CRYP_SR_IFEM_MASK) == 0) in cryp_save_device_context()
310 ctx->din = readl_relaxed(&src_reg->din); in cryp_save_device_context()
312 ctx->cr = readl_relaxed(&src_reg->cr) & CRYP_CR_CONTEXT_SAVE_MASK; in cryp_save_device_context()
316 ctx->key_4_l = readl_relaxed(&src_reg->key_4_l); in cryp_save_device_context()
317 ctx->key_4_r = readl_relaxed(&src_reg->key_4_r); in cryp_save_device_context()
321 ctx->key_3_l = readl_relaxed(&src_reg->key_3_l); in cryp_save_device_context()
322 ctx->key_3_r = readl_relaxed(&src_reg->key_3_r); in cryp_save_device_context()
326 ctx->key_2_l = readl_relaxed(&src_reg->key_2_l); in cryp_save_device_context()
327 ctx->key_2_r = readl_relaxed(&src_reg->key_2_r); in cryp_save_device_context()
[all …]
/drivers/scsi/
Dscript_asm.pl516 $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) {
/drivers/clk/
Dclk-lochnagar.c35 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()
/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c744 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 …]
Dverifier.c529 const struct bpf_reg_state *sreg = cur_regs(env) + meta->insn.src_reg; in nfp_bpf_check_atomic()
560 cur_regs(env) + meta->insn.src_reg; in nfp_bpf_check_alu()
646 if (meta->insn.src_reg >= MAX_BPF_REG || in nfp_verify_insn()
659 meta->insn.src_reg); in nfp_verify_insn()
Dmain.h465 insn.src_reg != BPF_PSEUDO_CALL; in is_mbpf_helper_call()
473 insn.src_reg == BPF_PSEUDO_CALL; in is_mbpf_pseudo_call()
/drivers/remoteproc/
Dimx_rproc.c94 u32 src_reg; member
247 .src_reg = IMX7D_SRC_SCR,
269 .src_reg = IMX7D_SRC_SCR,
279 .src_reg = IMX6SX_SRC_SCR,
298 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_rproc_start()
325 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_rproc_stop()
714 ret = regmap_read(regmap, dcfg->src_reg, &val); in imx_rproc_detect_mode()
/drivers/soc/mediatek/
Dmtk-cmdq-helper.c24 u16 src_reg; member
222 inst.src_reg = addr_low; in cmdq_pkt_read_s()
237 inst.src_reg = src_reg_idx; in cmdq_pkt_write_s()
260 inst.src_reg = src_reg_idx; in cmdq_pkt_write_s_mask()
/drivers/gpu/ipu-v3/
Dipu-common.c735 u32 src_reg, sink_reg; in ipu_fsu_link() local
745 src_reg = ipu_cm_read(ipu, link->src.reg); in ipu_fsu_link()
746 src_reg &= ~link->src.mask; in ipu_fsu_link()
747 src_reg |= link->src.val; in ipu_fsu_link()
748 ipu_cm_write(ipu, src_reg, link->src.reg); in ipu_fsu_link()
769 u32 src_reg, sink_reg; in ipu_fsu_unlink() local
779 src_reg = ipu_cm_read(ipu, link->src.reg); in ipu_fsu_unlink()
780 src_reg &= ~link->src.mask; in ipu_fsu_unlink()
781 ipu_cm_write(ipu, src_reg, link->src.reg); in ipu_fsu_unlink()
/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.c496 struct intel_memory_region *dst_reg, *src_reg; in i915_ttm_move() local
506 src_reg = i915_ttm_region(bo->bdev, bo->resource->mem_type); in i915_ttm_move()
507 GEM_BUG_ON(!dst_reg || !src_reg); in i915_ttm_move()
546 ttm_kmap_iter_iomap_init(&_src_iter.io, &src_reg->iomap, in i915_ttm_move()
548 src_reg->region.start); in i915_ttm_move()
/drivers/pinctrl/cirrus/
Dpinctrl-lochnagar.c371 .src_reg = LOCHNAGAR1_##ID##_SEL, \
383 .src_reg = LOCHNAGAR2_##ID##_CTRL, \
396 u16 src_reg; member
871 ret = regmap_update_bits(regmap, aif->src_reg, aif->src_mask, op); in lochnagar_aif_set_mux()