| /linux/net/vmw_vsock/ |
| H A D | virtio_transport.c | 39 /* The following fields are protected by tx_lock. vqs[VSOCK_VQ_TX] 40 * must be accessed with tx_lock held. 42 struct mutex tx_lock; member 67 * by 'tx_lock'. +1 is needed for packet header. 100 /* Caller need to hold vsock->tx_lock on vq */ 166 mutex_lock(&vsock->tx_lock); in virtio_transport_send_pkt_work() 208 mutex_unlock(&vsock->tx_lock); in virtio_transport_send_pkt_work() 223 ret = mutex_trylock(&vsock->tx_lock); in virtio_transport_send_skb_fast_path() 231 mutex_unlock(&vsock->tx_lock); in virtio_transport_send_skb_fast_path() 350 mutex_lock(&vsock->tx_lock); in virtio_transport_tx_work() [all...] |
| H A D | virtio_transport_common.c | 467 spin_lock_bh(&vvs->tx_lock); in virtio_transport_consume_skb_sent() 469 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_consume_skb_sent() 484 spin_lock_bh(&vvs->tx_lock); in virtio_transport_get_credit() 488 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_get_credit() 499 spin_lock_bh(&vvs->tx_lock); in virtio_transport_put_credit() 502 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_put_credit() 822 spin_lock_bh(&vvs->tx_lock); in virtio_transport_seqpacket_enqueue() 825 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_seqpacket_enqueue() 829 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_seqpacket_enqueue() 891 spin_lock_bh(&vvs->tx_lock); in virtio_transport_stream_has_space() [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | htc_drv_txrx.c | 58 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_check_stop_queues() 65 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_check_stop_queues() 70 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_check_wake_queues() 76 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_check_wake_queues() 83 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_tx_get_slot() 86 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_tx_get_slot() 90 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_tx_get_slot() 97 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_tx_clear_slot() 99 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_tx_clear_slot() 397 spin_lock_bh(&priv->tx.tx_lock); in __ath9k_htc_check_tx_aggr() [all …]
|
| H A D | wmi.c | 178 spin_lock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet() 180 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet() 183 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
|
| /linux/drivers/soc/apple/ |
| H A D | mailbox.c | 110 spin_lock_irqsave(&mbox->tx_lock, flags); in apple_mbox_send() 121 spin_unlock_irqrestore(&mbox->tx_lock, flags); in apple_mbox_send() 142 spin_unlock_irqrestore(&mbox->tx_lock, flags); in apple_mbox_send() 152 spin_lock_irqsave(&mbox->tx_lock, flags); in apple_mbox_send() 160 spin_unlock_irqrestore(&mbox->tx_lock, flags); in apple_mbox_send() 177 spin_lock(&mbox->tx_lock); in apple_mbox_send_empty_irq() 180 spin_unlock(&mbox->tx_lock); in apple_mbox_send_empty_irq() 364 spin_lock_init(&mbox->tx_lock); in apple_mbox_probe()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | htc.c | 69 spin_lock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb() 71 spin_unlock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb() 96 spin_lock_bh(&htc->tx_lock); in ath11k_htc_send() 101 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send() 109 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send() 135 spin_lock_bh(&htc->tx_lock); in ath11k_htc_send() 140 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send() 165 spin_lock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report() 177 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report() 179 spin_lock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report() [all …]
|
| /linux/drivers/net/wwan/ |
| H A D | mhi_wwan_ctrl.c | 28 spinlock_t tx_lock; member 154 spin_lock_bh(&mhiwwan->tx_lock); in mhi_wwan_ctrl_tx() 158 spin_unlock_bh(&mhiwwan->tx_lock); in mhi_wwan_ctrl_tx() 183 spin_lock_bh(&mhiwwan->tx_lock); in mhi_ul_xfer_cb() 186 spin_unlock_bh(&mhiwwan->tx_lock); in mhi_ul_xfer_cb() 228 spin_lock_init(&mhiwwan->tx_lock); in mhi_wwan_ctrl_probe()
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | htc_pipe.c | 246 spin_lock_bh(&target->tx_lock); in htc_issue_packets() 251 spin_unlock_bh(&target->tx_lock); in htc_issue_packets() 267 spin_lock_bh(&target->tx_lock); in htc_issue_packets() 272 spin_unlock_bh(&target->tx_lock); in htc_issue_packets() 328 spin_lock_bh(&target->tx_lock); in htc_try_send() 330 spin_unlock_bh(&target->tx_lock); in htc_try_send() 417 spin_lock_bh(&target->tx_lock); in htc_try_send() 423 spin_unlock_bh(&target->tx_lock); in htc_try_send() 439 spin_unlock_bh(&target->tx_lock); in htc_try_send() 478 spin_unlock_bh(&target->tx_lock); in htc_try_send() [all …]
|
| H A D | htc_mbox.c | 422 spin_lock_bh(&target->tx_lock); in htc_tx_comp_update() 434 spin_unlock_bh(&target->tx_lock); in htc_tx_comp_update() 867 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue() 872 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue() 896 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue() 934 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue() 961 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue() 974 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_try() 976 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_try() 995 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_try() [all …]
|
| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | queue.c | 19 atomic_inc(&wdev->tx_lock); in wfx_tx_lock() 24 int tx_lock = atomic_dec_return(&wdev->tx_lock); in wfx_tx_unlock() local 26 WARN(tx_lock < 0, "inconsistent tx_lock value"); in wfx_tx_unlock() 27 if (!tx_lock) in wfx_tx_unlock() 312 if (atomic_read(&wdev->tx_lock)) in wfx_tx_queues_get()
|
| /linux/drivers/net/wireless/intersil/p54/ |
| H A D | p54spi.c | 431 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_wq_tx() 439 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_wq_tx() 456 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_wq_tx() 458 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_wq_tx() 472 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_op_tx() 474 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_op_tx() 575 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_op_stop() 577 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_op_stop() 640 spin_lock_init(&priv->tx_lock); in p54spi_probe()
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | htt_tx.c | 53 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_recalc() 95 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_sync() 122 spin_lock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_recalc() 124 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_recalc() 129 spin_lock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_sync() 131 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_sync() 139 spin_lock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_update() 142 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_update() 147 lockdep_assert_held(&htt->tx_lock); in ath10k_htt_tx_dec_pending() 159 lockdep_assert_held(&htt->tx_lock); in ath10k_htt_tx_inc_pending() [all …]
|
| H A D | htc.c | 104 spin_lock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb() 106 spin_unlock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb() 122 spin_lock_bh(&htc->tx_lock); in ath10k_htc_consume_credit() 140 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_consume_credit() 155 spin_lock_bh(&htc->tx_lock); in ath10k_htc_release_credit() 160 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_release_credit() 264 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report() 276 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report() 278 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report() 281 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report() [all …]
|
| H A D | txrx.c | 66 spin_lock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref() 71 spin_unlock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref() 86 spin_unlock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
|
| /linux/sound/soc/mediatek/common/ |
| H A D | mtk-btcvsd.c | 130 spinlock_t tx_lock; /* spinlock for bt tx stream control */ member 333 spin_lock_irqsave(&bt->tx_lock, flags); in btcvsd_tx_clean_buffer() 352 spin_unlock_irqrestore(&bt->tx_lock, flags); in btcvsd_tx_clean_buffer() 433 spin_lock_irqsave(&bt->tx_lock, flags); in mtk_btcvsd_write_to_bt() 443 spin_unlock_irqrestore(&bt->tx_lock, flags); in mtk_btcvsd_write_to_bt() 465 spin_lock_irqsave(&bt->tx_lock, flags); in mtk_btcvsd_write_to_bt() 469 spin_unlock_irqrestore(&bt->tx_lock, flags); in mtk_btcvsd_write_to_bt() 797 spin_lock_irqsave(&bt->tx_lock, flags); in mtk_btcvsd_snd_write() 804 spin_unlock_irqrestore(&bt->tx_lock, flags); in mtk_btcvsd_snd_write() 841 spin_lock_irqsave(&bt->tx_lock, flag in mtk_btcvsd_snd_write() [all...] |
| /linux/drivers/net/wireless/rsi/ |
| H A D | rsi_91x_core.c | 282 mutex_lock(&common->tx_lock); in rsi_core_qos_processor() 286 mutex_unlock(&common->tx_lock); in rsi_core_qos_processor() 301 mutex_unlock(&common->tx_lock); in rsi_core_qos_processor() 324 mutex_unlock(&common->tx_lock); in rsi_core_qos_processor() 331 mutex_unlock(&common->tx_lock); in rsi_core_qos_processor()
|
| /linux/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | dma.c | 260 spin_lock_irqsave(&dev->tx_lock, flags); in mt7601u_complete_tx() 277 spin_unlock_irqrestore(&dev->tx_lock, flags); in mt7601u_complete_tx() 288 spin_lock_irqsave(&dev->tx_lock, flags); in mt7601u_tx_tasklet() 297 spin_unlock_irqrestore(&dev->tx_lock, flags); in mt7601u_tx_tasklet() 316 spin_lock_irqsave(&dev->tx_lock, flags); in mt7601u_dma_submit_tx() 346 spin_unlock_irqrestore(&dev->tx_lock, flags); in mt7601u_dma_submit_tx()
|
| /linux/drivers/block/ |
| H A D | nbd.c | 59 struct mutex tx_lock; member 410 mutex_lock(&nsock->tx_lock); in sock_shutdown() 412 mutex_unlock(&nsock->tx_lock); in sock_shutdown() 495 mutex_lock(&nsock->tx_lock); in nbd_xmit_timeout() 504 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout() 525 mutex_lock(&nsock->tx_lock); in nbd_xmit_timeout() 528 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout() 533 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout() 662 lockdep_assert_held(&nsock->tx_lock); in nbd_send_cmd() 823 mutex_lock(&nsock->tx_lock); in nbd_pending_cmd_work() [all …]
|
| /linux/drivers/net/mctp/ |
| H A D | mctp-i3c.c | 55 spinlock_t tx_lock; member 434 spin_lock_bh(&mbus->tx_lock); in mctp_i3c_tx_thread() 437 spin_unlock_bh(&mbus->tx_lock); in mctp_i3c_tx_thread() 460 spin_lock(&mbus->tx_lock); in mctp_i3c_start_xmit() 469 spin_unlock(&mbus->tx_lock); in mctp_i3c_start_xmit() 611 spin_lock_init(&mbus->tx_lock); in mctp_i3c_bus_add()
|
| /linux/drivers/net/ |
| H A D | rionet.c | 60 spinlock_t tx_lock; member 179 spin_lock_irqsave(&rnet->tx_lock, flags); in rionet_start_xmit() 186 spin_unlock_irqrestore(&rnet->tx_lock, flags); in rionet_start_xmit() 222 spin_unlock_irqrestore(&rnet->tx_lock, flags); in rionet_start_xmit() 287 spin_lock(&rnet->tx_lock); in rionet_outb_msg_event() 306 spin_unlock(&rnet->tx_lock); in rionet_outb_msg_event() 523 spin_lock_init(&rnet->tx_lock); in rionet_setup_netdev()
|
| /linux/drivers/net/vmxnet3/ |
| H A D | vmxnet3_xdp.c | 127 spin_lock_irq(&tq->tx_lock); in vmxnet3_xdp_xmit_frame() 138 spin_unlock_irq(&tq->tx_lock); in vmxnet3_xdp_xmit_frame() 148 spin_unlock_irq(&tq->tx_lock); in vmxnet3_xdp_xmit_frame() 189 spin_unlock_irq(&tq->tx_lock); in vmxnet3_xdp_xmit_frame()
|
| /linux/drivers/net/can/ctucanfd/ |
| H A D | ctucanfd_base.c | 626 spin_lock_irqsave(&priv->tx_lock, flags); in ctucan_start_xmit() 634 spin_unlock_irqrestore(&priv->tx_lock, flags); in ctucan_start_xmit() 1012 spin_lock_irqsave(&priv->tx_lock, flags); in ctucan_tx_interrupt() 1054 spin_unlock_irqrestore(&priv->tx_lock, flags); in ctucan_tx_interrupt() 1068 spin_unlock_irqrestore(&priv->tx_lock, flags); in ctucan_tx_interrupt() 1082 spin_lock_irqsave(&priv->tx_lock, flags); in ctucan_tx_interrupt() 1088 spin_unlock_irqrestore(&priv->tx_lock, flags); in ctucan_tx_interrupt() 1356 spin_lock_init(&priv->tx_lock); in ctucan_probe_common()
|
| /linux/drivers/soc/fsl/qe/ |
| H A D | qmc.c | 218 spinlock_t tx_lock; /* Protect Tx related data */ member 459 spin_lock_irqsave(&chan->tx_lock, flags); in qmc_chan_write_submit() 503 spin_unlock_irqrestore(&chan->tx_lock, flags); in qmc_chan_write_submit() 525 spin_lock_irqsave(&chan->tx_lock, flags); in qmc_chan_write_done() 547 spin_unlock_irqrestore(&chan->tx_lock, flags); in qmc_chan_write_done() 549 spin_lock_irqsave(&chan->tx_lock, flags); in qmc_chan_write_done() 557 spin_unlock_irqrestore(&chan->tx_lock, flags); in qmc_chan_write_done() 917 spin_lock_irqsave(&chan->tx_lock, flags); in qmc_chan_stop_tx() 947 spin_unlock_irqrestore(&chan->tx_lock, flags); in qmc_chan_stop_tx() 1078 spin_lock_irqsave(&chan->tx_lock, flags); in qmc_chan_start_tx() [all …]
|
| /linux/drivers/infiniband/hw/mlx4/ |
| H A D | mad.c | 593 spin_lock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave() 599 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave() 673 spin_lock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave() 675 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave() 1406 spin_lock(&sqp->tx_lock); in mlx4_ib_send_to_wire() 1412 spin_unlock(&sqp->tx_lock); in mlx4_ib_send_to_wire() 1451 spin_lock(&sqp->tx_lock); in mlx4_ib_send_to_wire() 1453 spin_unlock(&sqp->tx_lock); in mlx4_ib_send_to_wire() 1665 spin_lock_init(&tun_qp->tx_lock); in mlx4_ib_alloc_pv_bufs() 1759 spin_lock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker() [all …]
|
| /linux/drivers/net/wireless/st/cw1200/ |
| H A D | debug.c | 260 atomic_read(&priv->tx_lock) ? "locked" : "unlocked"); in cw1200_status_show() 261 if (atomic_read(&priv->tx_lock)) in cw1200_status_show() 263 atomic_read(&priv->tx_lock)); in cw1200_status_show()
|