Home
last modified time | relevance | path

Searched refs:tx_urb (Results 1 – 23 of 23) sorted by relevance

/Linux-v4.19/drivers/net/usb/
Dipheth.c144 struct urb *tx_urb; member
159 struct urb *tx_urb = NULL; in ipheth_alloc_urbs() local
164 tx_urb = usb_alloc_urb(0, GFP_KERNEL); in ipheth_alloc_urbs()
165 if (tx_urb == NULL) in ipheth_alloc_urbs()
173 GFP_KERNEL, &tx_urb->transfer_dma); in ipheth_alloc_urbs()
183 iphone->tx_urb = tx_urb; in ipheth_alloc_urbs()
191 tx_urb->transfer_dma); in ipheth_alloc_urbs()
195 usb_free_urb(tx_urb); in ipheth_alloc_urbs()
205 iphone->tx_urb->transfer_dma); in ipheth_free_urbs()
207 usb_free_urb(iphone->tx_urb); in ipheth_free_urbs()
[all …]
Dcatc.c193 struct urb *tx_urb, *rx_urb, *irq_urb, *ctrl_urb; member
368 catc->tx_urb->transfer_buffer_length = catc->tx_ptr; in catc_tx_run()
369 catc->tx_urb->transfer_buffer = catc->tx_buf[catc->tx_idx]; in catc_tx_run()
370 catc->tx_urb->dev = catc->usbdev; in catc_tx_run()
372 if ((status = usb_submit_urb(catc->tx_urb, GFP_ATOMIC)) < 0) in catc_tx_run()
466 usb_unlink_urb(catc->tx_urb); in catc_tx_timeout()
755 usb_kill_urb(catc->tx_urb); in catc_stop()
811 catc->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in catc_probe()
814 if ((!catc->ctrl_urb) || (!catc->tx_urb) || in catc_probe()
836 usb_fill_bulk_urb(catc->tx_urb, usbdev, usb_sndbulkpipe(usbdev, 1), in catc_probe()
[all …]
Drtl8150.c132 struct urb *rx_urb, *tx_urb, *intr_urb; member
341 dev->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in alloc_all_urbs()
342 if (!dev->tx_urb) { in alloc_all_urbs()
349 usb_free_urb(dev->tx_urb); in alloc_all_urbs()
359 usb_free_urb(dev->tx_urb); in free_all_urbs()
366 usb_kill_urb(dev->tx_urb); in unlink_all_urbs()
668 usb_unlink_urb(dev->tx_urb); in rtl8150_tx_timeout()
704 usb_fill_bulk_urb(dev->tx_urb, dev->udev, usb_sndbulkpipe(dev->udev, 2), in rtl8150_start_xmit()
706 if ((res = usb_submit_urb(dev->tx_urb, GFP_ATOMIC))) { in rtl8150_start_xmit()
Dkaweth.c232 struct urb *tx_urb; member
724 usb_kill_urb(kaweth->tx_urb); in kaweth_kill_urbs()
816 usb_fill_bulk_urb(kaweth->tx_urb, in kaweth_start_xmit()
825 if((res = usb_submit_urb(kaweth->tx_urb, GFP_ATOMIC))) in kaweth_start_xmit()
917 usb_unlink_urb(kaweth->tx_urb); in kaweth_tx_timeout()
1118 kaweth->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in kaweth_probe()
1119 if (!kaweth->tx_urb) in kaweth_probe()
1175 usb_free_urb(kaweth->tx_urb); in kaweth_probe()
1201 usb_free_urb(kaweth->tx_urb); in kaweth_disconnect()
Dpegasus.c703 usb_unlink_urb(pegasus->tx_urb); in pegasus_tx_timeout()
719 usb_fill_bulk_urb(pegasus->tx_urb, pegasus->usb, in pegasus_start_xmit()
723 if ((res = usb_submit_urb(pegasus->tx_urb, GFP_ATOMIC))) { in pegasus_start_xmit()
792 usb_free_urb(pegasus->tx_urb); in free_all_urbs()
799 usb_kill_urb(pegasus->tx_urb); in unlink_all_urbs()
811 pegasus->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in alloc_urbs()
812 if (!pegasus->tx_urb) { in alloc_urbs()
818 usb_free_urb(pegasus->tx_urb); in alloc_urbs()
Dhso.c223 struct urb *tx_urb; member
1915 serial->tx_urb, in hso_mux_serial_write_data()
1953 usb_fill_bulk_urb(serial->tx_urb, in hso_std_serial_write_data()
1961 result = usb_submit_urb(serial->tx_urb, GFP_ATOMIC); in hso_std_serial_write_data()
2219 if (serial->tx_urb) in hso_stop_serial_device()
2220 usb_kill_urb(serial->tx_urb); in hso_stop_serial_device()
2260 usb_free_urb(serial->tx_urb); in hso_serial_common_free()
2306 serial->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in hso_serial_common_create()
2307 if (!serial->tx_urb) in hso_serial_common_create()
2309 serial->tx_urb->transfer_buffer = NULL; in hso_serial_common_create()
[all …]
Dpegasus.h95 struct urb *rx_urb, *tx_urb, *intr_urb; member
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Dif_usb.c115 usb_kill_urb(cardp->tx_urb); in if_usb_free()
118 usb_free_urb(cardp->tx_urb); in if_usb_free()
119 cardp->tx_urb = NULL; in if_usb_free()
247 if (!(cardp->tx_urb = usb_alloc_urb(0, GFP_KERNEL))) { in if_usb_probe()
421 usb_fill_bulk_urb(cardp->tx_urb, cardp->udev, in usb_tx_block()
426 cardp->tx_urb->transfer_flags |= URB_ZERO_PACKET; in usb_tx_block()
428 if ((ret = usb_submit_urb(cardp->tx_urb, GFP_ATOMIC))) { in usb_tx_block()
834 usb_kill_urb(cardp->tx_urb); in if_usb_prog_firmware()
865 usb_kill_urb(cardp->tx_urb); in if_usb_prog_firmware()
955 usb_kill_urb(cardp->tx_urb); in if_usb_suspend()
Dif_usb.h48 struct urb *rx_urb, *tx_urb; member
/Linux-v4.19/drivers/net/ieee802154/
Datusb.c62 struct urb *tx_urb; member
395 usb_fill_control_urb(atusb->tx_urb, usb_dev, in atusb_xmit()
399 ret = usb_submit_urb(atusb->tx_urb, GFP_ATOMIC); in atusb_xmit()
1048 atusb->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in atusb_probe()
1049 if (!atusb->tx_urb) in atusb_probe()
1120 usb_kill_urb(atusb->tx_urb); in atusb_probe()
1121 usb_free_urb(atusb->tx_urb); in atusb_probe()
1138 usb_kill_urb(atusb->tx_urb); in atusb_disconnect()
1139 usb_free_urb(atusb->tx_urb); in atusb_disconnect()
/Linux-v4.19/drivers/media/rc/
Dimon.c119 struct urb *tx_urb; member
464 usb_free_urb(ictx->tx_urb); in free_imon_context()
574 usb_fill_int_urb(ictx->tx_urb, ictx->usbdev_intf0, pipe, in send_packet()
579 ictx->tx_urb->actual_length = 0; in send_packet()
597 usb_fill_control_urb(ictx->tx_urb, ictx->usbdev_intf0, in send_packet()
602 ictx->tx_urb->actual_length = 0; in send_packet()
609 retval = usb_submit_urb(ictx->tx_urb, GFP_KERNEL); in send_packet()
620 usb_kill_urb(ictx->tx_urb); in send_packet()
2178 struct urb *tx_urb; in imon_init_intf0() local
2190 tx_urb = usb_alloc_urb(0, GFP_KERNEL); in imon_init_intf0()
[all …]
/Linux-v4.19/drivers/net/wireless/marvell/libertas_tf/
Dif_usb.c81 usb_kill_urb(cardp->tx_urb); in if_usb_free()
85 usb_free_urb(cardp->tx_urb); in if_usb_free()
86 cardp->tx_urb = NULL; in if_usb_free()
204 cardp->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in if_usb_probe()
205 if (!cardp->tx_urb) in if_usb_probe()
387 urb = cardp->tx_urb; in usb_tx_block()
Dif_usb.h47 struct urb *rx_urb, *tx_urb, *cmd_urb; member
/Linux-v4.19/drivers/staging/wlan-ng/
Dprism2usb.c175 usb_kill_urb(&hw->tx_urb); in prism2sta_disconnect_usb()
236 usb_kill_urb(&hw->tx_urb); in prism2sta_suspend()
Dhfa384x_usb.c164 static int submit_tx_urb(struct hfa384x *hw, struct urb *tx_urb, gfp_t flags);
394 static int submit_tx_urb(struct hfa384x *hw, struct urb *tx_urb, gfp_t memflags) in submit_tx_urb() argument
403 result = usb_submit_urb(tx_urb, memflags); in submit_tx_urb()
486 usb_kill_urb(&hw->tx_urb); in hfa384x_usb_defer()
569 usb_init_urb(&hw->tx_urb); in hfa384x_create()
2612 if (hw->tx_urb.status == -EINPROGRESS) { in hfa384x_drvr_txframe()
2678 usb_fill_bulk_urb(&hw->tx_urb, hw->usb, in hfa384x_drvr_txframe()
2682 hw->tx_urb.transfer_flags |= USB_QUEUE_BULK; in hfa384x_drvr_txframe()
2685 ret = submit_tx_urb(hw, &hw->tx_urb, GFP_ATOMIC); in hfa384x_drvr_txframe()
Dhfa384x.h1236 struct urb tx_urb; member
/Linux-v4.19/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_core.c4643 struct rtl8xxxu_tx_urb *tx_urb, *tmp; in rtl8xxxu_free_tx_resources() local
4647 list_for_each_entry_safe(tx_urb, tmp, &priv->tx_urb_free_list, list) { in rtl8xxxu_free_tx_resources()
4648 list_del(&tx_urb->list); in rtl8xxxu_free_tx_resources()
4650 usb_free_urb(&tx_urb->urb); in rtl8xxxu_free_tx_resources()
4658 struct rtl8xxxu_tx_urb *tx_urb; in rtl8xxxu_alloc_tx_urb() local
4662 tx_urb = list_first_entry_or_null(&priv->tx_urb_free_list, in rtl8xxxu_alloc_tx_urb()
4664 if (tx_urb) { in rtl8xxxu_alloc_tx_urb()
4665 list_del(&tx_urb->list); in rtl8xxxu_alloc_tx_urb()
4676 return tx_urb; in rtl8xxxu_alloc_tx_urb()
4680 struct rtl8xxxu_tx_urb *tx_urb) in rtl8xxxu_free_tx_urb() argument
[all …]
/Linux-v4.19/drivers/net/wireless/zydas/
Dzd1201.h35 struct urb *tx_urb; member
Dzd1201.c792 struct urb *urb = zd->tx_urb; in zd1201_hard_start_xmit()
823 err = usb_submit_urb(zd->tx_urb, GFP_ATOMIC); in zd1201_hard_start_xmit()
844 usb_unlink_urb(zd->tx_urb); in zd1201_tx_timeout()
1763 zd->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in zd1201_probe()
1764 if (!zd->rx_urb || !zd->tx_urb) { in zd1201_probe()
1825 usb_free_urb(zd->tx_urb); in zd1201_probe()
1847 if (zd->tx_urb) { in zd1201_disconnect()
1848 usb_kill_urb(zd->tx_urb); in zd1201_disconnect()
1849 usb_free_urb(zd->tx_urb); in zd1201_disconnect()
/Linux-v4.19/drivers/net/wireless/atmel/
Dat76c50x-usb.c1778 if (priv->tx_urb->status == -EINPROGRESS) { in at76_mac80211_tx()
1826 usb_fill_bulk_urb(priv->tx_urb, priv->udev, priv->tx_pipe, tx_buffer, in at76_mac80211_tx()
1828 ret = usb_submit_urb(priv->tx_urb, GFP_ATOMIC); in at76_mac80211_tx()
1834 priv->tx_urb, in at76_mac80211_tx()
1835 priv->tx_urb->hcpriv, priv->tx_urb->complete); in at76_mac80211_tx()
2272 priv->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in at76_alloc_urbs()
2273 if (!priv->rx_urb || !priv->tx_urb) { in at76_alloc_urbs()
2414 if (priv->tx_urb) { in at76_delete_device()
2415 usb_kill_urb(priv->tx_urb); in at76_delete_device()
2416 usb_free_urb(priv->tx_urb); in at76_delete_device()
Dat76c50x-usb.h380 struct urb *tx_urb; /* URB for sending data */ member
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dusb.c799 struct urb *tx_urb; in mwifiex_usb_construct_send_urb() local
804 tx_urb = context->urb; in mwifiex_usb_construct_send_urb()
808 usb_fill_int_urb(tx_urb, card->udev, in mwifiex_usb_construct_send_urb()
813 usb_fill_bulk_urb(tx_urb, card->udev, in mwifiex_usb_construct_send_urb()
818 tx_urb->transfer_flags |= URB_ZERO_PACKET; in mwifiex_usb_construct_send_urb()
833 if (usb_submit_urb(tx_urb, GFP_ATOMIC)) { in mwifiex_usb_construct_send_urb()
/Linux-v4.19/drivers/staging/rtl8192u/
Dr8192U_core.c1017 static void rtl8192_tx_isr(struct urb *tx_urb) in rtl8192_tx_isr() argument
1019 struct sk_buff *skb = (struct sk_buff *)tx_urb->context; in rtl8192_tx_isr()
1035 if (tx_urb->status == 0) { in rtl8192_tx_isr()
1049 usb_free_urb(tx_urb); in rtl8192_tx_isr()
1243 struct urb *tx_urb; in rtl819xU_tx_cmd() local
1250 tx_urb = usb_alloc_urb(0, GFP_ATOMIC); in rtl819xU_tx_cmd()
1251 if (!tx_urb) { in rtl819xU_tx_cmd()
1270 usb_fill_bulk_urb(tx_urb, priv->udev, in rtl819xU_tx_cmd()
1274 status = usb_submit_urb(tx_urb, GFP_ATOMIC); in rtl819xU_tx_cmd()
1452 static void tx_zero_isr(struct urb *tx_urb) in tx_zero_isr() argument
[all …]