Lines Matching refs:nq
348 struct netdev_queue *nq; in tsnep_tx_enable() local
350 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_enable()
352 __netif_tx_lock_bh(nq); in tsnep_tx_enable()
353 netif_tx_wake_queue(nq); in tsnep_tx_enable()
354 __netif_tx_unlock_bh(nq); in tsnep_tx_enable()
359 struct netdev_queue *nq; in tsnep_tx_disable() local
362 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_disable()
364 __netif_tx_lock_bh(nq); in tsnep_tx_disable()
365 netif_tx_stop_queue(nq); in tsnep_tx_disable()
366 __netif_tx_unlock_bh(nq); in tsnep_tx_disable()
814 struct netdev_queue *nq; in tsnep_tx_poll() local
820 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_poll()
821 __netif_tx_lock(nq, smp_processor_id()); in tsnep_tx_poll()
895 netif_tx_queue_stopped(nq)) { in tsnep_tx_poll()
896 netif_tx_wake_queue(nq); in tsnep_tx_poll()
899 __netif_tx_unlock(nq); in tsnep_tx_poll()
907 struct netdev_queue *nq; in tsnep_tx_pending() local
910 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_pending()
911 __netif_tx_lock(nq, smp_processor_id()); in tsnep_tx_pending()
921 __netif_tx_unlock(nq); in tsnep_tx_pending()
2307 struct netdev_queue *nq; in tsnep_netdev_xdp_xmit() local
2316 nq = netdev_get_tx_queue(adapter->netdev, tx->queue_index); in tsnep_netdev_xdp_xmit()
2318 __netif_tx_lock(nq, cpu); in tsnep_netdev_xdp_xmit()
2329 txq_trans_cond_update(nq); in tsnep_netdev_xdp_xmit()
2335 __netif_tx_unlock(nq); in tsnep_netdev_xdp_xmit()