Home
last modified time | relevance | path

Searched refs:tx_lock (Results 1 – 25 of 103) 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 …]
Dwmi.c176 spin_lock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
178 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
181 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
/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()
/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/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()
94 spin_lock_bh(&htc->tx_lock); in ath11k_htc_send()
99 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send()
107 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send()
130 spin_lock_bh(&htc->tx_lock); in ath11k_htc_send()
135 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send()
160 spin_lock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report()
172 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report()
174 spin_lock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report()
[all …]
/drivers/staging/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()
294 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/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/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/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.c91 spin_lock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
93 spin_unlock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
109 spin_lock_bh(&htc->tx_lock); in ath10k_htc_consume_credit()
127 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_consume_credit()
142 spin_lock_bh(&htc->tx_lock); in ath10k_htc_release_credit()
147 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_release_credit()
251 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
263 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
265 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
268 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
[all …]
Dtxrx.c65 spin_lock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
70 spin_unlock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
85 spin_unlock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
/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()
364 spin_lock_init(&pnd->tx_lock); in usbpn_probe()
/drivers/rpmsg/
Dvirtio_rpmsg_bus.c65 struct mutex tx_lock; member
445 mutex_lock(&vrp->tx_lock); in get_a_tx_buf()
457 mutex_unlock(&vrp->tx_lock); in get_a_tx_buf()
481 mutex_lock(&vrp->tx_lock); in rpmsg_upref_sleepers()
488 mutex_unlock(&vrp->tx_lock); in rpmsg_upref_sleepers()
508 mutex_lock(&vrp->tx_lock); in rpmsg_downref_sleepers()
515 mutex_unlock(&vrp->tx_lock); in rpmsg_downref_sleepers()
629 mutex_lock(&vrp->tx_lock); in rpmsg_send_offchannel_raw()
646 mutex_unlock(&vrp->tx_lock); in rpmsg_send_offchannel_raw()
881 mutex_init(&vrp->tx_lock); in rpmsg_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/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/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/
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()
521 spin_lock_init(&rnet->tx_lock); in rionet_setup_netdev()
/drivers/block/
Dnbd.c57 struct mutex tx_lock; member
378 mutex_lock(&nsock->tx_lock); in sock_shutdown()
380 mutex_unlock(&nsock->tx_lock); in sock_shutdown()
434 mutex_lock(&nsock->tx_lock); in nbd_xmit_timeout()
443 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout()
464 mutex_lock(&nsock->tx_lock); in nbd_xmit_timeout()
467 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout()
472 mutex_unlock(&nsock->tx_lock); in nbd_xmit_timeout()
814 mutex_lock(&nsock->tx_lock); in recv_work()
816 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()
1006 spin_lock_init(&fep->tx_lock); in fs_enet_probe()
/drivers/tty/
Dn_gsm.c240 spinlock_t tx_lock; member
922 spin_lock_irqsave(&dlci->gsm->tx_lock, flags); in gsm_data_queue()
924 spin_unlock_irqrestore(&dlci->gsm->tx_lock, flags); in gsm_data_queue()
1179 spin_lock_irqsave(&dlci->gsm->tx_lock, flags); in gsm_dlci_data_kick()
1190 spin_unlock_irqrestore(&dlci->gsm->tx_lock, flags); in gsm_dlci_data_kick()
1441 spin_lock_irqsave(&gsm->tx_lock, flags); in gsm_control_message()
1443 spin_unlock_irqrestore(&gsm->tx_lock, flags); in gsm_control_message()
1906 spin_lock_irqsave(&gsm->tx_lock, flags); in gsm_kick_timer()
1910 spin_unlock_irqrestore(&gsm->tx_lock, flags); in gsm_kick_timer()
2447 spin_lock_init(&gsm->tx_lock); in gsm_activate_mux()
[all …]
/drivers/infiniband/hw/mlx4/
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()
1669 spin_lock_init(&tun_qp->tx_lock); in mlx4_ib_alloc_pv_bufs()
1763 spin_lock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker()
[all …]

12345