Searched refs:shift_count (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/misc/altera-stapl/ |
H A D | altera-jtag.c | 592 u32 shift_count = js->ir_pre + count + js->ir_post; in altera_irscan() local 636 if (shift_count > js->ir_length) { in altera_irscan() 637 alloc_chars = (shift_count + 7) >> 3; in altera_irscan() 664 shift_count, in altera_irscan() 691 u32 shift_count = js->ir_pre + count + js->ir_post; in altera_swap_ir() local 735 if (shift_count > js->ir_length) { in altera_swap_ir() 736 alloc_chars = (shift_count + 7) >> 3; in altera_swap_ir() 764 shift_count, in altera_swap_ir() 795 u32 shift_count = js->dr_pre + count + js->dr_post; in altera_drscan() local 839 if (shift_count > js->dr_length) { in altera_drscan() [all …]
|
/openbmc/qemu/target/tricore/ |
H A D | op_helper.c | 1789 int32_t shift_count = sextract32(r2, 0, 6); in helper_sh() local 1791 if (shift_count == -32) { in helper_sh() 1793 } else if (shift_count < 0) { in helper_sh() 1794 return r1 >> -shift_count; in helper_sh() 1796 return r1 << shift_count; in helper_sh() 1803 int32_t shift_count; in helper_sh_h() local 1805 shift_count = sextract32(r2, 0, 5); in helper_sh_h() 1807 if (shift_count == -16) { in helper_sh_h() 1809 } else if (shift_count < 0) { in helper_sh_h() 1810 ret_hw0 = extract32(r1, 0, 16) >> -shift_count; in helper_sh_h() [all …]
|
H A D | translate.c | 2461 static void gen_shi(TCGv ret, TCGv r1, int32_t shift_count) in gen_shi() argument 2463 if (shift_count == -32) { in gen_shi() 2465 } else if (shift_count >= 0) { in gen_shi() 2466 tcg_gen_shli_tl(ret, r1, shift_count); in gen_shi() 2468 tcg_gen_shri_tl(ret, r1, -shift_count); in gen_shi() 2490 static void gen_shaci(TCGv ret, TCGv r1, int32_t shift_count) in gen_shaci() argument 2496 if (shift_count == 0) { in gen_shaci() 2501 } else if (shift_count == -32) { in gen_shaci() 2508 } else if (shift_count > 0) { in gen_shaci() 2509 TCGv t_max = tcg_constant_i32(0x7FFFFFFF >> shift_count); in gen_shaci() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc.c | 2916 if (req->shift_count > NPC_MCAM_MAX_SHIFTS) in rvu_mbox_handler_npc_mcam_shift_entry() 2920 for (index = 0; index < req->shift_count; index++) { in rvu_mbox_handler_npc_mcam_shift_entry() 2962 if (index != req->shift_count) { in rvu_mbox_handler_npc_mcam_shift_entry() 3303 u8 shift_count = 0; in npc_set_var_len_offset_pkind() local 3312 shift_count = __ffs(var_len_off_mask); in npc_set_var_len_offset_pkind() 3314 shift_count = (8 - __fls(var_len_off_mask)); in npc_set_var_len_offset_pkind() 3323 act0->var_len_shift = shift_count; in npc_set_var_len_offset_pkind()
|
H A D | mbox.h | 1372 u16 shift_count; /* Number of entries to shift */ member
|
/openbmc/linux/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 451 int shift_count, struct jit_ctx *ctx) in sparc_emit_set_const64_quick2() argument 456 emit_alu_K(SLLX, dest, shift_count, ctx); in sparc_emit_set_const64_quick2()
|