Lines Matching refs:xfer_num
740 u8 xfer_num; in nfp_cpp_memcpy() local
745 xfer_num = round_up(len, 4) / 4; in nfp_cpp_memcpy()
754 CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 1)); in nfp_cpp_memcpy()
759 src_base, off, xfer_num - 1, CMD_CTX_SWAP, len > 32); in nfp_cpp_memcpy()
762 for (i = 0; i < xfer_num; i++) in nfp_cpp_memcpy()
775 reg_a(meta->paired_st->dst_reg * 2), off, xfer_num - 1, in nfp_cpp_memcpy()
787 CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 1)); in nfp_cpp_memcpy()
790 xfer_num - 1, CMD_CTX_SWAP); in nfp_cpp_memcpy()
811 CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 2)); in nfp_cpp_memcpy()
814 xfer_num - 2, CMD_CTX_SWAP); in nfp_cpp_memcpy()
815 new_off = meta->paired_st->off + (xfer_num - 1) * 4; in nfp_cpp_memcpy()
818 xfer_num - 1, reg_a(meta->paired_st->dst_reg * 2), off, in nfp_cpp_memcpy()
833 xfer_num = 0; in nfp_cpp_memcpy()
835 xfer_num = xfer_num - 1; in nfp_cpp_memcpy()
837 xfer_num = xfer_num - 2; in nfp_cpp_memcpy()
842 reg_xfer(xfer_num), 1, in nfp_cpp_memcpy()
847 reg_xfer(xfer_num), 2, (len & 3) ^ 2); in nfp_cpp_memcpy()
855 reg_xfer(xfer_num)); in nfp_cpp_memcpy()
857 reg_xfer(xfer_num + 1)); in nfp_cpp_memcpy()
2736 u8 xfer_num, len; in mem_ldx_data_init_pktcache() local
2742 xfer_num = round_up(len, REG_WIDTH) / REG_WIDTH; in mem_ldx_data_init_pktcache()
2748 CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 1)); in mem_ldx_data_init_pktcache()
2752 off, xfer_num - 1, CMD_CTX_SWAP, indir); in mem_ldx_data_init_pktcache()