| /Linux-v5.4/drivers/net/usb/ |
| D | ipheth.c | 91 struct urb *tx_urb; member 106 struct urb *tx_urb = NULL; in ipheth_alloc_urbs() local 111 tx_urb = usb_alloc_urb(0, GFP_KERNEL); in ipheth_alloc_urbs() 112 if (tx_urb == NULL) in ipheth_alloc_urbs() 120 GFP_KERNEL, &tx_urb->transfer_dma); in ipheth_alloc_urbs() 130 iphone->tx_urb = tx_urb; in ipheth_alloc_urbs() 138 tx_urb->transfer_dma); in ipheth_alloc_urbs() 142 usb_free_urb(tx_urb); in ipheth_alloc_urbs() 152 iphone->tx_urb->transfer_dma); in ipheth_free_urbs() 154 usb_free_urb(iphone->tx_urb); in ipheth_free_urbs() [all …]
|
| D | catc.c | 182 struct urb *tx_urb, *rx_urb, *irq_urb, *ctrl_urb; member 357 catc->tx_urb->transfer_buffer_length = catc->tx_ptr; in catc_tx_run() 358 catc->tx_urb->transfer_buffer = catc->tx_buf[catc->tx_idx]; in catc_tx_run() 359 catc->tx_urb->dev = catc->usbdev; in catc_tx_run() 361 if ((status = usb_submit_urb(catc->tx_urb, GFP_ATOMIC)) < 0) in catc_tx_run() 455 usb_unlink_urb(catc->tx_urb); in catc_tx_timeout() 744 usb_kill_urb(catc->tx_urb); in catc_stop() 800 catc->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in catc_probe() 803 if ((!catc->ctrl_urb) || (!catc->tx_urb) || in catc_probe() 825 usb_fill_bulk_urb(catc->tx_urb, usbdev, usb_sndbulkpipe(usbdev, 1), in catc_probe() [all …]
|
| D | rtl8150.c | 129 struct urb *rx_urb, *tx_urb, *intr_urb; member 338 dev->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in alloc_all_urbs() 339 if (!dev->tx_urb) { in alloc_all_urbs() 346 usb_free_urb(dev->tx_urb); in alloc_all_urbs() 356 usb_free_urb(dev->tx_urb); in free_all_urbs() 363 usb_kill_urb(dev->tx_urb); in unlink_all_urbs() 662 usb_unlink_urb(dev->tx_urb); in rtl8150_tx_timeout() 698 usb_fill_bulk_urb(dev->tx_urb, dev->udev, usb_sndbulkpipe(dev->udev, 2), in rtl8150_start_xmit() 700 if ((res = usb_submit_urb(dev->tx_urb, GFP_ATOMIC))) { in rtl8150_start_xmit()
|
| D | kaweth.c | 220 struct urb *tx_urb; member 712 usb_kill_urb(kaweth->tx_urb); in kaweth_kill_urbs() 804 usb_fill_bulk_urb(kaweth->tx_urb, in kaweth_start_xmit() 813 if((res = usb_submit_urb(kaweth->tx_urb, GFP_ATOMIC))) in kaweth_start_xmit() 905 usb_unlink_urb(kaweth->tx_urb); in kaweth_tx_timeout() 1106 kaweth->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in kaweth_probe() 1107 if (!kaweth->tx_urb) in kaweth_probe() 1163 usb_free_urb(kaweth->tx_urb); in kaweth_probe() 1189 usb_free_urb(kaweth->tx_urb); in kaweth_disconnect()
|
| D | pegasus.c | 700 usb_unlink_urb(pegasus->tx_urb); in pegasus_tx_timeout() 716 usb_fill_bulk_urb(pegasus->tx_urb, pegasus->usb, in pegasus_start_xmit() 720 if ((res = usb_submit_urb(pegasus->tx_urb, GFP_ATOMIC))) { in pegasus_start_xmit() 789 usb_free_urb(pegasus->tx_urb); in free_all_urbs() 796 usb_kill_urb(pegasus->tx_urb); in unlink_all_urbs() 808 pegasus->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in alloc_urbs() 809 if (!pegasus->tx_urb) { in alloc_urbs() 815 usb_free_urb(pegasus->tx_urb); in alloc_urbs()
|
| D | hso.c | 209 struct urb *tx_urb; member 1901 serial->tx_urb, in hso_mux_serial_write_data() 1939 usb_fill_bulk_urb(serial->tx_urb, in hso_std_serial_write_data() 1947 result = usb_submit_urb(serial->tx_urb, GFP_ATOMIC); in hso_std_serial_write_data() 2205 if (serial->tx_urb) in hso_stop_serial_device() 2206 usb_kill_urb(serial->tx_urb); in hso_stop_serial_device() 2246 usb_free_urb(serial->tx_urb); in hso_serial_common_free() 2292 serial->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in hso_serial_common_create() 2293 if (!serial->tx_urb) in hso_serial_common_create() 2295 serial->tx_urb->transfer_buffer = NULL; in hso_serial_common_create() [all …]
|
| D | pegasus.h | 92 struct urb *rx_urb, *tx_urb, *intr_urb; member
|
| /Linux-v5.4/drivers/net/wireless/marvell/libertas/ |
| D | if_usb.c | 117 usb_kill_urb(cardp->tx_urb); in if_usb_free() 120 usb_free_urb(cardp->tx_urb); in if_usb_free() 121 cardp->tx_urb = NULL; in if_usb_free() 249 if (!(cardp->tx_urb = usb_alloc_urb(0, GFP_KERNEL))) { in if_usb_probe() 426 usb_fill_bulk_urb(cardp->tx_urb, cardp->udev, in usb_tx_block() 431 cardp->tx_urb->transfer_flags |= URB_ZERO_PACKET; in usb_tx_block() 433 if ((ret = usb_submit_urb(cardp->tx_urb, GFP_ATOMIC))) { in usb_tx_block() 837 usb_kill_urb(cardp->tx_urb); in if_usb_prog_firmware() 868 usb_kill_urb(cardp->tx_urb); in if_usb_prog_firmware() 958 usb_kill_urb(cardp->tx_urb); in if_usb_suspend()
|
| D | if_usb.h | 48 struct urb *rx_urb, *tx_urb; member
|
| /Linux-v5.4/drivers/net/ieee802154/ |
| D | atusb.c | 59 struct urb *tx_urb; member 392 usb_fill_control_urb(atusb->tx_urb, usb_dev, in atusb_xmit() 396 ret = usb_submit_urb(atusb->tx_urb, GFP_ATOMIC); in atusb_xmit() 1045 atusb->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in atusb_probe() 1046 if (!atusb->tx_urb) in atusb_probe() 1117 usb_kill_urb(atusb->tx_urb); in atusb_probe() 1118 usb_free_urb(atusb->tx_urb); in atusb_probe() 1135 usb_kill_urb(atusb->tx_urb); in atusb_disconnect() 1136 usb_free_urb(atusb->tx_urb); in atusb_disconnect()
|
| /Linux-v5.4/drivers/media/rc/ |
| D | imon.c | 110 struct urb *tx_urb; member 455 usb_free_urb(ictx->tx_urb); in free_imon_context() 565 usb_fill_int_urb(ictx->tx_urb, ictx->usbdev_intf0, pipe, in send_packet() 570 ictx->tx_urb->actual_length = 0; in send_packet() 588 usb_fill_control_urb(ictx->tx_urb, ictx->usbdev_intf0, in send_packet() 593 ictx->tx_urb->actual_length = 0; in send_packet() 600 retval = usb_submit_urb(ictx->tx_urb, GFP_KERNEL); in send_packet() 611 usb_kill_urb(ictx->tx_urb); in send_packet() 2174 struct urb *tx_urb; in imon_init_intf0() local 2186 tx_urb = usb_alloc_urb(0, GFP_KERNEL); in imon_init_intf0() [all …]
|
| /Linux-v5.4/drivers/net/wireless/marvell/libertas_tf/ |
| D | if_usb.c | 77 usb_kill_urb(cardp->tx_urb); in if_usb_free() 81 usb_free_urb(cardp->tx_urb); in if_usb_free() 82 cardp->tx_urb = NULL; in if_usb_free() 206 cardp->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in if_usb_probe() 207 if (!cardp->tx_urb) in if_usb_probe() 384 urb = cardp->tx_urb; in usb_tx_block()
|
| D | if_usb.h | 43 struct urb *rx_urb, *tx_urb, *cmd_urb; member
|
| /Linux-v5.4/drivers/staging/wlan-ng/ |
| D | prism2usb.c | 175 usb_kill_urb(&hw->tx_urb); in prism2sta_disconnect_usb() 236 usb_kill_urb(&hw->tx_urb); in prism2sta_suspend()
|
| D | hfa384x_usb.c | 164 static int submit_tx_urb(struct hfa384x *hw, struct urb *tx_urb, gfp_t flags); 388 static int submit_tx_urb(struct hfa384x *hw, struct urb *tx_urb, gfp_t memflags) in submit_tx_urb() argument 397 result = usb_submit_urb(tx_urb, memflags); in submit_tx_urb() 480 usb_kill_urb(&hw->tx_urb); in hfa384x_usb_defer() 563 usb_init_urb(&hw->tx_urb); in hfa384x_create() 2492 if (hw->tx_urb.status == -EINPROGRESS) { in hfa384x_drvr_txframe() 2558 usb_fill_bulk_urb(&hw->tx_urb, hw->usb, in hfa384x_drvr_txframe() 2562 hw->tx_urb.transfer_flags |= USB_QUEUE_BULK; in hfa384x_drvr_txframe() 2565 ret = submit_tx_urb(hw, &hw->tx_urb, GFP_ATOMIC); in hfa384x_drvr_txframe()
|
| D | hfa384x.h | 1236 struct urb tx_urb; member
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtl8xxxu/ |
| D | rtl8xxxu_core.c | 4640 struct rtl8xxxu_tx_urb *tx_urb, *tmp; in rtl8xxxu_free_tx_resources() local 4644 list_for_each_entry_safe(tx_urb, tmp, &priv->tx_urb_free_list, list) { in rtl8xxxu_free_tx_resources() 4645 list_del(&tx_urb->list); in rtl8xxxu_free_tx_resources() 4647 usb_free_urb(&tx_urb->urb); in rtl8xxxu_free_tx_resources() 4655 struct rtl8xxxu_tx_urb *tx_urb; in rtl8xxxu_alloc_tx_urb() local 4659 tx_urb = list_first_entry_or_null(&priv->tx_urb_free_list, in rtl8xxxu_alloc_tx_urb() 4661 if (tx_urb) { in rtl8xxxu_alloc_tx_urb() 4662 list_del(&tx_urb->list); in rtl8xxxu_alloc_tx_urb() 4673 return tx_urb; in rtl8xxxu_alloc_tx_urb() 4677 struct rtl8xxxu_tx_urb *tx_urb) in rtl8xxxu_free_tx_urb() argument [all …]
|
| /Linux-v5.4/drivers/net/wireless/zydas/ |
| D | zd1201.h | 32 struct urb *tx_urb; member
|
| D | zd1201.c | 789 struct urb *urb = zd->tx_urb; in zd1201_hard_start_xmit() 820 err = usb_submit_urb(zd->tx_urb, GFP_ATOMIC); in zd1201_hard_start_xmit() 841 usb_unlink_urb(zd->tx_urb); in zd1201_tx_timeout() 1761 zd->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in zd1201_probe() 1762 if (!zd->rx_urb || !zd->tx_urb) { in zd1201_probe() 1823 usb_free_urb(zd->tx_urb); in zd1201_probe() 1845 if (zd->tx_urb) { in zd1201_disconnect() 1846 usb_kill_urb(zd->tx_urb); in zd1201_disconnect() 1847 usb_free_urb(zd->tx_urb); in zd1201_disconnect()
|
| /Linux-v5.4/drivers/net/wireless/atmel/ |
| D | at76c50x-usb.c | 1773 if (priv->tx_urb->status == -EINPROGRESS) { in at76_mac80211_tx() 1821 usb_fill_bulk_urb(priv->tx_urb, priv->udev, priv->tx_pipe, tx_buffer, in at76_mac80211_tx() 1823 ret = usb_submit_urb(priv->tx_urb, GFP_ATOMIC); in at76_mac80211_tx() 1829 priv->tx_urb, in at76_mac80211_tx() 1830 priv->tx_urb->hcpriv, priv->tx_urb->complete); in at76_mac80211_tx() 2267 priv->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in at76_alloc_urbs() 2268 if (!priv->rx_urb || !priv->tx_urb) { in at76_alloc_urbs() 2409 if (priv->tx_urb) { in at76_delete_device() 2410 usb_kill_urb(priv->tx_urb); in at76_delete_device() 2411 usb_free_urb(priv->tx_urb); in at76_delete_device()
|
| D | at76c50x-usb.h | 376 struct urb *tx_urb; /* URB for sending data */ member
|
| /Linux-v5.4/drivers/net/wireless/marvell/mwifiex/ |
| D | usb.c | 812 struct urb *tx_urb; in mwifiex_usb_construct_send_urb() local 817 tx_urb = context->urb; in mwifiex_usb_construct_send_urb() 821 usb_fill_int_urb(tx_urb, card->udev, in mwifiex_usb_construct_send_urb() 826 usb_fill_bulk_urb(tx_urb, card->udev, in mwifiex_usb_construct_send_urb() 831 tx_urb->transfer_flags |= URB_ZERO_PACKET; in mwifiex_usb_construct_send_urb() 846 if (usb_submit_urb(tx_urb, GFP_ATOMIC)) { in mwifiex_usb_construct_send_urb()
|
| /Linux-v5.4/drivers/staging/rtl8192u/ |
| D | r8192U_core.c | 972 static void rtl8192_tx_isr(struct urb *tx_urb) in rtl8192_tx_isr() argument 974 struct sk_buff *skb = (struct sk_buff *)tx_urb->context; in rtl8192_tx_isr() 990 if (tx_urb->status == 0) { in rtl8192_tx_isr() 1004 usb_free_urb(tx_urb); in rtl8192_tx_isr() 1198 struct urb *tx_urb; in rtl819xU_tx_cmd() local 1205 tx_urb = usb_alloc_urb(0, GFP_ATOMIC); in rtl819xU_tx_cmd() 1206 if (!tx_urb) { in rtl819xU_tx_cmd() 1225 usb_fill_bulk_urb(tx_urb, priv->udev, in rtl819xU_tx_cmd() 1229 status = usb_submit_urb(tx_urb, GFP_ATOMIC); in rtl819xU_tx_cmd() 1407 static void tx_zero_isr(struct urb *tx_urb) in tx_zero_isr() argument [all …]
|