Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/wimax/i2400m/
Dusb-tx.c189 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400mu_txd()
192 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400mu_txd()
212 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400mu_txd()
214 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400mu_txd()
265 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400mu_tx_release()
268 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400mu_tx_release()
Dtx.c734 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400m_tx()
801 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400m_tx()
847 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400m_tx_msg_get()
912 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400m_tx_msg_get()
939 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400m_tx_msg_sent()
951 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400m_tx_msg_sent()
987 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400m_tx_setup()
994 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400m_tx_setup()
1009 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400m_tx_release()
1012 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400m_tx_release()
Dnetdev.c162 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400m_wake_tx_work()
165 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400m_wake_tx_work()
249 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400m_net_wake_stop()
252 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400m_net_wake_stop()
293 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400m_net_wake_tx()
302 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400m_net_wake_tx()
Ddebugfs.c129 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400m_tx_stats_read()
135 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400m_tx_stats_read()
147 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400m_tx_stats_write()
155 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400m_tx_stats_write()
Di2400m.h599 spinlock_t tx_lock; /* protect TX state */ member
Ddriver.c800 spin_lock_init(&i2400m->tx_lock); in i2400m_init()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dhif_usb.c157 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_mgmt_cb()
159 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_mgmt_cb()
164 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_mgmt_cb()
274 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
276 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
280 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
295 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
301 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
380 spin_lock_irqsave(&hif_dev->tx.tx_lock, flags); in hif_usb_send_tx()
383 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()
392 spin_lock_bh(&priv->tx.tx_lock); in __ath9k_htc_check_tx_aggr()
[all …]
Dwmi.c170 spin_lock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
172 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
175 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
Dhtc_drv_debug.c296 spin_lock_bh(&priv->tx.tx_lock); in read_file_slot()
302 spin_unlock_bh(&priv->tx.tx_lock); in read_file_slot()
341 spin_lock_bh(&priv->tx.tx_lock); in read_file_queue()
344 spin_unlock_bh(&priv->tx.tx_lock); in read_file_queue()
Dhif_usb.h97 spinlock_t tx_lock; member
Dhtc_drv_beacon.c180 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_send_buffered()
182 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_send_buffered()
Dhtc_drv_main.c738 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_tx_aggr_oper()
740 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_tx_aggr_oper()
963 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_start()
965 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_start()
1689 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_ampdu_action()
1691 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_ampdu_action()
Dhtc.h307 spinlock_t tx_lock; member
Dhtc_drv_init.c647 spin_lock_init(&priv->tx.tx_lock); in ath9k_init_priv()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c38 spin_lock_bh(&htt->tx_lock); in ath10k_htt_tx_dec_pending()
40 spin_unlock_bh(&htt->tx_lock); in ath10k_htt_tx_dec_pending()
49 spin_lock_bh(&htt->tx_lock); in ath10k_htt_tx_inc_pending()
70 spin_unlock_bh(&htt->tx_lock); in ath10k_htt_tx_inc_pending()
79 lockdep_assert_held(&htt->tx_lock); in ath10k_htt_tx_alloc_msdu_id()
93 lockdep_assert_held(&htt->tx_lock); in ath10k_htt_tx_free_msdu_id()
108 spin_lock_init(&htt->tx_lock); in ath10k_htt_tx_alloc()
472 spin_lock_bh(&htt->tx_lock); in ath10k_htt_mgmt_tx()
474 spin_unlock_bh(&htt->tx_lock); in ath10k_htt_mgmt_tx()
519 spin_lock_bh(&htt->tx_lock); in ath10k_htt_mgmt_tx()
[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()
120 spin_lock_bh(&htc->tx_lock); in ath10k_htc_send()
122 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_send()
130 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_send()
159 spin_lock_bh(&htc->tx_lock); in ath10k_htc_send()
164 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_send()
210 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
222 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
224 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
[all …]
Dtxrx.c70 spin_lock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
75 spin_unlock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
90 spin_unlock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
Dhtc.h333 spinlock_t tx_lock; member
Dmac.c2991 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_tx_lock()
3012 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_tx_unlock()
3032 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_tx_lock()
3043 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_tx_unlock()
3063 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_handle_tx_pause()
3107 spin_lock_bh(&ar->htt.tx_lock); in ath10k_mac_handle_tx_pause_vdev()
3112 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_mac_handle_tx_pause_vdev()
4552 spin_lock_bh(&ar->htt.tx_lock); in ath10k_add_interface()
4555 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_add_interface()
4658 spin_lock_bh(&ar->htt.tx_lock); in ath10k_remove_interface()
[all …]
Dhtt.h1485 spinlock_t tx_lock; member
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c248 spin_lock_bh(&target->tx_lock); in htc_issue_packets()
253 spin_unlock_bh(&target->tx_lock); in htc_issue_packets()
269 spin_lock_bh(&target->tx_lock); in htc_issue_packets()
274 spin_unlock_bh(&target->tx_lock); in htc_issue_packets()
330 spin_lock_bh(&target->tx_lock); in htc_try_send()
332 spin_unlock_bh(&target->tx_lock); in htc_try_send()
419 spin_lock_bh(&target->tx_lock); in htc_try_send()
425 spin_unlock_bh(&target->tx_lock); in htc_try_send()
441 spin_unlock_bh(&target->tx_lock); in htc_try_send()
480 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 …]
Dhtc.h596 spinlock_t tx_lock; member
/linux-4.4.14/drivers/block/
Dnbd.c55 struct mutex tx_lock; member
450 mutex_lock(&nbd->tx_lock); in nbd_thread_recv()
452 mutex_unlock(&nbd->tx_lock); in nbd_thread_recv()
509 mutex_lock(&nbd->tx_lock); in nbd_handle_req()
511 mutex_unlock(&nbd->tx_lock); in nbd_handle_req()
533 mutex_unlock(&nbd->tx_lock); in nbd_handle_req()
565 mutex_lock(&nbd->tx_lock); in nbd_thread_send()
567 mutex_unlock(&nbd->tx_lock); in nbd_thread_send()
655 mutex_unlock(&nbd->tx_lock); in __nbd_ioctl()
657 mutex_lock(&nbd->tx_lock); in __nbd_ioctl()
[all …]
/linux-4.4.14/drivers/net/wireless/p54/
Dp54spi.c443 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_wq_tx()
451 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_wq_tx()
468 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_wq_tx()
470 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_wq_tx()
484 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_op_tx()
486 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_op_tx()
587 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_op_stop()
589 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_op_stop()
654 spin_lock_init(&priv->tx_lock); in p54spi_probe()
Dp54spi.h116 spinlock_t tx_lock; member
/linux-4.4.14/drivers/net/irda/
Dsir_dev.c370 spin_lock_irqsave(&dev->tx_lock, flags); /* serialize with other tx operations */ in sirdev_raw_write()
372 spin_unlock_irqrestore(&dev->tx_lock, flags); in sirdev_raw_write()
374 spin_lock_irqsave(&dev->tx_lock, flags); in sirdev_raw_write()
390 spin_unlock_irqrestore(&dev->tx_lock, flags); in sirdev_raw_write()
441 spin_lock_irqsave(&dev->tx_lock, flags); in sirdev_write_complete()
527 spin_unlock_irqrestore(&dev->tx_lock, flags); in sirdev_write_complete()
637 if(spin_is_locked(&dev->tx_lock)) { in sirdev_hard_xmit()
642 spin_lock_irqsave(&dev->tx_lock, flags); in sirdev_hard_xmit()
672 spin_unlock_irqrestore(&dev->tx_lock, flags); in sirdev_hard_xmit()
912 spin_lock_init(&dev->tx_lock); in sirdev_get_instance()
Dsir-dev.h174 spinlock_t tx_lock; member
/linux-4.4.14/drivers/rpmsg/
Dvirtio_rpmsg_bus.c67 struct mutex tx_lock; member
578 mutex_lock(&vrp->tx_lock); in get_a_tx_buf()
590 mutex_unlock(&vrp->tx_lock); in get_a_tx_buf()
614 mutex_lock(&vrp->tx_lock); in rpmsg_upref_sleepers()
621 mutex_unlock(&vrp->tx_lock); in rpmsg_upref_sleepers()
641 mutex_lock(&vrp->tx_lock); in rpmsg_downref_sleepers()
648 mutex_unlock(&vrp->tx_lock); in rpmsg_downref_sleepers()
759 mutex_lock(&vrp->tx_lock); in rpmsg_send_offchannel_raw()
776 mutex_unlock(&vrp->tx_lock); in rpmsg_send_offchannel_raw()
964 mutex_init(&vrp->tx_lock); in rpmsg_probe()
/linux-4.4.14/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()
670 spin_lock_init(&cfv->tx_lock); in cfv_probe()
/linux-4.4.14/drivers/staging/nvec/
Dnvec.c276 spin_lock_irqsave(&nvec->tx_lock, flags); in nvec_write_async()
278 spin_unlock_irqrestore(&nvec->tx_lock, flags); in nvec_write_async()
384 spin_lock_irqsave(&nvec->tx_lock, flags); in nvec_request_master()
387 spin_unlock_irqrestore(&nvec->tx_lock, flags); in nvec_request_master()
398 spin_lock_irqsave(&nvec->tx_lock, flags); in nvec_request_master()
405 spin_unlock_irqrestore(&nvec->tx_lock, flags); in nvec_request_master()
550 spin_lock(&nvec->tx_lock); in nvec_tx_set()
563 spin_unlock(&nvec->tx_lock); in nvec_tx_set()
847 spin_lock_init(&nvec->tx_lock); in tegra_nvec_probe()
Dnvec.h157 spinlock_t tx_lock, rx_lock; member
/linux-4.4.14/drivers/net/usb/
Dcdc-phonet.c48 spinlock_t tx_lock; member
83 spin_lock_irqsave(&pnd->tx_lock, flags); in usbpn_xmit()
87 spin_unlock_irqrestore(&pnd->tx_lock, flags); in usbpn_xmit()
118 spin_lock(&pnd->tx_lock); in tx_complete()
121 spin_unlock(&pnd->tx_lock); in tx_complete()
382 spin_lock_init(&pnd->tx_lock); in usbpn_probe()
Dcatc.c168 spinlock_t tx_lock, ctrl_lock; member
405 spin_lock_irqsave(&catc->tx_lock, flags); in catc_tx_done()
417 spin_unlock_irqrestore(&catc->tx_lock, flags); in catc_tx_done()
428 spin_lock_irqsave(&catc->tx_lock, flags); in catc_start_xmit()
449 spin_unlock_irqrestore(&catc->tx_lock, flags); in catc_start_xmit()
801 spin_lock_init(&catc->tx_lock); in catc_probe()
Dr8152.c603 spinlock_t rx_lock, tx_lock; member
1146 spin_lock(&tp->tx_lock); in write_bulk_callback()
1148 spin_unlock(&tp->tx_lock); in write_bulk_callback()
1278 spin_lock_init(&tp->tx_lock); in alloc_all_mem()
1365 spin_lock_irqsave(&tp->tx_lock, flags); in r8152_get_tx_agg()
1373 spin_unlock_irqrestore(&tp->tx_lock, flags); in r8152_get_tx_agg()
1816 spin_lock_irqsave(&tp->tx_lock, flags); in tx_bottom()
1818 spin_unlock_irqrestore(&tp->tx_lock, flags); in tx_bottom()
/linux-4.4.14/drivers/net/
Drionet.c61 spinlock_t tx_lock; member
178 if (!spin_trylock(&rnet->tx_lock)) { in rionet_start_xmit()
188 spin_unlock_irqrestore(&rnet->tx_lock, flags); in rionet_start_xmit()
224 spin_unlock_irqrestore(&rnet->tx_lock, flags); in rionet_start_xmit()
283 spin_lock(&rnet->tx_lock); in rionet_outb_msg_event()
302 spin_unlock(&rnet->tx_lock); in rionet_outb_msg_event()
498 spin_lock_init(&rnet->tx_lock); in rionet_setup_netdev()
Dxen-netfront.c113 spinlock_t tx_lock; member
607 spin_lock_irqsave(&queue->tx_lock, flags); in xennet_start_xmit()
612 spin_unlock_irqrestore(&queue->tx_lock, flags); in xennet_start_xmit()
682 spin_unlock_irqrestore(&queue->tx_lock, flags); in xennet_start_xmit()
1223 spin_lock_irqsave(&queue->tx_lock, flags); in xennet_tx_interrupt()
1225 spin_unlock_irqrestore(&queue->tx_lock, flags); in xennet_tx_interrupt()
1608 spin_lock_init(&queue->tx_lock); in xennet_init_queue()
2003 spin_lock_irq(&queue->tx_lock); in xennet_connect()
2005 spin_unlock_irq(&queue->tx_lock); in xennet_connect()
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Ddma.c231 spin_lock_irqsave(&dev->tx_lock, flags); in mt7601u_complete_tx()
250 spin_unlock_irqrestore(&dev->tx_lock, flags); in mt7601u_complete_tx()
261 spin_lock_irqsave(&dev->tx_lock, flags); in mt7601u_tx_tasklet()
270 spin_unlock_irqrestore(&dev->tx_lock, flags); in mt7601u_tx_tasklet()
289 spin_lock_irqsave(&dev->tx_lock, flags); in mt7601u_dma_submit_tx()
319 spin_unlock_irqrestore(&dev->tx_lock, flags); in mt7601u_dma_submit_tx()
Dtx.c255 spin_lock_irqsave(&dev->tx_lock, flags); in mt7601u_tx_stat()
264 spin_unlock_irqrestore(&dev->tx_lock, flags); in mt7601u_tx_stat()
Dmt7601u.h203 spinlock_t tx_lock; member
Dinit.c454 spin_lock_init(&dev->tx_lock); in mt7601u_alloc_device()
/linux-4.4.14/drivers/net/ethernet/seeq/
Dsgiseeq.c109 spinlock_t tx_lock; member
167 spin_lock_irq(&sp->tx_lock); in sgiseeq_set_mac_address()
169 spin_unlock_irq(&sp->tx_lock); in sgiseeq_set_mac_address()
503 spin_lock(&sp->tx_lock); in sgiseeq_interrupt()
518 spin_unlock(&sp->tx_lock); in sgiseeq_interrupt()
589 spin_lock_irqsave(&sp->tx_lock, flags); in sgiseeq_start_xmit()
595 spin_unlock_irqrestore(&sp->tx_lock, flags); in sgiseeq_start_xmit()
641 spin_unlock_irqrestore(&sp->tx_lock, flags); in sgiseeq_start_xmit()
751 spin_lock_init(&sp->tx_lock); in sgiseeq_probe()
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c226 spin_lock(&fep->tx_lock); in fs_enet_tx_napi()
320 spin_unlock(&fep->tx_lock); in fs_enet_tx_napi()
551 spin_lock(&fep->tx_lock); in fs_enet_start_xmit()
561 spin_unlock(&fep->tx_lock); in fs_enet_start_xmit()
639 spin_unlock(&fep->tx_lock); in fs_enet_start_xmit()
798 spin_lock(&fep->tx_lock); in fs_enet_close()
800 spin_unlock(&fep->tx_lock); in fs_enet_close()
1034 spin_lock_init(&fep->tx_lock); in fs_enet_probe()
Dfs_enet.h129 spinlock_t tx_lock; /* during fs_start_xmit and fs_tx */ member
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2.c332 spin_lock_irqsave(&c2_port->tx_lock, flags); in c2_tx_clean()
372 spin_unlock_irqrestore(&c2_port->tx_lock, flags); in c2_tx_clean()
387 spin_lock(&c2_port->tx_lock); in c2_tx_interrupt()
417 spin_unlock(&c2_port->tx_lock); in c2_tx_interrupt()
767 spin_lock_irqsave(&c2_port->tx_lock, flags); in c2_xmit_frame()
771 spin_unlock_irqrestore(&c2_port->tx_lock, flags); in c2_xmit_frame()
833 spin_unlock_irqrestore(&c2_port->tx_lock, flags); in c2_xmit_frame()
903 spin_lock_init(&c2_port->tx_lock); in c2_devinit()
Dc2.h361 spinlock_t tx_lock; member
/linux-4.4.14/drivers/net/ethernet/faraday/
Dftmac100.c75 spinlock_t tx_lock; member
621 spin_lock(&priv->tx_lock); in ftmac100_tx_complete_packet()
623 spin_unlock(&priv->tx_lock); in ftmac100_tx_complete_packet()
654 spin_lock(&priv->tx_lock); in ftmac100_xmit()
661 spin_unlock(&priv->tx_lock); in ftmac100_xmit()
1098 spin_lock_init(&priv->tx_lock); in ftmac100_probe()
Dftgmac100.c67 spinlock_t tx_lock; member
653 spin_lock(&priv->tx_lock); in ftgmac100_tx_complete_packet()
655 spin_unlock(&priv->tx_lock); in ftgmac100_tx_complete_packet()
699 spin_lock(&priv->tx_lock); in ftgmac100_xmit()
706 spin_unlock(&priv->tx_lock); in ftgmac100_xmit()
1224 spin_lock_init(&priv->tx_lock); in ftgmac100_probe()
/linux-4.4.14/drivers/net/wireless/cw1200/
Ddebug.c263 atomic_read(&priv->tx_lock) ? "locked" : "unlocked"); in cw1200_status_show()
264 if (atomic_read(&priv->tx_lock)) in cw1200_status_show()
266 atomic_read(&priv->tx_lock)); in cw1200_status_show()
Dwsm.c1170 if (atomic_add_return(1, &priv->tx_lock) == 1) { in wsm_lock_tx()
1179 if (atomic_add_return(1, &priv->tx_lock) == 1) in wsm_lock_tx_async()
1191 BUG_ON(!atomic_read(&priv->tx_lock)); in wsm_flush_tx()
1232 int tx_lock; in wsm_unlock_tx() local
1233 tx_lock = atomic_sub_return(1, &priv->tx_lock); in wsm_unlock_tx()
1234 BUG_ON(tx_lock < 0); in wsm_unlock_tx()
1236 if (tx_lock == 0) { in wsm_unlock_tx()
1691 if (atomic_add_return(0, &priv->tx_lock)) in wsm_get_tx()
Dcw1200.h223 atomic_t tx_lock; member
Dsta.c139 if (atomic_xchg(&priv->tx_lock, 1) != 1) in cw1200_stop()
143 atomic_xchg(&priv->tx_lock, 0); /* for recovery to work */ in cw1200_stop()
162 atomic_read(&priv->tx_lock), in __cw1200_cqm_bssloss_sm()
176 if (!priv->vif->p2p && !atomic_read(&priv->tx_lock)) in __cw1200_cqm_bssloss_sm()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00mac.c160 spin_lock(&queue->tx_lock); in rt2x00mac_tx()
163 spin_unlock(&queue->tx_lock); in rt2x00mac_tx()
168 spin_lock(&queue->tx_lock); in rt2x00mac_tx()
170 spin_unlock(&queue->tx_lock); in rt2x00mac_tx()
Drt2x00queue.h467 spinlock_t tx_lock; member
Drt2x00queue.c671 spin_lock(&queue->tx_lock); in rt2x00queue_write_tx_frame()
719 spin_unlock(&queue->tx_lock); in rt2x00queue_write_tx_frame()
1217 spin_lock_init(&queue->tx_lock); in rt2x00queue_init()
Drt2x00dev.c487 spin_lock_bh(&entry->queue->tx_lock); in rt2x00lib_txdone()
490 spin_unlock_bh(&entry->queue->tx_lock); in rt2x00lib_txdone()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dmad.c521 spin_lock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()
527 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()
1232 spin_lock(&sqp->tx_lock); in mlx4_ib_send_to_wire()
1238 spin_unlock(&sqp->tx_lock); in mlx4_ib_send_to_wire()
1482 spin_lock_init(&tun_qp->tx_lock); in mlx4_ib_alloc_pv_bufs()
1578 spin_lock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker()
1580 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker()
1595 spin_lock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker()
1597 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker()
1732 spin_lock(&sqp->tx_lock); in mlx4_ib_sqp_comp_worker()
[all …]
Dmlx4_ib.h413 spinlock_t tx_lock; member
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/
Datl1e.h413 rwlock_t tx_lock; member
445 spinlock_t tx_lock; member
Datl1e_main.c651 spin_lock_init(&adapter->tx_lock); in atl1e_sw_init()
754 rwlock_init(&adapter->tx_ring.tx_lock); in atl1e_init_ring_resources()
1883 if (!spin_trylock_irqsave(&adapter->tx_lock, flags)) in atl1e_xmit_frame()
1889 spin_unlock_irqrestore(&adapter->tx_lock, flags); in atl1e_xmit_frame()
1913 spin_unlock_irqrestore(&adapter->tx_lock, flags); in atl1e_xmit_frame()
1927 spin_unlock_irqrestore(&adapter->tx_lock, flags); in atl1e_xmit_frame()
/linux-4.4.14/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c857 spin_lock_irqsave(&card->tx_lock, flags); in gelic_net_xmit()
867 spin_unlock_irqrestore(&card->tx_lock, flags); in gelic_net_xmit()
879 spin_unlock_irqrestore(&card->tx_lock, flags); in gelic_net_xmit()
908 spin_unlock_irqrestore(&card->tx_lock, flags); in gelic_net_xmit()
1158 spin_lock_irqsave(&card->tx_lock, flags); in gelic_card_interrupt()
1163 spin_unlock_irqrestore(&card->tx_lock, flags); in gelic_card_interrupt()
1763 spin_lock_init(&card->tx_lock); in ps3_gelic_driver_probe()
Dps3_gelic_net.h295 spinlock_t tx_lock; member
/linux-4.4.14/drivers/net/ethernet/altera/
Daltera_tse_main.c459 spin_lock(&priv->tx_lock); in tse_tx_complete()
495 spin_unlock(&priv->tx_lock); in tse_tx_complete()
577 spin_lock_bh(&priv->tx_lock); in tse_start_xmit()
626 spin_unlock_bh(&priv->tx_lock); in tse_start_xmit()
1238 spin_lock(&priv->tx_lock); in tse_shutdown()
1250 spin_unlock(&priv->tx_lock); in tse_shutdown()
1517 spin_lock_init(&priv->tx_lock); in altera_tse_probe()
Daltera_tse.h468 spinlock_t tx_lock; member
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h65 spinlock_t tx_lock; member
Dstmmac_main.c1321 spin_lock(&priv->tx_lock); in stmmac_tx_clean()
1405 spin_unlock(&priv->tx_lock); in stmmac_tx_clean()
1957 spin_lock(&priv->tx_lock); in stmmac_xmit()
1960 spin_unlock(&priv->tx_lock); in stmmac_xmit()
2086 spin_unlock(&priv->tx_lock); in stmmac_xmit()
2090 spin_unlock(&priv->tx_lock); in stmmac_xmit()
2940 spin_lock_init(&priv->tx_lock); in stmmac_dvr_probe()
/linux-4.4.14/drivers/net/ethernet/natsemi/
Dns83820.c447 spinlock_t tx_lock; member
1172 spin_lock_irq(&dev->tx_lock);
1177 spin_unlock_irq(&dev->tx_lock);
1306 spin_lock(&dev->tx_lock);
1355 spin_unlock(&dev->tx_lock);
1484 spin_lock_irqsave(&dev->tx_lock, flags);
1486 spin_unlock_irqrestore(&dev->tx_lock, flags);
1569 spin_lock_irqsave(&dev->tx_lock, flags);
1596 spin_unlock_irqrestore(&dev->tx_lock, flags);
1972 spin_lock_init(&dev->tx_lock);
/linux-4.4.14/drivers/tty/
Dn_gsm.c244 spinlock_t tx_lock; member
786 spin_lock_irqsave(&dlci->gsm->tx_lock, flags); in gsm_data_queue()
788 spin_unlock_irqrestore(&dlci->gsm->tx_lock, flags); in gsm_data_queue()
975 spin_lock_irqsave(&dlci->gsm->tx_lock, flags); in gsm_dlci_data_kick()
986 spin_unlock_irqrestore(&dlci->gsm->tx_lock, flags); in gsm_dlci_data_kick()
1230 spin_lock_irqsave(&gsm->tx_lock, flags); in gsm_control_message()
1232 spin_unlock_irqrestore(&gsm->tx_lock, flags); in gsm_control_message()
2096 spin_lock_init(&gsm->tx_lock); in gsm_activate_mux()
2410 spin_lock_irqsave(&gsm->tx_lock, flags); in gsmld_write_wakeup()
2415 spin_unlock_irqrestore(&gsm->tx_lock, flags); in gsmld_write_wakeup()
/linux-4.4.14/drivers/atm/
Diphase.c1669 spin_lock_irqsave(&iadev->tx_lock, flags);
1671 spin_unlock_irqrestore(&iadev->tx_lock, flags);
1693 spin_lock_irqsave(&iadev->tx_lock, flags);
1712 spin_unlock_irqrestore(&iadev->tx_lock, flags);
1720 spin_unlock_irqrestore(&iadev->tx_lock, flags);
1742 spin_unlock_irqrestore(&iadev->tx_lock, flags);
1915 spin_lock_init(&iadev->tx_lock);
2448 spin_lock_irqsave(&ia_dev[i]->tx_lock, flags);
2452 spin_unlock_irqrestore(&ia_dev[i]->tx_lock, flags);
2624 spin_lock_irqsave(&iadev->tx_lock, flags);
[all …]
Dsolos-pci.c122 spinlock_t tx_lock; member
1064 spin_lock_irqsave(&card->tx_lock, flags); in fpga_tx()
1139 spin_unlock_irqrestore(&card->tx_lock, flags); in fpga_tx()
1305 spin_lock_init(&card->tx_lock); in fpga_probe()
Diphase.h1003 spinlock_t tx_lock; member
/linux-4.4.14/drivers/tty/serial/
Dmpsc.c180 spinlock_t tx_lock; /* transmit lock */ member
1172 spin_lock_irqsave(&pi->tx_lock, iflags); in mpsc_tx_intr()
1210 spin_unlock_irqrestore(&pi->tx_lock, iflags); in mpsc_tx_intr()
1299 spin_lock_irqsave(&pi->tx_lock, iflags); in mpsc_start_tx()
1305 spin_unlock_irqrestore(&pi->tx_lock, iflags); in mpsc_start_tx()
1716 spin_lock_irqsave(&pi->tx_lock, iflags); in mpsc_console_write()
1767 spin_unlock_irqrestore(&pi->tx_lock, iflags); in mpsc_console_write()
2091 spin_lock_init(&pi->tx_lock); in mpsc_drv_probe()
Domap-serial.c126 spinlock_t tx_lock; member
/linux-4.4.14/drivers/soc/qcom/
Dsmd.c181 struct mutex tx_lock; member
730 ret = mutex_lock_interruptible(&channel->tx_lock); in qcom_smd_send()
764 mutex_unlock(&channel->tx_lock); in qcom_smd_send()
1040 mutex_init(&channel->tx_lock); in qcom_smd_create_channel()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h275 spinlock_t tx_lock; member
Dbcm63xx_enet.c444 spin_lock(&priv->tx_lock); in bcm_enet_tx_reclaim()
449 spin_unlock(&priv->tx_lock); in bcm_enet_tx_reclaim()
467 spin_unlock(&priv->tx_lock); in bcm_enet_tx_reclaim()
584 spin_lock(&priv->tx_lock); in bcm_enet_start_xmit()
655 spin_unlock(&priv->tx_lock); in bcm_enet_start_xmit()
981 spin_lock_init(&priv->tx_lock); in bcm_enet_open()
2207 spin_lock_init(&priv->tx_lock); in bcm_enetsw_open()
/linux-4.4.14/drivers/net/ethernet/aurora/
Dnb8800.h283 spinlock_t tx_lock; member
Dnb8800.c384 spin_lock_irq(&priv->tx_lock); in nb8800_tx_dma_start()
386 spin_unlock_irq(&priv->tx_lock); in nb8800_tx_dma_start()
393 spin_lock(&priv->tx_lock); in nb8800_tx_dma_start_irq()
395 spin_unlock(&priv->tx_lock); in nb8800_tx_dma_start_irq()
1435 spin_lock_init(&priv->tx_lock); in nb8800_probe()
/linux-4.4.14/drivers/net/ethernet/dlink/
Ddl2k.h378 spinlock_t tx_lock; member
Ddl2k.c164 spin_lock_init (&np->tx_lock); in rio_probe1()
765 spin_lock(&np->tx_lock); in rio_free_tx()
767 spin_lock_irqsave(&np->tx_lock, flag); in rio_free_tx()
789 spin_unlock(&np->tx_lock); in rio_free_tx()
791 spin_unlock_irqrestore(&np->tx_lock, flag); in rio_free_tx()
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c430 spin_lock_init(&tx_ring->tx_lock); in init_tx_ring()
746 spin_lock(&tqueue->tx_lock); in sxgbe_tx_queue_clean()
795 spin_unlock(&tqueue->tx_lock); in sxgbe_tx_queue_clean()
1309 spin_lock(&tqueue->tx_lock); in sxgbe_xmit()
1321 spin_unlock(&tqueue->tx_lock); in sxgbe_xmit()
1440 spin_unlock(&tqueue->tx_lock); in sxgbe_xmit()
Dsxgbe_common.h387 spinlock_t tx_lock; /* lock for tx queues */ member
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_int.h228 spinlock_t tx_lock; member
Dvmxnet3_drv.c381 spin_lock(&tq->tx_lock); in vmxnet3_tq_tx_complete()
388 spin_unlock(&tq->tx_lock); in vmxnet3_tq_tx_complete()
1001 spin_lock_irqsave(&tq->tx_lock, flags); in vmxnet3_tq_xmit()
1011 spin_unlock_irqrestore(&tq->tx_lock, flags); in vmxnet3_tq_xmit()
1095 spin_unlock_irqrestore(&tq->tx_lock, flags); in vmxnet3_tq_xmit()
1110 spin_unlock_irqrestore(&tq->tx_lock, flags); in vmxnet3_tq_xmit()
2732 spin_lock_init(&adapter->tx_queue[i].tx_lock); in vmxnet3_open()
/linux-4.4.14/drivers/net/wireless/
Dmwl8k.c223 spinlock_t tx_lock; member
1563 spin_lock_bh(&priv->tx_lock); in mwl8k_tx_wait_empty()
1571 spin_unlock_bh(&priv->tx_lock); in mwl8k_tx_wait_empty()
1576 spin_lock_bh(&priv->tx_lock); in mwl8k_tx_wait_empty()
1578 spin_unlock_bh(&priv->tx_lock); in mwl8k_tx_wait_empty()
1582 spin_lock_bh(&priv->tx_lock); in mwl8k_tx_wait_empty()
1616 spin_unlock_bh(&priv->tx_lock); in mwl8k_tx_wait_empty()
2049 spin_lock_bh(&priv->tx_lock); in mwl8k_txq_xmit()
2069 spin_unlock_bh(&priv->tx_lock); in mwl8k_txq_xmit()
2110 spin_unlock_bh(&priv->tx_lock); in mwl8k_txq_xmit()
[all …]
/linux-4.4.14/drivers/net/ethernet/tehuti/
Dtehuti.c1633 if (!spin_trylock(&priv->tx_lock)) { in bdx_tx_transmit()
1721 spin_unlock_irqrestore(&priv->tx_lock, flags); in bdx_tx_transmit()
1768 spin_lock(&priv->tx_lock); in bdx_tx_cleanup()
1786 spin_unlock(&priv->tx_lock); in bdx_tx_cleanup()
2066 spin_lock_init(&priv->tx_lock); in bdx_probe()
Dtehuti.h264 spinlock_t tx_lock; /* NETIF_F_LLTX mode */ member
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe.h494 spinlock_t tx_lock; member
Dpch_gbe_main.c1643 spin_lock(&tx_ring->tx_lock); in pch_gbe_clean_tx()
1655 spin_unlock(&tx_ring->tx_lock); in pch_gbe_clean_tx()
1808 spin_lock_init(&tx_ring->tx_lock); in pch_gbe_setup_tx_resources()
2140 if (!spin_trylock_irqsave(&tx_ring->tx_lock, flags)) { in pch_gbe_xmit_frame()
2146 spin_unlock_irqrestore(&tx_ring->tx_lock, flags); in pch_gbe_xmit_frame()
2155 spin_unlock_irqrestore(&tx_ring->tx_lock, flags); in pch_gbe_xmit_frame()
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c828 spin_lock_init(&adapter->tx_lock); in atl1c_sw_init()
2224 if (!spin_trylock_irqsave(&adapter->tx_lock, flags)) { in atl1c_xmit_frame()
2233 spin_unlock_irqrestore(&adapter->tx_lock, flags); in atl1c_xmit_frame()
2241 spin_unlock_irqrestore(&adapter->tx_lock, flags); in atl1c_xmit_frame()
2264 spin_unlock_irqrestore(&adapter->tx_lock, flags); in atl1c_xmit_frame()
2269 spin_unlock_irqrestore(&adapter->tx_lock, flags); in atl1c_xmit_frame()
Datl1c.h545 spinlock_t tx_lock; member
/linux-4.4.14/drivers/net/ethernet/synopsys/
Ddwc_eth_qos.c629 spinlock_t tx_lock; member
1667 spin_lock(&lp->tx_lock); in dwceqos_tx_reclaim()
1701 spin_unlock(&lp->tx_lock); in dwceqos_tx_reclaim()
2205 spin_lock_bh(&lp->tx_lock); in dwceqos_start_xmit()
2207 spin_unlock_bh(&lp->tx_lock); in dwceqos_start_xmit()
2834 spin_lock_init(&lp->tx_lock); in dwceqos_probe()
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h370 spinlock_t tx_lock; member
Drtl_core.c992 spin_lock_init(&priv->tx_lock); in _rtl92e_init_priv_lock()
1512 spin_lock_irqsave(&priv->tx_lock, flags); in _rtl92e_watchdog_wq_cb()
1518 spin_unlock_irqrestore(&priv->tx_lock, flags); in _rtl92e_watchdog_wq_cb()
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.c2381 spin_lock_irqsave(&fifo->tx_lock, flags); in free_tx_buffers()
2396 spin_unlock_irqrestore(&fifo->tx_lock, flags); in free_tx_buffers()
3018 if (!spin_trylock_irqsave(&fifo_data->tx_lock, flags)) in tx_intr_handler()
3062 spin_unlock_irqrestore(&fifo_data->tx_lock, flags); in tx_intr_handler()
3082 spin_unlock_irqrestore(&fifo_data->tx_lock, flags); in tx_intr_handler()
4088 spin_lock_irqsave(&fifo->tx_lock, flags); in s2io_xmit()
4090 if (unlikely(!spin_trylock_irqsave(&fifo->tx_lock, flags))) in s2io_xmit()
4096 spin_unlock_irqrestore(&fifo->tx_lock, flags); in s2io_xmit()
4101 spin_unlock_irqrestore(&fifo->tx_lock, flags); in s2io_xmit()
4117 spin_unlock_irqrestore(&fifo->tx_lock, flags); in s2io_xmit()
[all …]
Ds2io.h782 spinlock_t tx_lock; member
/linux-4.4.14/drivers/net/ethernet/sun/
Dcassini.c249 spin_lock_nested(&cp->tx_lock[i], i); in cas_lock_tx()
278 spin_unlock(&cp->tx_lock[i - 1]); in cas_unlock_tx()
1861 spin_lock(&cp->tx_lock[ring]); in cas_tx_ringN()
1923 spin_unlock(&cp->tx_lock[ring]); in cas_tx_ringN()
2774 spin_lock_irqsave(&cp->tx_lock[ring], flags); in cas_xmit_tx_ringN()
2780 spin_unlock_irqrestore(&cp->tx_lock[ring], flags); in cas_xmit_tx_ringN()
2861 spin_unlock_irqrestore(&cp->tx_lock[ring], flags); in cas_xmit_tx_ringN()
5034 spin_lock_init(&cp->tx_lock[i]); in cas_init_one()
Dcassini.h2753 spinlock_t tx_lock[N_TX_RINGS]; /* tx bits */ member
/linux-4.4.14/drivers/staging/rtl8192u/
Dr8192U_core.c1051 spin_lock_irqsave(&priv->tx_lock, flags); in rtl8192_hard_data_xmit()
1058 spin_unlock_irqrestore(&priv->tx_lock, flags); in rtl8192_hard_data_xmit()
1075 spin_lock_irqsave(&priv->tx_lock, flags); in rtl8192_hard_start_xmit()
1087 spin_unlock_irqrestore(&priv->tx_lock, flags); in rtl8192_hard_start_xmit()
2369 spin_lock_init(&priv->tx_lock); in rtl8192_init_priv_lock()
5124 spin_lock_irqsave(&priv->tx_lock, flags); in rtl8192_try_wake_queue()
5126 spin_unlock_irqrestore(&priv->tx_lock, flags); in rtl8192_try_wake_queue()
Dr8192U.h869 spinlock_t tx_lock; member
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_hw.h1240 spinlock_t tx_lock; /* could use netdev tx lock? */ member
Dnes_nic.c1757 spin_lock_init(&nesvnic->tx_lock); in nes_netdev_init()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h2309 spinlock_t tx_lock; member