Lines Matching refs:num_tx
925 int res, num_tx = 0; in am65_cpsw_nuss_tx_compl_packets() local
963 num_tx++; in am65_cpsw_nuss_tx_compl_packets()
966 if (!num_tx) in am65_cpsw_nuss_tx_compl_packets()
971 netdev_tx_completed_queue(netif_txq, num_tx, total_bytes); in am65_cpsw_nuss_tx_compl_packets()
986 dev_dbg(dev, "%s:%u pkt:%d\n", __func__, chn, num_tx); in am65_cpsw_nuss_tx_compl_packets()
988 return num_tx; in am65_cpsw_nuss_tx_compl_packets()
994 int num_tx; in am65_cpsw_nuss_tx_poll() local
996 num_tx = am65_cpsw_nuss_tx_compl_packets(tx_chn->common, tx_chn->id, in am65_cpsw_nuss_tx_poll()
998 num_tx = min(num_tx, budget); in am65_cpsw_nuss_tx_poll()
999 if (num_tx < budget) { in am65_cpsw_nuss_tx_poll()
1004 return num_tx; in am65_cpsw_nuss_tx_poll()
1966 int am65_cpsw_nuss_update_tx_chns(struct am65_cpsw_common *common, int num_tx) in am65_cpsw_nuss_update_tx_chns() argument
1970 common->tx_ch_num = num_tx; in am65_cpsw_nuss_update_tx_chns()