Lines Matching refs:netif_txq

343 	struct netdev_queue *netif_txq;  in am65_cpsw_nuss_ndo_host_tx_timeout()  local
346 netif_txq = netdev_get_tx_queue(ndev, txqueue); in am65_cpsw_nuss_ndo_host_tx_timeout()
348 trans_start = netif_txq->trans_start; in am65_cpsw_nuss_ndo_host_tx_timeout()
352 netif_tx_queue_stopped(netif_txq), in am65_cpsw_nuss_ndo_host_tx_timeout()
354 dql_avail(&netif_txq->dql), in am65_cpsw_nuss_ndo_host_tx_timeout()
357 if (netif_tx_queue_stopped(netif_txq)) { in am65_cpsw_nuss_ndo_host_tx_timeout()
359 txq_trans_update(netif_txq); in am65_cpsw_nuss_ndo_host_tx_timeout()
360 netif_tx_wake_queue(netif_txq); in am65_cpsw_nuss_ndo_host_tx_timeout()
971 struct netdev_queue *netif_txq) in am65_cpsw_nuss_tx_wake() argument
973 if (netif_tx_queue_stopped(netif_txq)) { in am65_cpsw_nuss_tx_wake()
978 __netif_tx_lock(netif_txq, smp_processor_id()); in am65_cpsw_nuss_tx_wake()
981 netif_tx_wake_queue(netif_txq); in am65_cpsw_nuss_tx_wake()
983 __netif_tx_unlock(netif_txq); in am65_cpsw_nuss_tx_wake()
992 struct netdev_queue *netif_txq; in am65_cpsw_nuss_tx_compl_packets() local
1020 netif_txq = netdev_get_tx_queue(ndev, chn); in am65_cpsw_nuss_tx_compl_packets()
1022 netdev_tx_completed_queue(netif_txq, num_tx, total_bytes); in am65_cpsw_nuss_tx_compl_packets()
1024 am65_cpsw_nuss_tx_wake(tx_chn, ndev, netif_txq); in am65_cpsw_nuss_tx_compl_packets()
1037 struct netdev_queue *netif_txq; in am65_cpsw_nuss_tx_compl_packets_2g() local
1068 netif_txq = netdev_get_tx_queue(ndev, chn); in am65_cpsw_nuss_tx_compl_packets_2g()
1070 netdev_tx_completed_queue(netif_txq, num_tx, total_bytes); in am65_cpsw_nuss_tx_compl_packets_2g()
1072 am65_cpsw_nuss_tx_wake(tx_chn, ndev, netif_txq); in am65_cpsw_nuss_tx_compl_packets_2g()
1127 struct netdev_queue *netif_txq; in am65_cpsw_nuss_ndo_slave_xmit() local
1145 netif_txq = netdev_get_tx_queue(ndev, q_idx); in am65_cpsw_nuss_ndo_slave_xmit()
1234 netdev_tx_sent_queue(netif_txq, pkt_len); in am65_cpsw_nuss_ndo_slave_xmit()
1248 netdev_tx_completed_queue(netif_txq, 1, pkt_len); in am65_cpsw_nuss_ndo_slave_xmit()
1254 netif_tx_stop_queue(netif_txq); in am65_cpsw_nuss_ndo_slave_xmit()
1262 netif_tx_wake_queue(netif_txq); in am65_cpsw_nuss_ndo_slave_xmit()
1279 netif_tx_stop_queue(netif_txq); in am65_cpsw_nuss_ndo_slave_xmit()