Lines Matching refs:REG_WIDTH
2742 xfer_num = round_up(len, REG_WIDTH) / REG_WIDTH; in mem_ldx_data_init_pktcache()
2744 indir = len > 8 * REG_WIDTH; in mem_ldx_data_init_pktcache()
2765 u8 idx = insn_off / REG_WIDTH; in mem_ldx_data_from_pktcache_unaligned()
2766 u8 off = insn_off % REG_WIDTH; in mem_ldx_data_from_pktcache_unaligned()
2773 if (size > REG_WIDTH - off) { in mem_ldx_data_from_pktcache_unaligned()
2775 len_lo = REG_WIDTH - off; in mem_ldx_data_from_pktcache_unaligned()
2779 if (size > 2 * REG_WIDTH - off) in mem_ldx_data_from_pktcache_unaligned()
2780 len_mid = REG_WIDTH; in mem_ldx_data_from_pktcache_unaligned()
2792 if (size <= REG_WIDTH) { in mem_ldx_data_from_pktcache_unaligned()
2799 REG_WIDTH - len_lo, len_lo); in mem_ldx_data_from_pktcache_unaligned()
2801 REG_WIDTH - len_lo); in mem_ldx_data_from_pktcache_unaligned()
2802 wrp_reg_or_subpart(nfp_prog, dst_hi, src_hi, REG_WIDTH - len_lo, in mem_ldx_data_from_pktcache_unaligned()
2817 idx = (meta->insn.off - meta->pkt_cache.range_start) / REG_WIDTH; in mem_ldx_data_from_pktcache_aligned()
2823 if (size < REG_WIDTH) { in mem_ldx_data_from_pktcache_aligned()
2826 } else if (size == REG_WIDTH) { in mem_ldx_data_from_pktcache_aligned()
2845 if (IS_ALIGNED(off, REG_WIDTH)) in mem_ldx_data_from_pktcache()