Home
last modified time | relevance | path

Searched refs:tx_lock (Results 1 – 25 of 93) sorted by relevance

1234

/linux/drivers/net/wireless/ath/ath9k/
H A Dhif_usb.c161 spin_lock_irqsave(&hif_dev->tx.tx_lock, flags); in hif_usb_mgmt_cb()
163 spin_unlock_irqrestore(&hif_dev->tx.tx_lock, flags); in hif_usb_mgmt_cb()
168 spin_unlock_irqrestore(&hif_dev->tx.tx_lock, flags); in hif_usb_mgmt_cb()
278 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
280 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
284 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
299 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
305 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
381 spin_lock_irqsave(&hif_dev->tx.tx_lock, flags); in hif_usb_send_tx()
384 spin_unlock_irqrestore(&hif_dev->tx.tx_lock, flags); in hif_usb_send_tx()
[all …]
H A Dhtc_drv_txrx.c58 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 Dwmi.c181 spin_lock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
183 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
186 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
/linux/net/vmw_vsock/
H A Dvirtio_transport.c39 /* 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()
349 mutex_lock(&vsock->tx_lock); in virtio_transport_tx_work()
[all...]
H A Dvirtio_transport_common.c629 spin_lock_bh(&vvs->tx_lock); in virtio_transport_consume_skb_sent()
631 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_consume_skb_sent()
646 spin_lock_bh(&vvs->tx_lock); in virtio_transport_get_credit()
650 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_get_credit()
661 spin_lock_bh(&vvs->tx_lock); in virtio_transport_put_credit()
664 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_put_credit()
984 spin_lock_bh(&vvs->tx_lock); in virtio_transport_seqpacket_enqueue()
987 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_seqpacket_enqueue()
991 spin_unlock_bh(&vvs->tx_lock); in virtio_transport_seqpacket_enqueue()
1053 spin_lock_bh(&vvs->tx_lock); in virtio_transport_stream_has_space()
[all …]
/linux/drivers/soc/apple/
H A Dmailbox.c110 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/wwan/
H A Dmhi_wwan_ctrl.c58 spinlock_t tx_lock; in mhi_wwan_rx_budget_dec()
275 spin_lock_bh(&mhiwwan->tx_lock);
279 spin_unlock_bh(&mhiwwan->tx_lock);
305 spin_lock_bh(&mhiwwan->tx_lock);
308 spin_unlock_bh(&mhiwwan->tx_lock);
351 spin_lock_init(&mhiwwan->tx_lock);
27 spinlock_t tx_lock; global() member
H A Dqcom_bam_dmux.c80 spinlock_t tx_lock; /* Protect tx_skbs, tx_next_skb */ member
169 spin_lock_irqsave(&dmux->tx_lock, flags); in bam_dmux_tx_done()
173 spin_unlock_irqrestore(&dmux->tx_lock, flags); in bam_dmux_tx_done()
210 spin_lock_irqsave(&dmux->tx_lock, flags); in bam_dmux_tx_queue()
215 spin_unlock_irqrestore(&dmux->tx_lock, flags); in bam_dmux_tx_queue()
224 spin_unlock_irqrestore(&dmux->tx_lock, flags); in bam_dmux_tx_queue()
803 spin_lock_init(&dmux->tx_lock); in bam_dmux_probe()
/linux/drivers/net/wireless/ath/ath6kl/
H A Dhtc_pipe.c246 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 Dhtc_mbox.c422 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 Dqueue.c19 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 Dp54spi.c418 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_wq_tx()
426 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_wq_tx()
443 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_wq_tx()
445 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_wq_tx()
459 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_op_tx()
461 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_op_tx()
562 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_op_stop()
564 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_op_stop()
616 spin_lock_init(&priv->tx_lock); in p54spi_probe()
/linux/sound/soc/mediatek/common/
H A Dmtk-btcvsd.c130 spinlock_t tx_lock; /* spinlock for bt tx stream control */ member
332 guard(spinlock_irqsave)(&bt->tx_lock); in btcvsd_tx_clean_buffer()
429 scoped_guard(spinlock_irqsave, &bt->tx_lock) { in mtk_btcvsd_write_to_bt()
461 scoped_guard(spinlock_irqsave, &bt->tx_lock) { in mtk_btcvsd_write_to_bt()
790 scoped_guard(spinlock_irqsave, &bt->tx_lock) { in mtk_btcvsd_snd_write()
834 scoped_guard(spinlock_irqsave, &bt->tx_lock) in mtk_btcvsd_snd_write()
982 lock = &bt->tx_lock; in mtk_pcm_btcvsd_pointer()
1286 spin_lock_init(&btcvsd->tx_lock); in mtk_btcvsd_snd_probe()
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_core.c282 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 Dpeak_pciefd_main.c182 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 Ddma.c260 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 Dnbd.c59 struct mutex tx_lock; member
419 mutex_lock(&nsock->tx_lock); in sock_shutdown()
421 mutex_unlock(&nsock->tx_lock); in sock_shutdown()
504 mutex_lock(&nsock->tx_lock); in nbd_xmit_timeout()
513 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout()
534 mutex_lock(&nsock->tx_lock); in nbd_xmit_timeout()
537 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout()
542 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout()
671 lockdep_assert_held(&nsock->tx_lock); in nbd_send_cmd()
832 mutex_lock(&nsock->tx_lock); in nbd_pending_cmd_work()
[all...]
/linux/drivers/net/mctp/
H A Dmctp-i3c.c54 /* tx_lock protects tx_skb and devs */
55 spinlock_t tx_lock; member
436 spin_lock_bh(&mbus->tx_lock); in mctp_i3c_tx_thread()
439 spin_unlock_bh(&mbus->tx_lock); in mctp_i3c_tx_thread()
462 spin_lock(&mbus->tx_lock); in mctp_i3c_start_xmit()
471 spin_unlock(&mbus->tx_lock); in mctp_i3c_start_xmit()
613 spin_lock_init(&mbus->tx_lock); in mctp_i3c_bus_add()
/linux/drivers/net/
H A Drionet.c60 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/wireless/ath/ath10k/
H A Dtxrx.c66 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/vmxnet3/
H A Dvmxnet3_xdp.c127 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 Dctucanfd_base.c626 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()
1360 spin_lock_init(&priv->tx_lock); in ctucan_probe_common()
/linux/drivers/soc/fsl/qe/
H A Dqmc.c218 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, flag in qmc_chan_start_tx()
[all...]
/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c593 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 Ddebug.c260 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()

1234