Home
last modified time | relevance | path

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

1234

/drivers/net/wimax/i2400m/
Dsdio-tx.c128 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400ms_bus_tx_kick()
131 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400ms_bus_tx_kick()
156 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400ms_tx_setup()
158 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400ms_tx_setup()
171 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400ms_tx_release()
173 spin_unlock_irqrestore(&i2400m->tx_lock, flags); in i2400ms_tx_release()
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()
290 spin_lock_irqsave(&i2400m->tx_lock, flags); in i2400m_net_wake_tx()
299 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()
/drivers/net/wireless/ath/ath9k/
Dhif_usb.c155 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_mgmt_cb()
157 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_mgmt_cb()
162 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_mgmt_cb()
267 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
269 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
273 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
288 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
294 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb()
373 spin_lock_irqsave(&hif_dev->tx.tx_lock, flags); in hif_usb_send_tx()
376 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.c167 spin_lock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
169 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
172 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet()
/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()
/drivers/block/
Dnbd.c127 mutex_lock(&nbd->tx_lock); in sock_shutdown()
134 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()
667 mutex_unlock(&nbd->tx_lock); in __nbd_ioctl()
672 mutex_lock(&nbd->tx_lock); in __nbd_ioctl()
679 mutex_lock(&nbd->tx_lock); in __nbd_ioctl()
730 mutex_lock(&nbd->tx_lock); in nbd_ioctl()
732 mutex_unlock(&nbd->tx_lock); in nbd_ioctl()
[all …]
/drivers/net/wireless/p54/
Dp54spi.c444 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_wq_tx()
452 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_wq_tx()
469 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_wq_tx()
471 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_wq_tx()
485 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_op_tx()
487 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_op_tx()
588 spin_lock_irqsave(&priv->tx_lock, flags); in p54spi_op_stop()
590 spin_unlock_irqrestore(&priv->tx_lock, flags); in p54spi_op_stop()
655 spin_lock_init(&priv->tx_lock); in p54spi_probe()
/drivers/net/irda/
Dsir_dev.c369 spin_lock_irqsave(&dev->tx_lock, flags); /* serialize with other tx operations */ in sirdev_raw_write()
371 spin_unlock_irqrestore(&dev->tx_lock, flags); in sirdev_raw_write()
373 spin_lock_irqsave(&dev->tx_lock, flags); in sirdev_raw_write()
389 spin_unlock_irqrestore(&dev->tx_lock, flags); in sirdev_raw_write()
440 spin_lock_irqsave(&dev->tx_lock, flags); in sirdev_write_complete()
526 spin_unlock_irqrestore(&dev->tx_lock, flags); in sirdev_write_complete()
636 if(spin_is_locked(&dev->tx_lock)) { in sirdev_hard_xmit()
641 spin_lock_irqsave(&dev->tx_lock, flags); in sirdev_hard_xmit()
671 spin_unlock_irqrestore(&dev->tx_lock, flags); in sirdev_hard_xmit()
912 spin_lock_init(&dev->tx_lock); in sirdev_get_instance()
/drivers/rpmsg/
Dvirtio_rpmsg_bus.c65 struct mutex tx_lock; member
582 mutex_lock(&vrp->tx_lock); in get_a_tx_buf()
594 mutex_unlock(&vrp->tx_lock); in get_a_tx_buf()
618 mutex_lock(&vrp->tx_lock); in rpmsg_upref_sleepers()
625 mutex_unlock(&vrp->tx_lock); in rpmsg_upref_sleepers()
645 mutex_lock(&vrp->tx_lock); in rpmsg_downref_sleepers()
652 mutex_unlock(&vrp->tx_lock); in rpmsg_downref_sleepers()
763 mutex_lock(&vrp->tx_lock); in rpmsg_send_offchannel_raw()
782 mutex_unlock(&vrp->tx_lock); in rpmsg_send_offchannel_raw()
947 mutex_init(&vrp->tx_lock); in rpmsg_probe()
/drivers/staging/nvec/
Dnvec.c261 spin_lock_irqsave(&nvec->tx_lock, flags); in nvec_write_async()
263 spin_unlock_irqrestore(&nvec->tx_lock, flags); in nvec_write_async()
332 spin_lock_irqsave(&nvec->tx_lock, flags); in nvec_request_master()
335 spin_unlock_irqrestore(&nvec->tx_lock, flags); in nvec_request_master()
346 spin_lock_irqsave(&nvec->tx_lock, flags); in nvec_request_master()
353 spin_unlock_irqrestore(&nvec->tx_lock, flags); in nvec_request_master()
499 spin_lock(&nvec->tx_lock); in nvec_tx_set()
512 spin_unlock(&nvec->tx_lock); in nvec_tx_set()
792 spin_lock_init(&nvec->tx_lock); in tegra_nvec_probe()
/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()
400 spin_lock_init(&pnd->tx_lock); in usbpn_probe()
Dcatc.c170 spinlock_t tx_lock, ctrl_lock; member
399 spin_lock_irqsave(&catc->tx_lock, flags); in catc_tx_done()
411 spin_unlock_irqrestore(&catc->tx_lock, flags); in catc_tx_done()
422 spin_lock_irqsave(&catc->tx_lock, flags); in catc_start_xmit()
443 spin_unlock_irqrestore(&catc->tx_lock, flags); in catc_start_xmit()
789 spin_lock_init(&catc->tx_lock); in catc_probe()
/drivers/net/wireless/ath/ath6kl/
Dhtc.c410 spin_lock_bh(&target->tx_lock); in htc_tx_comp_update()
422 spin_unlock_bh(&target->tx_lock); in htc_tx_comp_update()
845 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue()
850 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue()
875 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue()
908 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue()
935 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_from_queue()
948 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_try()
950 spin_unlock_bh(&target->tx_lock); in ath6kl_htc_tx_try()
969 spin_lock_bh(&target->tx_lock); in ath6kl_htc_tx_try()
[all …]
/drivers/staging/sbe-2t3e3/
Dmain.c51 spin_lock_irqsave(&sc->ether.tx_lock, flags); in t3e3_if_start_xmit()
72 spin_unlock_irqrestore(&sc->ether.tx_lock, flags); in t3e3_if_start_xmit()
126 spin_unlock_irqrestore(&sc->ether.tx_lock, flags); in t3e3_if_start_xmit()
/drivers/net/
Drionet.c62 spinlock_t tx_lock; member
182 if (!spin_trylock(&rnet->tx_lock)) { in rionet_start_xmit()
192 spin_unlock_irqrestore(&rnet->tx_lock, flags); in rionet_start_xmit()
215 spin_unlock_irqrestore(&rnet->tx_lock, flags); in rionet_start_xmit()
478 spin_lock_init(&rnet->tx_lock); in rionet_setup_netdev()
Dxen-netfront.c91 spinlock_t tx_lock; member
503 spin_lock_irqsave(&np->tx_lock, flags); in xennet_start_xmit()
508 spin_unlock_irqrestore(&np->tx_lock, flags); in xennet_start_xmit()
579 spin_unlock_irqrestore(&np->tx_lock, flags); in xennet_start_xmit()
1239 spin_lock_irqsave(&np->tx_lock, flags); in xennet_interrupt()
1248 spin_unlock_irqrestore(&np->tx_lock, flags); in xennet_interrupt()
1289 spin_lock_init(&np->tx_lock); in xennet_create_dev()
1423 spin_lock_irq(&info->tx_lock); in xennet_disconnect_backend()
1425 spin_unlock_irq(&info->tx_lock); in xennet_disconnect_backend()
1658 spin_lock_irq(&np->tx_lock); in xennet_connect()
[all …]
/drivers/net/ethernet/seeq/
Dsgiseeq.c110 spinlock_t tx_lock; member
168 spin_lock_irq(&sp->tx_lock); in sgiseeq_set_mac_address()
170 spin_unlock_irq(&sp->tx_lock); in sgiseeq_set_mac_address()
506 spin_lock(&sp->tx_lock); in sgiseeq_interrupt()
521 spin_unlock(&sp->tx_lock); in sgiseeq_interrupt()
592 spin_lock_irqsave(&sp->tx_lock, flags); in sgiseeq_start_xmit()
598 spin_unlock_irqrestore(&sp->tx_lock, flags); in sgiseeq_start_xmit()
644 spin_unlock_irqrestore(&sp->tx_lock, flags); in sgiseeq_start_xmit()
/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c350 spin_lock(&fep->tx_lock); in fs_enet_tx()
429 spin_unlock(&fep->tx_lock); in fs_enet_tx()
639 spin_lock_irqsave(&fep->tx_lock, flags); in fs_enet_start_xmit()
648 spin_unlock_irqrestore(&fep->tx_lock, flags); in fs_enet_start_xmit()
704 spin_unlock_irqrestore(&fep->tx_lock, flags); in fs_enet_start_xmit()
867 spin_lock(&fep->tx_lock); in fs_enet_close()
869 spin_unlock(&fep->tx_lock); in fs_enet_close()
1077 spin_lock_init(&fep->tx_lock); in fs_enet_probe()
/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()
769 spin_lock_irqsave(&c2_port->tx_lock, flags); in c2_xmit_frame()
773 spin_unlock_irqrestore(&c2_port->tx_lock, flags); in c2_xmit_frame()
835 spin_unlock_irqrestore(&c2_port->tx_lock, flags); in c2_xmit_frame()
905 spin_lock_init(&c2_port->tx_lock); in c2_devinit()
/drivers/net/ethernet/faraday/
Dftmac100.c75 spinlock_t tx_lock; member
618 spin_lock(&priv->tx_lock); in ftmac100_tx_complete_packet()
620 spin_unlock(&priv->tx_lock); in ftmac100_tx_complete_packet()
651 spin_lock(&priv->tx_lock); in ftmac100_xmit()
658 spin_unlock(&priv->tx_lock); in ftmac100_xmit()
1095 spin_lock_init(&priv->tx_lock); in ftmac100_probe()
/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()

1234