/drivers/net/irda/ |
D | kingsun-sir.c | 123 struct urb *tx_urb; member 174 usb_fill_int_urb(kingsun->tx_urb, kingsun->usbdev, in kingsun_hard_xmit() 179 if ((ret = usb_submit_urb(kingsun->tx_urb, GFP_ATOMIC))) { in kingsun_hard_xmit() 279 kingsun->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in kingsun_net_open() 280 if (!kingsun->tx_urb) in kingsun_net_open() 323 if (kingsun->tx_urb) { in kingsun_net_open() 324 usb_free_urb(kingsun->tx_urb); in kingsun_net_open() 325 kingsun->tx_urb = NULL; in kingsun_net_open() 353 usb_kill_urb(kingsun->tx_urb); in kingsun_net_close() 356 usb_free_urb(kingsun->tx_urb); in kingsun_net_close() [all …]
|
D | ks959-sir.c | 179 struct urb *tx_urb; member 312 usb_fill_control_urb(kingsun->tx_urb, kingsun->usbdev, in ks959_submit_tx_fragment() 317 kingsun->tx_urb->status = 0; in ks959_submit_tx_fragment() 318 ret = usb_submit_urb(kingsun->tx_urb, GFP_ATOMIC); in ks959_submit_tx_fragment() 520 kingsun->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in ks959_net_open() 521 if (!kingsun->tx_urb) in ks959_net_open() 578 usb_free_urb(kingsun->tx_urb); in ks959_net_open() 579 kingsun->tx_urb = NULL; in ks959_net_open() 604 usb_kill_urb(kingsun->tx_urb); in ks959_net_close() 605 usb_free_urb(kingsun->tx_urb); in ks959_net_close() [all …]
|
D | ksdazzle-sir.c | 144 struct urb *tx_urb; member 227 usb_fill_int_urb(kingsun->tx_urb, kingsun->usbdev, in ksdazzle_submit_tx_fragment() 230 kingsun->tx_urb->status = 0; in ksdazzle_submit_tx_fragment() 231 ret = usb_submit_urb(kingsun->tx_urb, GFP_ATOMIC); in ksdazzle_submit_tx_fragment() 417 kingsun->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in ksdazzle_net_open() 418 if (!kingsun->tx_urb) in ksdazzle_net_open() 473 usb_free_urb(kingsun->tx_urb); in ksdazzle_net_open() 474 kingsun->tx_urb = NULL; in ksdazzle_net_open() 499 usb_kill_urb(kingsun->tx_urb); in ksdazzle_net_close() 500 usb_free_urb(kingsun->tx_urb); in ksdazzle_net_close() [all …]
|
D | mcs7780.c | 509 mcs->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in mcs_setup_urbs() 510 if (!mcs->tx_urb) in mcs_setup_urbs() 515 usb_free_urb(mcs->tx_urb); in mcs_setup_urbs() 516 mcs->tx_urb = NULL; in mcs_setup_urbs() 693 usb_kill_urb(mcs->tx_urb); in mcs_net_close() 694 usb_free_urb(mcs->tx_urb); in mcs_net_close() 760 usb_free_urb(mcs->tx_urb); in mcs_net_open() 858 usb_fill_bulk_urb(mcs->tx_urb, mcs->usbdev, in mcs_hard_xmit() 862 if ((ret = usb_submit_urb(mcs->tx_urb, GFP_ATOMIC))) { in mcs_hard_xmit()
|
D | irda-usb.c | 389 struct urb *urb = self->tx_urb; in irda_usb_hard_xmit() 555 IRDA_ASSERT(urb == self->tx_urb, return;); in write_bulk_callback() 666 urb = self->tx_urb; in irda_usb_net_timeout() 1272 usb_kill_urb(self->tx_urb); in irda_usb_net_close() 1650 self->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in irda_usb_probe() 1651 if (!self->tx_urb) { in irda_usb_probe() 1773 usb_free_urb(self->tx_urb); in irda_usb_probe() 1830 usb_kill_urb(self->tx_urb); in irda_usb_disconnect() 1845 usb_free_urb(self->tx_urb); in irda_usb_disconnect() 1862 if (self->tx_urb != NULL) in irda_usb_suspend() [all …]
|
D | irda-usb.h | 151 struct urb *tx_urb; /* URB used to send data frames */ member
|
/drivers/net/usb/ |
D | ipheth.c | 143 struct urb *tx_urb; member 158 struct urb *tx_urb = NULL; in ipheth_alloc_urbs() local 163 tx_urb = usb_alloc_urb(0, GFP_KERNEL); in ipheth_alloc_urbs() 164 if (tx_urb == NULL) in ipheth_alloc_urbs() 172 GFP_KERNEL, &tx_urb->transfer_dma); in ipheth_alloc_urbs() 182 iphone->tx_urb = tx_urb; in ipheth_alloc_urbs() 190 tx_urb->transfer_dma); in ipheth_alloc_urbs() 194 usb_free_urb(tx_urb); in ipheth_alloc_urbs() 204 iphone->tx_urb->transfer_dma); in ipheth_free_urbs() 206 usb_free_urb(iphone->tx_urb); in ipheth_free_urbs() [all …]
|
D | catc.c | 193 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() 750 usb_kill_urb(catc->tx_urb); in catc_stop() 809 catc->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in catc_probe() 812 if ((!catc->ctrl_urb) || (!catc->tx_urb) || in catc_probe() 834 usb_fill_bulk_urb(catc->tx_urb, usbdev, usb_sndbulkpipe(usbdev, 1), in catc_probe() [all …]
|
D | kaweth.c | 232 struct urb *tx_urb; member 735 usb_kill_urb(kaweth->tx_urb); in kaweth_kill_urbs() 827 usb_fill_bulk_urb(kaweth->tx_urb, in kaweth_start_xmit() 836 if((res = usb_submit_urb(kaweth->tx_urb, GFP_ATOMIC))) in kaweth_start_xmit() 937 usb_unlink_urb(kaweth->tx_urb); in kaweth_tx_timeout() 1142 kaweth->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in kaweth_probe() 1143 if (!kaweth->tx_urb) in kaweth_probe() 1201 usb_free_urb(kaweth->tx_urb); in kaweth_probe() 1229 usb_free_urb(kaweth->tx_urb); in kaweth_disconnect()
|
D | rtl8150.c | 132 struct urb *rx_urb, *tx_urb, *intr_urb; member 349 dev->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in alloc_all_urbs() 350 if (!dev->tx_urb) { in alloc_all_urbs() 357 usb_free_urb(dev->tx_urb); in alloc_all_urbs() 367 usb_free_urb(dev->tx_urb); in free_all_urbs() 374 usb_kill_urb(dev->tx_urb); in unlink_all_urbs() 675 usb_unlink_urb(dev->tx_urb); in rtl8150_tx_timeout() 711 usb_fill_bulk_urb(dev->tx_urb, dev->udev, usb_sndbulkpipe(dev->udev, 2), in rtl8150_start_xmit() 713 if ((res = usb_submit_urb(dev->tx_urb, GFP_ATOMIC))) { in rtl8150_start_xmit()
|
D | pegasus.c | 703 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() 803 usb_free_urb(pegasus->tx_urb); in free_all_urbs() 810 usb_kill_urb(pegasus->tx_urb); in unlink_all_urbs() 822 pegasus->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in alloc_urbs() 823 if (!pegasus->tx_urb) { in alloc_urbs() 829 usb_free_urb(pegasus->tx_urb); in alloc_urbs()
|
/drivers/staging/media/lirc/ |
D | lirc_sasem.c | 101 struct urb *tx_urb; member 167 usb_free_urb(context->tx_urb); /* VFD */ in delete_context() 326 usb_fill_int_urb(context->tx_urb, context->dev, pipe, in send_packet() 330 context->tx_urb->actual_length = 0; in send_packet() 335 retval = usb_submit_urb(context->tx_urb, GFP_KERNEL); in send_packet() 669 struct urb *tx_urb = NULL; in sasem_probe() local 769 tx_urb = usb_alloc_urb(0, GFP_KERNEL); in sasem_probe() 770 if (!tx_urb) { in sasem_probe() 816 context->tx_urb = tx_urb; in sasem_probe() 846 usb_free_urb(tx_urb); in sasem_probe() [all …]
|
D | lirc_imon.c | 93 struct urb *tx_urb; member 193 usb_free_urb(context->tx_urb); in free_imon_context() 332 usb_fill_int_urb(context->tx_urb, context->usbdev, pipe, in send_packet() 337 context->tx_urb->actual_length = 0; in send_packet() 342 retval = usb_submit_urb(context->tx_urb, GFP_KERNEL); in send_packet() 689 struct urb *tx_urb = NULL; in imon_probe() local 804 tx_urb = usb_alloc_urb(0, GFP_KERNEL); in imon_probe() 805 if (!tx_urb) { in imon_probe() 853 context->tx_urb = tx_urb; in imon_probe() 896 usb_free_urb(tx_urb); in imon_probe() [all …]
|
/drivers/net/ieee802154/ |
D | atusb.c | 56 struct urb *tx_urb; member 370 usb_fill_control_urb(atusb->tx_urb, usb_dev, in atusb_xmit() 374 ret = usb_submit_urb(atusb->tx_urb, GFP_ATOMIC); in atusb_xmit() 660 atusb->tx_urb = usb_alloc_urb(0, GFP_ATOMIC); in atusb_probe() 661 if (!atusb->tx_urb) in atusb_probe() 739 usb_kill_urb(atusb->tx_urb); in atusb_probe() 740 usb_free_urb(atusb->tx_urb); in atusb_probe() 757 usb_kill_urb(atusb->tx_urb); in atusb_disconnect() 758 usb_free_urb(atusb->tx_urb); in atusb_disconnect()
|
/drivers/net/wireless/libertas/ |
D | if_usb.c | 118 usb_kill_urb(cardp->tx_urb); in if_usb_free() 121 usb_free_urb(cardp->tx_urb); in if_usb_free() 122 cardp->tx_urb = NULL; in if_usb_free() 252 if (!(cardp->tx_urb = usb_alloc_urb(0, GFP_KERNEL))) { in if_usb_probe() 435 usb_fill_bulk_urb(cardp->tx_urb, cardp->udev, in usb_tx_block() 440 cardp->tx_urb->transfer_flags |= URB_ZERO_PACKET; in usb_tx_block() 442 if ((ret = usb_submit_urb(cardp->tx_urb, GFP_ATOMIC))) { in usb_tx_block() 855 usb_kill_urb(cardp->tx_urb); in if_usb_prog_firmware() 886 usb_kill_urb(cardp->tx_urb); in if_usb_prog_firmware() 979 usb_kill_urb(cardp->tx_urb); in if_usb_suspend()
|
D | if_usb.h | 47 struct urb *rx_urb, *tx_urb; member
|
/drivers/media/rc/ |
D | imon.c | 123 struct urb *tx_urb; member 472 usb_free_urb(ictx->tx_urb); in free_imon_context() 582 usb_fill_int_urb(ictx->tx_urb, ictx->usbdev_intf0, pipe, in send_packet() 587 ictx->tx_urb->actual_length = 0; in send_packet() 606 usb_fill_control_urb(ictx->tx_urb, ictx->usbdev_intf0, in send_packet() 611 ictx->tx_urb->actual_length = 0; in send_packet() 618 retval = usb_submit_urb(ictx->tx_urb, GFP_KERNEL); in send_packet() 629 usb_kill_urb(ictx->tx_urb); in send_packet() 2202 struct urb *tx_urb; in imon_init_intf0() local 2217 tx_urb = usb_alloc_urb(0, GFP_KERNEL); in imon_init_intf0() [all …]
|
/drivers/net/wireless/libertas_tf/ |
D | if_usb.c | 81 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() 206 cardp->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in if_usb_probe() 207 if (!cardp->tx_urb) { in if_usb_probe() 395 urb = cardp->tx_urb; in usb_tx_block()
|
D | if_usb.h | 47 struct urb *rx_urb, *tx_urb, *cmd_urb; member
|
/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu.c | 4617 struct rtl8xxxu_tx_urb *tx_urb, *tmp; in rtl8xxxu_free_tx_resources() local 4621 list_for_each_entry_safe(tx_urb, tmp, &priv->tx_urb_free_list, list) { in rtl8xxxu_free_tx_resources() 4622 list_del(&tx_urb->list); in rtl8xxxu_free_tx_resources() 4624 usb_free_urb(&tx_urb->urb); in rtl8xxxu_free_tx_resources() 4632 struct rtl8xxxu_tx_urb *tx_urb; in rtl8xxxu_alloc_tx_urb() local 4636 tx_urb = list_first_entry_or_null(&priv->tx_urb_free_list, in rtl8xxxu_alloc_tx_urb() 4638 if (tx_urb) { in rtl8xxxu_alloc_tx_urb() 4639 list_del(&tx_urb->list); in rtl8xxxu_alloc_tx_urb() 4650 return tx_urb; in rtl8xxxu_alloc_tx_urb() 4654 struct rtl8xxxu_tx_urb *tx_urb) in rtl8xxxu_free_tx_urb() argument [all …]
|
/drivers/staging/wlan-ng/ |
D | prism2usb.c | 182 usb_kill_urb(&hw->tx_urb); in prism2sta_disconnect_usb() 250 usb_kill_urb(&hw->tx_urb); in prism2sta_suspend()
|
/drivers/net/wireless/ |
D | zd1201.c | 793 struct urb *urb = zd->tx_urb; in zd1201_hard_start_xmit() 824 err = usb_submit_urb(zd->tx_urb, GFP_ATOMIC); in zd1201_hard_start_xmit() 845 usb_unlink_urb(zd->tx_urb); in zd1201_tx_timeout() 1765 zd->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in zd1201_probe() 1766 if (!zd->rx_urb || !zd->tx_urb) { in zd1201_probe() 1827 usb_free_urb(zd->tx_urb); in zd1201_probe() 1849 if (zd->tx_urb) { in zd1201_disconnect() 1850 usb_kill_urb(zd->tx_urb); in zd1201_disconnect() 1851 usb_free_urb(zd->tx_urb); in zd1201_disconnect()
|
D | at76c50x-usb.c | 1778 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() 2269 priv->tx_urb = usb_alloc_urb(0, GFP_KERNEL); in at76_alloc_urbs() 2270 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 | zd1201.h | 35 struct urb *tx_urb; member
|
/drivers/net/wireless/mwifiex/ |
D | usb.c | 874 struct urb *tx_urb; in mwifiex_usb_host_to_card() local 918 tx_urb = context->urb; in mwifiex_usb_host_to_card() 920 usb_fill_bulk_urb(tx_urb, card->udev, usb_sndbulkpipe(card->udev, ep), in mwifiex_usb_host_to_card() 924 tx_urb->transfer_flags |= URB_ZERO_PACKET; in mwifiex_usb_host_to_card() 931 if (usb_submit_urb(tx_urb, GFP_ATOMIC)) { in mwifiex_usb_host_to_card()
|