Lines Matching refs:netif_txq
284 struct netdev_queue *netif_txq; in am65_cpsw_nuss_ndo_host_tx_timeout() local
287 netif_txq = netdev_get_tx_queue(ndev, txqueue); in am65_cpsw_nuss_ndo_host_tx_timeout()
289 trans_start = READ_ONCE(netif_txq->trans_start); in am65_cpsw_nuss_ndo_host_tx_timeout()
293 netif_tx_queue_stopped(netif_txq), in am65_cpsw_nuss_ndo_host_tx_timeout()
295 dql_avail(&netif_txq->dql), in am65_cpsw_nuss_ndo_host_tx_timeout()
298 if (netif_tx_queue_stopped(netif_txq)) { in am65_cpsw_nuss_ndo_host_tx_timeout()
300 txq_trans_update(netif_txq); in am65_cpsw_nuss_ndo_host_tx_timeout()
301 netif_tx_wake_queue(netif_txq); in am65_cpsw_nuss_ndo_host_tx_timeout()
925 struct netdev_queue *netif_txq) in am65_cpsw_nuss_tx_wake() argument
927 if (netif_tx_queue_stopped(netif_txq)) { in am65_cpsw_nuss_tx_wake()
932 __netif_tx_lock(netif_txq, smp_processor_id()); in am65_cpsw_nuss_tx_wake()
935 netif_tx_wake_queue(netif_txq); in am65_cpsw_nuss_tx_wake()
937 __netif_tx_unlock(netif_txq); in am65_cpsw_nuss_tx_wake()
946 struct netdev_queue *netif_txq; in am65_cpsw_nuss_tx_compl_packets() local
974 netif_txq = netdev_get_tx_queue(ndev, chn); in am65_cpsw_nuss_tx_compl_packets()
976 netdev_tx_completed_queue(netif_txq, num_tx, total_bytes); in am65_cpsw_nuss_tx_compl_packets()
978 am65_cpsw_nuss_tx_wake(tx_chn, ndev, netif_txq); in am65_cpsw_nuss_tx_compl_packets()
991 struct netdev_queue *netif_txq; in am65_cpsw_nuss_tx_compl_packets_2g() local
1022 netif_txq = netdev_get_tx_queue(ndev, chn); in am65_cpsw_nuss_tx_compl_packets_2g()
1024 netdev_tx_completed_queue(netif_txq, num_tx, total_bytes); in am65_cpsw_nuss_tx_compl_packets_2g()
1026 am65_cpsw_nuss_tx_wake(tx_chn, ndev, netif_txq); in am65_cpsw_nuss_tx_compl_packets_2g()
1081 struct netdev_queue *netif_txq; in am65_cpsw_nuss_ndo_slave_xmit() local
1099 netif_txq = netdev_get_tx_queue(ndev, q_idx); in am65_cpsw_nuss_ndo_slave_xmit()
1188 netdev_tx_sent_queue(netif_txq, pkt_len); in am65_cpsw_nuss_ndo_slave_xmit()
1202 netdev_tx_completed_queue(netif_txq, 1, pkt_len); in am65_cpsw_nuss_ndo_slave_xmit()
1208 netif_tx_stop_queue(netif_txq); in am65_cpsw_nuss_ndo_slave_xmit()
1216 netif_tx_wake_queue(netif_txq); in am65_cpsw_nuss_ndo_slave_xmit()
1233 netif_tx_stop_queue(netif_txq); in am65_cpsw_nuss_ndo_slave_xmit()