Home
last modified time | relevance | path

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

12345

/drivers/net/wireless/ath/ath9k/
Dhif_usb.c162 spin_lock_irqsave(&hif_dev->tx.tx_lock, flags); in hif_usb_mgmt_cb()
164 spin_unlock_irqrestore(&hif_dev->tx.tx_lock, flags); in hif_usb_mgmt_cb()
169 spin_unlock_irqrestore(&hif_dev->tx.tx_lock, flags); in hif_usb_mgmt_cb()
279 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
281 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
285 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
300 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
306 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
384 spin_lock_irqsave(&hif_dev->tx.tx_lock, flags); in hif_usb_send_tx()
387 spin_unlock_irqrestore(&hif_dev->tx.tx_lock, flags); in hif_usb_send_tx()
[all …]
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 …]
/drivers/net/wireless/ath/ath11k/
Dhtc.c69 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()
132 spin_lock_bh(&htc->tx_lock); in ath11k_htc_send()
137 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send()
162 spin_lock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report()
174 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report()
176 spin_lock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report()
[all …]
/drivers/net/wwan/
Dmhi_wwan_ctrl.c28 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()
Dqcom_bam_dmux.c81 spinlock_t tx_lock; /* Protect tx_skbs, tx_next_skb */ member
171 spin_lock_irqsave(&dmux->tx_lock, flags); in bam_dmux_tx_done()
175 spin_unlock_irqrestore(&dmux->tx_lock, flags); in bam_dmux_tx_done()
212 spin_lock_irqsave(&dmux->tx_lock, flags); in bam_dmux_tx_queue()
217 spin_unlock_irqrestore(&dmux->tx_lock, flags); in bam_dmux_tx_queue()
226 spin_unlock_irqrestore(&dmux->tx_lock, flags); in bam_dmux_tx_queue()
806 spin_lock_init(&dmux->tx_lock); in bam_dmux_probe()
/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c247 spin_lock_bh(&target->tx_lock); in htc_issue_packets()
252 spin_unlock_bh(&target->tx_lock); in htc_issue_packets()
268 spin_lock_bh(&target->tx_lock); in htc_issue_packets()
273 spin_unlock_bh(&target->tx_lock); in htc_issue_packets()
329 spin_lock_bh(&target->tx_lock); in htc_try_send()
331 spin_unlock_bh(&target->tx_lock); in htc_try_send()
418 spin_lock_bh(&target->tx_lock); in htc_try_send()
424 spin_unlock_bh(&target->tx_lock); in htc_try_send()
440 spin_unlock_bh(&target->tx_lock); in htc_try_send()
479 spin_unlock_bh(&target->tx_lock); in htc_try_send()
[all …]
Dhtc_mbox.c423 spin_lock_bh(&target->tx_lock); in htc_tx_comp_update()
435 spin_unlock_bh(&target->tx_lock); in htc_tx_comp_update()
868 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue()
873 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue()
897 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue()
935 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue()
962 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue()
975 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_try()
977 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_try()
996 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_try()
[all …]
/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_tx.c73 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 …]
/drivers/net/wireless/silabs/wfx/
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()
288 if (atomic_read(&wdev->tx_lock)) in wfx_tx_queues_get()
/drivers/net/wireless/intersil/p54/
Dp54spi.c430 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_wq_tx()
438 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_wq_tx()
455 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_wq_tx()
457 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_wq_tx()
471 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_op_tx()
473 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_op_tx()
574 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_op_stop()
576 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_op_stop()
641 spin_lock_init(&priv->tx_lock); in p54spi_probe()
/drivers/net/caif/
Dcaif_virtio.c109 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()
666 spin_lock_init(&cfv->tx_lock); in cfv_probe()
/drivers/staging/nvec/
Dnvec.c270 spin_lock_irqsave(&nvec->tx_lock, flags); in nvec_write_async()
272 spin_unlock_irqrestore(&nvec->tx_lock, flags); in nvec_write_async()
381 spin_lock_irqsave(&nvec->tx_lock, flags); in nvec_request_master()
384 spin_unlock_irqrestore(&nvec->tx_lock, flags); in nvec_request_master()
395 spin_lock_irqsave(&nvec->tx_lock, flags); in nvec_request_master()
402 spin_unlock_irqrestore(&nvec->tx_lock, flags); in nvec_request_master()
549 spin_lock(&nvec->tx_lock); in nvec_tx_set()
562 spin_unlock(&nvec->tx_lock); in nvec_tx_set()
822 spin_lock_init(&nvec->tx_lock); in tegra_nvec_probe()
/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c51 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 …]
Dhtc.c100 spin_lock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
102 spin_unlock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
118 spin_lock_bh(&htc->tx_lock); in ath10k_htc_consume_credit()
136 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_consume_credit()
151 spin_lock_bh(&htc->tx_lock); in ath10k_htc_release_credit()
156 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_release_credit()
260 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
272 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
274 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
277 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
[all …]
/drivers/net/usb/
Dcdc-phonet.c35 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()
/drivers/rpmsg/
Dvirtio_rpmsg_bus.c64 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()
890 mutex_init(&vrp->tx_lock); in rpmsg_probe()
/drivers/net/can/peak_canfd/
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()
/drivers/net/wireless/rsi/
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()
/drivers/net/wireless/mediatek/mt7601u/
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()
/drivers/net/ethernet/seeq/
Dsgiseeq.c110 spinlock_t tx_lock; member
172 spin_lock_irq(&sp->tx_lock); in sgiseeq_set_mac_address()
174 spin_unlock_irq(&sp->tx_lock); in sgiseeq_set_mac_address()
512 spin_lock(&sp->tx_lock); in sgiseeq_interrupt()
527 spin_unlock(&sp->tx_lock); in sgiseeq_interrupt()
599 spin_lock_irqsave(&sp->tx_lock, flags); in sgiseeq_start_xmit()
605 spin_unlock_irqrestore(&sp->tx_lock, flags); in sgiseeq_start_xmit()
651 spin_unlock_irqrestore(&sp->tx_lock, flags); in sgiseeq_start_xmit()
761 spin_lock_init(&sp->tx_lock); in sgiseeq_probe()
/drivers/net/ethernet/sunplus/
Dspl2sw_driver.c100 spin_lock_irqsave(&comm->tx_lock, flags); in spl2sw_ethernet_start_xmit()
135 spin_unlock_irqrestore(&comm->tx_lock, flags); in spl2sw_ethernet_start_xmit()
178 spin_lock_irqsave(&comm->tx_lock, flags); in spl2sw_ethernet_tx_timeout()
193 spin_unlock_irqrestore(&comm->tx_lock, flags); in spl2sw_ethernet_tx_timeout()
343 spin_lock_init(&comm->tx_lock); in spl2sw_probe()
/drivers/net/
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()
/drivers/block/
Dnbd.c59 struct mutex tx_lock; member
376 mutex_lock(&nsock->tx_lock); in sock_shutdown()
378 mutex_unlock(&nsock->tx_lock); in sock_shutdown()
437 mutex_lock(&nsock->tx_lock); in nbd_xmit_timeout()
446 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout()
467 mutex_lock(&nsock->tx_lock); in nbd_xmit_timeout()
470 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout()
475 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout()
877 mutex_lock(&nsock->tx_lock); in recv_work()
879 mutex_unlock(&nsock->tx_lock); in recv_work()
[all …]
/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c98 spin_lock(&fep->tx_lock); in fs_enet_napi()
187 spin_unlock(&fep->tx_lock); in fs_enet_napi()
523 spin_lock(&fep->tx_lock); in fs_enet_start_xmit()
533 spin_unlock(&fep->tx_lock); in fs_enet_start_xmit()
614 spin_unlock(&fep->tx_lock); in fs_enet_start_xmit()
777 spin_lock(&fep->tx_lock); in fs_enet_close()
779 spin_unlock(&fep->tx_lock); in fs_enet_close()
1003 spin_lock_init(&fep->tx_lock); in fs_enet_probe()
/drivers/soc/qcom/
Dqcom_aoss.c81 struct mutex tx_lock; member
231 mutex_lock(&qmp->tx_lock); in qmp_send()
254 mutex_unlock(&qmp->tx_lock); in qmp_send()
491 mutex_init(&qmp->tx_lock); in qmp_probe()

12345