/linux/drivers/net/wireless/ath/ath9k/ |
H A D | hif_usb.c | 160 spin_lock_irqsave(&hif_dev->tx.tx_lock, flags); in hif_usb_mgmt_cb() 162 spin_unlock_irqrestore(&hif_dev->tx.tx_lock, flags); in hif_usb_mgmt_cb() 167 spin_unlock_irqrestore(&hif_dev->tx.tx_lock, flags); in hif_usb_mgmt_cb() 277 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb() 279 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb() 283 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb() 298 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb() 304 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb() 382 spin_lock_irqsave(&hif_dev->tx.tx_lock, flags); in hif_usb_send_tx() 385 spin_unlock_irqrestore(&hif_dev->tx.tx_lock, flags); in hif_usb_send_tx() [all …]
|
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 …]
|
/linux/drivers/soc/apple/ |
H A D | mailbox.c | 107 spin_lock_irqsave(&mbox->tx_lock, flags); in apple_mbox_send() 118 spin_unlock_irqrestore(&mbox->tx_lock, flags); in apple_mbox_send() 139 spin_unlock_irqrestore(&mbox->tx_lock, flags); in apple_mbox_send() 149 spin_lock_irqsave(&mbox->tx_lock, flags); in apple_mbox_send() 157 spin_unlock_irqrestore(&mbox->tx_lock, flags); in apple_mbox_send() 174 spin_lock(&mbox->tx_lock); in apple_mbox_send_empty_irq() 177 spin_unlock(&mbox->tx_lock); in apple_mbox_send_empty_irq() 354 spin_lock_init(&mbox->tx_lock); in apple_mbox_probe()
|
/linux/net/vmw_vsock/ |
H A D | virtio_transport.c | 41 struct mutex tx_lock; member 163 mutex_lock(&vsock->tx_lock); in virtio_transport_send_pkt_work() 205 mutex_unlock(&vsock->tx_lock); in virtio_transport_send_pkt_work() 220 ret = mutex_trylock(&vsock->tx_lock); in virtio_transport_send_skb_fast_path() 228 mutex_unlock(&vsock->tx_lock); in virtio_transport_send_skb_fast_path() 347 mutex_lock(&vsock->tx_lock); in virtio_transport_tx_work() 364 mutex_unlock(&vsock->tx_lock); in virtio_transport_tx_work() 686 mutex_lock(&vsock->tx_lock); in virtio_vsock_vqs_start() 688 mutex_unlock(&vsock->tx_lock); in virtio_vsock_vqs_start() 728 mutex_lock(&vsock->tx_lock); in virtio_vsock_vqs_del() [all …]
|
H A D | virtio_transport_common.c | 477 spin_lock_bh(&vvs->tx_lock); in virtio_transport_consume_skb_sent() 479 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_consume_skb_sent() 494 spin_lock_bh(&vvs->tx_lock); in virtio_transport_get_credit() 500 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_get_credit() 511 spin_lock_bh(&vvs->tx_lock); in virtio_transport_put_credit() 514 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_put_credit() 823 spin_lock_bh(&vvs->tx_lock); in virtio_transport_seqpacket_enqueue() 826 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_seqpacket_enqueue() 830 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_seqpacket_enqueue() 888 spin_lock_bh(&vvs->tx_lock); in virtio_transport_stream_has_space() [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/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/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/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif_tx.c | 73 spin_lock_irqsave(&txq->tx_lock, flags); in t7xx_dpmaif_update_drb_rd_idx() 75 spin_unlock_irqrestore(&txq->tx_lock, flags); in t7xx_dpmaif_update_drb_rd_idx() 93 spin_lock_irqsave(&txq->tx_lock, flags); in t7xx_dpmaif_release_tx_buffer() 96 spin_unlock_irqrestore(&txq->tx_lock, flags); in t7xx_dpmaif_release_tx_buffer() 119 spin_lock_irqsave(&txq->tx_lock, flags); in t7xx_dpmaif_release_tx_buffer() 122 spin_unlock_irqrestore(&txq->tx_lock, flags); in t7xx_dpmaif_release_tx_buffer() 269 spin_lock_irqsave(&txq->tx_lock, flags); in t7xx_dpmaif_add_skb_to_ring() 277 spin_unlock_irqrestore(&txq->tx_lock, flags); in t7xx_dpmaif_add_skb_to_ring() 303 spin_lock_irqsave(&txq->tx_lock, flags); in t7xx_dpmaif_add_skb_to_ring() 308 spin_unlock_irqrestore(&txq->tx_lock, flags); in t7xx_dpmaif_add_skb_to_ring() [all …]
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | htc.c | 69 spin_lock_bh(&ep->htc->tx_lock); in ath12k_htc_prepare_tx_skb() 71 spin_unlock_bh(&ep->htc->tx_lock); in ath12k_htc_prepare_tx_skb() 94 spin_lock_bh(&htc->tx_lock); in ath12k_htc_send() 99 spin_unlock_bh(&htc->tx_lock); in ath12k_htc_send() 107 spin_unlock_bh(&htc->tx_lock); in ath12k_htc_send() 129 spin_lock_bh(&htc->tx_lock); in ath12k_htc_send() 134 spin_unlock_bh(&htc->tx_lock); in ath12k_htc_send() 159 spin_lock_bh(&htc->tx_lock); in ath12k_htc_process_credit_report() 171 spin_unlock_bh(&htc->tx_lock); in ath12k_htc_process_credit_report() 173 spin_lock_bh(&htc->tx_lock); in ath12k_htc_process_credit_report() [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/caif/ |
H A D | caif_virtio.c | 109 spinlock_t tx_lock; member 172 spin_lock_irqsave(&cfv->tx_lock, flags); in cfv_release_used_buf() 174 spin_unlock_irqrestore(&cfv->tx_lock, flags); in cfv_release_used_buf() 468 spin_lock_irqsave(&cfv->tx_lock, flags); in cfv_netdev_close() 471 spin_unlock_irqrestore(&cfv->tx_lock, flags); in cfv_netdev_close() 533 spin_lock_irqsave(&cfv->tx_lock, flags); in cfv_netdev_tx() 586 spin_unlock_irqrestore(&cfv->tx_lock, flags); in cfv_netdev_tx() 594 spin_unlock_irqrestore(&cfv->tx_lock, flags); in cfv_netdev_tx() 664 spin_lock_init(&cfv->tx_lock); in cfv_probe()
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | htt_tx.c | 51 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_recalc() 93 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_sync() 120 spin_lock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_recalc() 122 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_recalc() 127 spin_lock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_sync() 129 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_sync() 137 spin_lock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_update() 140 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_update() 145 lockdep_assert_held(&htt->tx_lock); in ath10k_htt_tx_dec_pending() 157 lockdep_assert_held(&htt->tx_lock); in ath10k_htt_tx_inc_pending() [all …]
|
H A D | htc.c | 101 spin_lock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb() 103 spin_unlock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb() 119 spin_lock_bh(&htc->tx_lock); in ath10k_htc_consume_credit() 137 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_consume_credit() 152 spin_lock_bh(&htc->tx_lock); in ath10k_htc_release_credit() 157 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_release_credit() 261 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report() 273 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report() 275 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report() 278 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/drivers/net/usb/ |
H A D | cdc-phonet.c | 35 spinlock_t tx_lock; member 70 spin_lock_irqsave(&pnd->tx_lock, flags); in usbpn_xmit() 74 spin_unlock_irqrestore(&pnd->tx_lock, flags); in usbpn_xmit() 107 spin_lock_irqsave(&pnd->tx_lock, flags); in tx_complete() 110 spin_unlock_irqrestore(&pnd->tx_lock, flags); in tx_complete() 366 spin_lock_init(&pnd->tx_lock); in usbpn_probe()
|
/linux/drivers/rpmsg/ |
H A D | virtio_rpmsg_bus.c | 64 struct mutex tx_lock; member 446 mutex_lock(&vrp->tx_lock); in get_a_tx_buf() 458 mutex_unlock(&vrp->tx_lock); in get_a_tx_buf() 482 mutex_lock(&vrp->tx_lock); in rpmsg_upref_sleepers() 489 mutex_unlock(&vrp->tx_lock); in rpmsg_upref_sleepers() 509 mutex_lock(&vrp->tx_lock); in rpmsg_downref_sleepers() 516 mutex_unlock(&vrp->tx_lock); in rpmsg_downref_sleepers() 630 mutex_lock(&vrp->tx_lock); in rpmsg_send_offchannel_raw() 647 mutex_unlock(&vrp->tx_lock); in rpmsg_send_offchannel_raw() 892 mutex_init(&vrp->tx_lock); in rpmsg_probe()
|
/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, flags); 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/can/peak_canfd/ |
H A D | peak_pciefd_main.c | 182 spinlock_t tx_lock; member 337 spin_lock_irqsave(&priv->tx_lock, flags); in pciefd_irq_handler() 339 spin_unlock_irqrestore(&priv->tx_lock, flags); in pciefd_irq_handler() 508 spin_lock_irqsave(&priv->tx_lock, flags); in pciefd_alloc_tx_msg() 515 spin_unlock_irqrestore(&priv->tx_lock, flags); in pciefd_alloc_tx_msg() 547 spin_unlock_irqrestore(&priv->tx_lock, flags); in pciefd_alloc_tx_msg() 676 spin_lock_init(&priv->tx_lock); in pciefd_can_probe()
|
/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 419 mutex_lock(&nsock->tx_lock); in sock_shutdown() 421 mutex_unlock(&nsock->tx_lock); in sock_shutdown() 498 mutex_lock(&nsock->tx_lock); in nbd_xmit_timeout() 507 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout() 528 mutex_lock(&nsock->tx_lock); in nbd_xmit_timeout() 531 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout() 536 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout() 638 lockdep_assert_held(&nsock->tx_lock); in nbd_send_cmd() 956 mutex_lock(&nsock->tx_lock); in recv_work() [all …]
|
/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/ethernet/freescale/fs_enet/ |
H A D | fs_enet-main.c | 101 spin_lock(&fep->tx_lock); in fs_enet_napi() 181 spin_unlock(&fep->tx_lock); in fs_enet_napi() 487 spin_lock(&fep->tx_lock); in fs_enet_start_xmit() 495 spin_unlock(&fep->tx_lock); in fs_enet_start_xmit() 578 spin_unlock(&fep->tx_lock); in fs_enet_start_xmit() 702 spin_lock(&fep->tx_lock); in fs_enet_close() 704 spin_unlock(&fep->tx_lock); in fs_enet_close() 952 spin_lock_init(&fep->tx_lock); in fs_enet_probe()
|