Lines Matching refs:xfer_num
720 u8 xfer_num; in nfp_cpp_memcpy() local
725 xfer_num = round_up(len, 4) / 4; in nfp_cpp_memcpy()
734 CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 1)); in nfp_cpp_memcpy()
739 src_base, off, xfer_num - 1, CMD_CTX_SWAP, len > 32); in nfp_cpp_memcpy()
742 for (i = 0; i < xfer_num; i++) in nfp_cpp_memcpy()
755 reg_a(meta->paired_st->dst_reg * 2), off, xfer_num - 1, in nfp_cpp_memcpy()
767 CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 1)); in nfp_cpp_memcpy()
770 xfer_num - 1, CMD_CTX_SWAP); in nfp_cpp_memcpy()
791 CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 2)); in nfp_cpp_memcpy()
794 xfer_num - 2, CMD_CTX_SWAP); in nfp_cpp_memcpy()
795 new_off = meta->paired_st->off + (xfer_num - 1) * 4; in nfp_cpp_memcpy()
798 xfer_num - 1, reg_a(meta->paired_st->dst_reg * 2), off, in nfp_cpp_memcpy()
813 xfer_num = 0; in nfp_cpp_memcpy()
815 xfer_num = xfer_num - 1; in nfp_cpp_memcpy()
817 xfer_num = xfer_num - 2; in nfp_cpp_memcpy()
822 reg_xfer(xfer_num), 1, in nfp_cpp_memcpy()
827 reg_xfer(xfer_num), 2, (len & 3) ^ 2); in nfp_cpp_memcpy()
835 reg_xfer(xfer_num)); in nfp_cpp_memcpy()
837 reg_xfer(xfer_num + 1)); in nfp_cpp_memcpy()
2583 u8 xfer_num, len; in mem_ldx_data_init_pktcache() local
2589 xfer_num = round_up(len, REG_WIDTH) / REG_WIDTH; in mem_ldx_data_init_pktcache()
2595 CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 1)); in mem_ldx_data_init_pktcache()
2599 off, xfer_num - 1, CMD_CTX_SWAP, indir); in mem_ldx_data_init_pktcache()