Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c34 spin_lock_bh(&htt->tx_lock); in ath10k_htt_tx_dec_pending()
36 spin_unlock_bh(&htt->tx_lock); in ath10k_htt_tx_dec_pending()
43 spin_lock_bh(&htt->tx_lock); in ath10k_htt_tx_inc_pending()
55 spin_unlock_bh(&htt->tx_lock); in ath10k_htt_tx_inc_pending()
64 lockdep_assert_held(&htt->tx_lock); in ath10k_htt_tx_alloc_msdu_id()
77 lockdep_assert_held(&htt->tx_lock); in ath10k_htt_tx_free_msdu_id()
91 spin_lock_init(&htt->tx_lock); in ath10k_htt_tx_alloc()
115 spin_lock_bh(&htt->tx_lock); in ath10k_htt_tx_clean_up_pending()
117 spin_unlock_bh(&htt->tx_lock); in ath10k_htt_tx_clean_up_pending()
356 spin_lock_bh(&htt->tx_lock); in ath10k_htt_mgmt_tx()
[all …]
Dhtc.c115 spin_lock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
121 spin_unlock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
148 spin_lock_bh(&htc->tx_lock); in ath10k_htc_send()
150 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_send()
158 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_send()
187 spin_lock_bh(&htc->tx_lock); in ath10k_htc_send()
192 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_send()
240 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
252 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
254 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report()
[all …]
Dhtt_rx.c1594 lockdep_assert_held(&htt->tx_lock); in ath10k_htt_rx_frm_tx_compl()
1949 spin_lock_bh(&htt->tx_lock); in ath10k_htt_t2h_msg_handler()
1951 spin_unlock_bh(&htt->tx_lock); in ath10k_htt_t2h_msg_handler()
1955 spin_lock_bh(&htt->tx_lock); in ath10k_htt_t2h_msg_handler()
1957 spin_unlock_bh(&htt->tx_lock); in ath10k_htt_t2h_msg_handler()
2046 spin_lock_bh(&htt->tx_lock); in ath10k_htt_txrx_compl_task()
2051 spin_unlock_bh(&htt->tx_lock); in ath10k_htt_txrx_compl_task()
Dhtc.h335 spinlock_t tx_lock; member
Dtxrx.c56 lockdep_assert_held(&htt->tx_lock); in ath10k_txrx_tx_unref()
Dhtt.h1332 spinlock_t tx_lock; member
Dmac.c4505 spin_lock_bh(&ar->htt.tx_lock); in ath10k_flush()
4507 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_flush()
/linux-4.1.27/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.1.27/drivers/char/
Dmsm_smd_pkt.c48 struct mutex tx_lock; member
191 mutex_lock(&smd_pkt_devp->tx_lock); in smd_pkt_write()
193 mutex_unlock(&smd_pkt_devp->tx_lock); in smd_pkt_write()
201 mutex_unlock(&smd_pkt_devp->tx_lock); in smd_pkt_write()
208 mutex_unlock(&smd_pkt_devp->tx_lock); in smd_pkt_write()
212 mutex_unlock(&smd_pkt_devp->tx_lock); in smd_pkt_write()
395 mutex_init(&smd_pkt_devp[i]->tx_lock); in smd_pkt_init()
430 mutex_destroy(&smd_pkt_devp[i]->tx_lock); in smd_pkt_init()
452 mutex_destroy(&smd_pkt_devp[i]->tx_lock); in smd_pkt_cleanup()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dhif_usb.c161 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_mgmt_cb()
163 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_mgmt_cb()
168 spin_unlock(&hif_dev->tx.tx_lock); 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()
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()
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()
Dhif_usb.h79 spinlock_t tx_lock; member
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()
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()
956 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_start()
958 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_start()
1680 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_ampdu_action()
1682 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_ampdu_action()
Dhtc.h307 spinlock_t tx_lock; member
Dhtc_drv_init.c643 spin_lock_init(&priv->tx.tx_lock); in ath9k_init_priv()
/linux-4.1.27/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.1.27/drivers/block/
Dnbd.c55 struct mutex tx_lock; member
119 mutex_lock(&nbd->tx_lock); in sock_shutdown()
126 mutex_unlock(&nbd->tx_lock); in sock_shutdown()
476 mutex_lock(&nbd->tx_lock); in nbd_handle_req()
478 mutex_unlock(&nbd->tx_lock); in nbd_handle_req()
497 mutex_unlock(&nbd->tx_lock); in nbd_handle_req()
591 mutex_unlock(&nbd->tx_lock); in __nbd_ioctl()
593 mutex_lock(&nbd->tx_lock); in __nbd_ioctl()
676 mutex_unlock(&nbd->tx_lock); in __nbd_ioctl()
691 mutex_lock(&nbd->tx_lock); in __nbd_ioctl()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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()
848 spin_lock_init(&nvec->tx_lock); in tegra_nvec_probe()
Dnvec.h157 spinlock_t tx_lock, rx_lock; member
/linux-4.1.27/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.1.27/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()
401 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.c591 spinlock_t rx_lock, tx_lock; member
1132 spin_lock(&tp->tx_lock); in write_bulk_callback()
1134 spin_unlock(&tp->tx_lock); in write_bulk_callback()
1264 spin_lock_init(&tp->tx_lock); in alloc_all_mem()
1351 spin_lock_irqsave(&tp->tx_lock, flags); in r8152_get_tx_agg()
1359 spin_unlock_irqrestore(&tp->tx_lock, flags); in r8152_get_tx_agg()
1802 spin_lock_irqsave(&tp->tx_lock, flags); in tx_bottom()
1804 spin_unlock_irqrestore(&tp->tx_lock, flags); in tx_bottom()
/linux-4.1.27/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()
500 spin_lock_init(&rnet->tx_lock); in rionet_setup_netdev()
Dxen-netfront.c114 spinlock_t tx_lock; member
559 spin_lock_irqsave(&queue->tx_lock, flags); in xennet_start_xmit()
564 spin_unlock_irqrestore(&queue->tx_lock, flags); in xennet_start_xmit()
631 spin_unlock_irqrestore(&queue->tx_lock, flags); in xennet_start_xmit()
1172 spin_lock_irqsave(&queue->tx_lock, flags); in xennet_tx_interrupt()
1174 spin_unlock_irqrestore(&queue->tx_lock, flags); in xennet_tx_interrupt()
1561 spin_lock_init(&queue->tx_lock); in xennet_init_queue()
1957 spin_lock_irq(&queue->tx_lock); in xennet_connect()
1959 spin_unlock_irq(&queue->tx_lock); in xennet_connect()
/linux-4.1.27/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.1.27/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c229 spin_lock(&fep->tx_lock); in fs_enet_tx_napi()
323 spin_unlock(&fep->tx_lock); in fs_enet_tx_napi()
535 spin_lock(&fep->tx_lock); in fs_enet_start_xmit()
544 spin_unlock(&fep->tx_lock); in fs_enet_start_xmit()
621 spin_unlock(&fep->tx_lock); in fs_enet_start_xmit()
780 spin_lock(&fep->tx_lock); in fs_enet_close()
782 spin_unlock(&fep->tx_lock); in fs_enet_close()
1016 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.1.27/drivers/infiniband/hw/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.1.27/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.1.27/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.1.27/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.1.27/drivers/infiniband/hw/mlx4/
Dmad.c526 spin_lock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()
532 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()
1213 spin_lock(&sqp->tx_lock); in mlx4_ib_send_to_wire()
1219 spin_unlock(&sqp->tx_lock); in mlx4_ib_send_to_wire()
1456 spin_lock_init(&tun_qp->tx_lock); in mlx4_ib_alloc_pv_bufs()
1552 spin_lock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker()
1554 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker()
1569 spin_lock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker()
1571 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker()
1706 spin_lock(&sqp->tx_lock); in mlx4_ib_sqp_comp_worker()
[all …]
Dmlx4_ib.h397 spinlock_t tx_lock; member
/linux-4.1.27/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.1.27/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.h469 spinlock_t tx_lock; member
/linux-4.1.27/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.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h57 spinlock_t tx_lock; member
Dstmmac_main.c1313 spin_lock(&priv->tx_lock); in stmmac_tx_clean()
1397 spin_unlock(&priv->tx_lock); in stmmac_tx_clean()
1949 spin_lock(&priv->tx_lock); in stmmac_xmit()
1952 spin_unlock(&priv->tx_lock); in stmmac_xmit()
2078 spin_unlock(&priv->tx_lock); in stmmac_xmit()
2082 spin_unlock(&priv->tx_lock); in stmmac_xmit()
2918 spin_lock_init(&priv->tx_lock); in stmmac_dvr_probe()
/linux-4.1.27/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.1.27/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()
2411 spin_lock_irqsave(&gsm->tx_lock, flags); in gsmld_write_wakeup()
2416 spin_unlock_irqrestore(&gsm->tx_lock, flags); in gsmld_write_wakeup()
/linux-4.1.27/drivers/atm/
Diphase.c1668 spin_lock_irqsave(&iadev->tx_lock, flags);
1670 spin_unlock_irqrestore(&iadev->tx_lock, flags);
1692 spin_lock_irqsave(&iadev->tx_lock, flags);
1711 spin_unlock_irqrestore(&iadev->tx_lock, flags);
1719 spin_unlock_irqrestore(&iadev->tx_lock, flags);
1741 spin_unlock_irqrestore(&iadev->tx_lock, flags);
1914 spin_lock_init(&iadev->tx_lock);
2447 spin_lock_irqsave(&ia_dev[i]->tx_lock, flags);
2451 spin_unlock_irqrestore(&ia_dev[i]->tx_lock, flags);
2623 spin_lock_irqsave(&iadev->tx_lock, flags);
[all …]
Dsolos-pci.c122 spinlock_t tx_lock; member
1056 spin_lock_irqsave(&card->tx_lock, flags); in fpga_tx()
1131 spin_unlock_irqrestore(&card->tx_lock, flags); in fpga_tx()
1297 spin_lock_init(&card->tx_lock); in fpga_probe()
Diphase.h1003 spinlock_t tx_lock; member
/linux-4.1.27/drivers/tty/serial/
Dmpsc.c182 spinlock_t tx_lock; /* transmit lock */ member
1173 spin_lock_irqsave(&pi->tx_lock, iflags); in mpsc_tx_intr()
1211 spin_unlock_irqrestore(&pi->tx_lock, iflags); in mpsc_tx_intr()
1300 spin_lock_irqsave(&pi->tx_lock, iflags); in mpsc_start_tx()
1306 spin_unlock_irqrestore(&pi->tx_lock, iflags); in mpsc_start_tx()
1717 spin_lock_irqsave(&pi->tx_lock, iflags); in mpsc_console_write()
1768 spin_unlock_irqrestore(&pi->tx_lock, iflags); in mpsc_console_write()
2089 spin_lock_init(&pi->tx_lock); in mpsc_drv_probe()
Domap-serial.c125 spinlock_t tx_lock; member
/linux-4.1.27/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()
2203 spin_lock_init(&priv->tx_lock); in bcm_enetsw_open()
/linux-4.1.27/drivers/net/ethernet/dlink/
Ddl2k.h371 spinlock_t tx_lock; member
Ddl2k.c164 spin_lock_init (&np->tx_lock); in rio_probe1()
721 spin_lock(&np->tx_lock); in rio_free_tx()
723 spin_lock_irqsave(&np->tx_lock, flag); in rio_free_tx()
745 spin_unlock(&np->tx_lock); in rio_free_tx()
747 spin_unlock_irqrestore(&np->tx_lock, flag); in rio_free_tx()
/linux-4.1.27/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.1.27/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()
981 spin_lock_irqsave(&tq->tx_lock, flags); in vmxnet3_tq_xmit()
991 spin_unlock_irqrestore(&tq->tx_lock, flags); in vmxnet3_tq_xmit()
1074 spin_unlock_irqrestore(&tq->tx_lock, flags); in vmxnet3_tq_xmit()
1089 spin_unlock_irqrestore(&tq->tx_lock, flags); in vmxnet3_tq_xmit()
2598 spin_lock_init(&adapter->tx_queue[i].tx_lock); in vmxnet3_open()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c828 spin_lock_init(&adapter->tx_lock); in atl1c_sw_init()
2215 if (!spin_trylock_irqsave(&adapter->tx_lock, flags)) { in atl1c_xmit_frame()
2224 spin_unlock_irqrestore(&adapter->tx_lock, flags); in atl1c_xmit_frame()
2232 spin_unlock_irqrestore(&adapter->tx_lock, flags); in atl1c_xmit_frame()
2255 spin_unlock_irqrestore(&adapter->tx_lock, flags); in atl1c_xmit_frame()
2259 spin_unlock_irqrestore(&adapter->tx_lock, flags); in atl1c_xmit_frame()
Datl1c.h545 spinlock_t tx_lock; member
/linux-4.1.27/drivers/staging/rtl8192u/
Dr8192U_core.c959 spin_lock_irqsave(&priv->tx_lock, flags); in rtl8192_hard_data_xmit()
966 spin_unlock_irqrestore(&priv->tx_lock, flags); in rtl8192_hard_data_xmit()
983 spin_lock_irqsave(&priv->tx_lock, flags); in rtl8192_hard_start_xmit()
990 spin_unlock_irqrestore(&priv->tx_lock, flags); in rtl8192_hard_start_xmit()
997 spin_unlock_irqrestore(&priv->tx_lock, flags); in rtl8192_hard_start_xmit()
2238 spin_lock_init(&priv->tx_lock); in rtl8192_init_priv_lock()
4828 spin_lock_irqsave(&priv->tx_lock, flags); in rtl8192_try_wake_queue()
4830 spin_unlock_irqrestore(&priv->tx_lock, flags); in rtl8192_try_wake_queue()
Dr8192U.h902 spinlock_t tx_lock; member
/linux-4.1.27/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.1.27/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()
5038 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.1.27/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h587 spinlock_t tx_lock; member
Drtl_core.c1219 spin_lock_init(&priv->tx_lock); in rtl8192_init_priv_lock()
1763 spin_lock_irqsave(&priv->tx_lock, flags); in rtl819x_watchdog_wqcallback()
1769 spin_unlock_irqrestore(&priv->tx_lock, flags); in rtl819x_watchdog_wqcallback()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_hw.h1246 spinlock_t tx_lock; /* could use netdev tx lock? */ member
Dnes_nic.c1760 spin_lock_init(&nesvnic->tx_lock); in nes_netdev_init()
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Dwifi.h2293 spinlock_t tx_lock; member