/Linux-v5.4/drivers/net/usb/ |
D | ipheth.c | 92 struct urb *rx_urb; member 107 struct urb *rx_urb = NULL; in ipheth_alloc_urbs() local 115 rx_urb = usb_alloc_urb(0, GFP_KERNEL); in ipheth_alloc_urbs() 116 if (rx_urb == NULL) in ipheth_alloc_urbs() 125 GFP_KERNEL, &rx_urb->transfer_dma); in ipheth_alloc_urbs() 131 iphone->rx_urb = rx_urb; in ipheth_alloc_urbs() 140 usb_free_urb(rx_urb); in ipheth_alloc_urbs() 150 iphone->rx_urb->transfer_dma); in ipheth_free_urbs() 153 usb_free_urb(iphone->rx_urb); in ipheth_free_urbs() 160 usb_kill_urb(dev->rx_urb); in ipheth_kill_urbs() [all …]
|
D | rtl8150.c | 129 struct urb *rx_urb, *tx_urb, *intr_urb; member 335 dev->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in alloc_all_urbs() 336 if (!dev->rx_urb) in alloc_all_urbs() 340 usb_free_urb(dev->rx_urb); in alloc_all_urbs() 345 usb_free_urb(dev->rx_urb); in alloc_all_urbs() 355 usb_free_urb(dev->rx_urb); in free_all_urbs() 362 usb_kill_urb(dev->rx_urb); in unlink_all_urbs() 439 usb_fill_bulk_urb(dev->rx_urb, dev->udev, usb_rcvbulkpipe(dev->udev, 1), in read_bulk_callback() 441 result = usb_submit_urb(dev->rx_urb, GFP_ATOMIC); in read_bulk_callback() 538 usb_kill_urb(dev->rx_urb); in rtl8150_suspend() [all …]
|
D | pegasus.c | 547 usb_fill_bulk_urb(pegasus->rx_urb, pegasus->usb, in read_bulk_callback() 551 rx_status = usb_submit_urb(pegasus->rx_urb, GFP_ATOMIC); in read_bulk_callback() 588 usb_fill_bulk_urb(pegasus->rx_urb, pegasus->usb, in rx_fixup() 593 status = usb_submit_urb(pegasus->rx_urb, GFP_ATOMIC); in rx_fixup() 790 usb_free_urb(pegasus->rx_urb); in free_all_urbs() 797 usb_kill_urb(pegasus->rx_urb); in unlink_all_urbs() 804 pegasus->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in alloc_urbs() 805 if (!pegasus->rx_urb) { in alloc_urbs() 810 usb_free_urb(pegasus->rx_urb); in alloc_urbs() 816 usb_free_urb(pegasus->rx_urb); in alloc_urbs() [all …]
|
D | kaweth.c | 219 struct urb *rx_urb; member 543 usb_fill_bulk_urb(kaweth->rx_urb, in kaweth_resubmit_rx_urb() 550 kaweth->rx_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in kaweth_resubmit_rx_urb() 551 kaweth->rx_urb->transfer_dma = kaweth->rxbufferhandle; in kaweth_resubmit_rx_urb() 553 if((result = usb_submit_urb(kaweth->rx_urb, mem_flags))) { in kaweth_resubmit_rx_urb() 690 usb_kill_urb(kaweth->rx_urb); in kaweth_open() 711 usb_kill_urb(kaweth->rx_urb); in kaweth_kill_urbs() 719 usb_kill_urb(kaweth->rx_urb); in kaweth_kill_urbs() 1109 kaweth->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in kaweth_probe() 1110 if (!kaweth->rx_urb) in kaweth_probe() [all …]
|
D | catc.c | 182 struct urb *tx_urb, *rx_urb, *irq_urb, *ctrl_urb; member 330 catc->rx_urb->dev = catc->usbdev; in catc_irq_done() 331 if ((res = usb_submit_urb(catc->rx_urb, GFP_ATOMIC)) < 0) { in catc_irq_done() 743 usb_kill_urb(catc->rx_urb); in catc_stop() 801 catc->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in catc_probe() 804 (!catc->rx_urb) || (!catc->irq_urb)) { in catc_probe() 828 usb_fill_bulk_urb(catc->rx_urb, usbdev, usb_rcvbulkpipe(usbdev, 1), in catc_probe() 927 usb_free_urb(catc->rx_urb); in catc_probe() 942 usb_free_urb(catc->rx_urb); in catc_disconnect()
|
D | hso.c | 204 struct urb *rx_urb[MAX_RX_URBS]; member 522 if (serial->rx_urb[idx] == urb) in hso_urb_to_index() 1143 curr_urb = serial->rx_urb[serial->curr_rx_urb_idx]; in put_rxbuf_data_and_resubmit_bulk_urb() 1161 urb = serial->rx_urb[0]; in put_rxbuf_data_and_resubmit_ctrl_urb() 1829 serial->rx_urb[0], in hso_mux_serial_read() 2153 usb_fill_bulk_urb(serial->rx_urb[i], in hso_start_serial_device() 2163 result = usb_submit_urb(serial->rx_urb[i], flags); in hso_start_serial_device() 2198 if (serial->rx_urb[i]) { in hso_stop_serial_device() 2199 usb_kill_urb(serial->rx_urb[i]); in hso_stop_serial_device() 2240 usb_free_urb(serial->rx_urb[i]); in hso_serial_common_free() [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 | 118 usb_kill_urb(cardp->rx_urb); in if_usb_free() 123 usb_free_urb(cardp->rx_urb); in if_usb_free() 124 cardp->rx_urb = NULL; in if_usb_free() 245 if (!(cardp->rx_urb = usb_alloc_urb(0, GFP_KERNEL))) { in if_usb_probe() 458 usb_fill_bulk_urb(cardp->rx_urb, cardp->udev, in __if_usb_submit_rx_urb() 464 lbs_deb_usb2(&cardp->udev->dev, "Pointer for rx_urb %p\n", cardp->rx_urb); in __if_usb_submit_rx_urb() 465 if ((ret = usb_submit_urb(cardp->rx_urb, GFP_ATOMIC))) { in __if_usb_submit_rx_urb() 836 usb_kill_urb(cardp->rx_urb); in if_usb_prog_firmware() 867 usb_kill_urb(cardp->rx_urb); in if_usb_prog_firmware() 898 usb_kill_urb(cardp->rx_urb); in if_usb_prog_firmware() [all …]
|
D | if_usb.h | 48 struct urb *rx_urb, *tx_urb; member
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas_tf/ |
D | if_usb.c | 78 usb_kill_urb(cardp->rx_urb); in if_usb_free() 84 usb_free_urb(cardp->rx_urb); in if_usb_free() 85 cardp->rx_urb = NULL; in if_usb_free() 202 cardp->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in if_usb_probe() 203 if (!cardp->rx_urb) in if_usb_probe() 428 usb_fill_bulk_urb(cardp->rx_urb, cardp->udev, in __if_usb_submit_rx_urb() 434 cardp->rx_urb); in __if_usb_submit_rx_urb() 435 ret = usb_submit_urb(cardp->rx_urb, GFP_ATOMIC); in __if_usb_submit_rx_urb() 876 usb_kill_urb(cardp->rx_urb); in if_usb_prog_firmware()
|
D | if_usb.h | 43 struct urb *rx_urb, *tx_urb, *cmd_urb; member
|
/Linux-v5.4/drivers/net/wireless/rsi/ |
D | rsi_91x_usb.c | 305 struct urb *urb = rx_cb->rx_urb; in rsi_rx_urb_submit() 542 usb_free_urb(dev->rx_cb[0].rx_urb); in rsi_deinit_usb_interface() 544 usb_free_urb(dev->rx_cb[1].rx_urb); in rsi_deinit_usb_interface() 560 rx_cb->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in rsi_usb_init_rx() 561 if (!rx_cb->rx_urb) { in rsi_usb_init_rx() 579 usb_free_urb(dev->rx_cb[0].rx_urb); in rsi_usb_init_rx() 581 usb_free_urb(dev->rx_cb[1].rx_urb); in rsi_usb_init_rx()
|
D | rsi_usb.h | 49 struct urb *rx_urb; member
|
/Linux-v5.4/drivers/mfd/ |
D | dln2.c | 99 struct urb *rx_urb[DLN2_MAX_URBS]; member 583 usb_free_urb(dln2->rx_urb[i]); in dln2_free_rx_urbs() 593 usb_kill_urb(dln2->rx_urb[i]); in dln2_stop_rx_urbs() 614 dln2->rx_urb[i] = usb_alloc_urb(0, GFP_KERNEL); in dln2_setup_rx_urbs() 615 if (!dln2->rx_urb[i]) in dln2_setup_rx_urbs() 618 usb_fill_bulk_urb(dln2->rx_urb[i], dln2->usb_dev, in dln2_setup_rx_urbs() 633 ret = usb_submit_urb(dln2->rx_urb[i], gfp); in dln2_start_rx_urbs()
|
/Linux-v5.4/drivers/staging/wlan-ng/ |
D | prism2usb.c | 174 usb_kill_urb(&hw->rx_urb); in prism2sta_disconnect_usb() 235 usb_kill_urb(&hw->rx_urb); in prism2sta_suspend()
|
D | hfa384x_usb.c | 337 usb_fill_bulk_urb(&hw->rx_urb, hw->usb, in submit_rx_urb() 347 result = usb_submit_urb(&hw->rx_urb, memflags); in submit_rx_urb() 447 usb_kill_urb(&hw->rx_urb); /* Cannot be holding spinlock! */ in hfa384x_usb_defer() 562 usb_init_urb(&hw->rx_urb); in hfa384x_create() 2361 usb_kill_urb(&hw->rx_urb); in hfa384x_drvr_start() 2391 usb_kill_urb(&hw->rx_urb); in hfa384x_drvr_start() 2446 usb_kill_urb(&hw->rx_urb); in hfa384x_drvr_stop()
|
/Linux-v5.4/drivers/staging/rtl8192u/ |
D | r8192U_core.c | 1598 priv->rx_urb = kmalloc_array(MAX_RX_URB + 1, sizeof(struct urb *), in rtl8192_usb_initendpoints() 1600 if (!priv->rx_urb) in rtl8192_usb_initendpoints() 1605 priv->rx_urb[i] = usb_alloc_urb(0, GFP_KERNEL); in rtl8192_usb_initendpoints() 1606 if (!priv->rx_urb[i]) in rtl8192_usb_initendpoints() 1609 priv->rx_urb[i]->transfer_buffer = in rtl8192_usb_initendpoints() 1611 if (!priv->rx_urb[i]->transfer_buffer) in rtl8192_usb_initendpoints() 1614 priv->rx_urb[i]->transfer_buffer_length = RX_URB_SIZE; in rtl8192_usb_initendpoints() 1623 priv->rx_urb[16] = usb_alloc_urb(0, GFP_KERNEL); in rtl8192_usb_initendpoints() 1631 priv->rx_urb[16]->transfer_buffer_length = 16 - 4 + align; in rtl8192_usb_initendpoints() 1634 priv->rx_urb[16]->transfer_buffer_length = 16; in rtl8192_usb_initendpoints() [all …]
|
D | r8192U.h | 867 struct urb **rx_urb; member
|
/Linux-v5.4/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu_core.c | 75 struct rtl8xxxu_rx_urb *rx_urb); 5068 struct rtl8xxxu_rx_urb *rx_urb, *tmp; in rtl8xxxu_free_rx_resources() local 5073 list_for_each_entry_safe(rx_urb, tmp, in rtl8xxxu_free_rx_resources() 5075 list_del(&rx_urb->list); in rtl8xxxu_free_rx_resources() 5077 usb_free_urb(&rx_urb->urb); in rtl8xxxu_free_rx_resources() 5084 struct rtl8xxxu_rx_urb *rx_urb) in rtl8xxxu_queue_rx_urb() argument 5093 list_add_tail(&rx_urb->list, &priv->rx_urb_pending_list); in rtl8xxxu_queue_rx_urb() 5097 skb = (struct sk_buff *)rx_urb->urb.context; in rtl8xxxu_queue_rx_urb() 5099 usb_free_urb(&rx_urb->urb); in rtl8xxxu_queue_rx_urb() 5111 struct rtl8xxxu_rx_urb *rx_urb, *tmp; in rtl8xxxu_rx_urb_work() local [all …]
|
/Linux-v5.4/drivers/net/wireless/zydas/ |
D | zd1201.h | 31 struct urb *rx_urb; member
|
D | zd1201.c | 621 usb_fill_bulk_urb(zd->rx_urb, zd->usb, in zd1201_drvr_start() 625 err = usb_submit_urb(zd->rx_urb, GFP_KERNEL); in zd1201_drvr_start() 648 usb_kill_urb(zd->rx_urb); in zd1201_drvr_start() 1760 zd->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in zd1201_probe() 1762 if (!zd->rx_urb || !zd->tx_urb) { in zd1201_probe() 1824 usb_free_urb(zd->rx_urb); in zd1201_probe() 1849 if (zd->rx_urb) { in zd1201_disconnect() 1850 usb_kill_urb(zd->rx_urb); in zd1201_disconnect() 1851 usb_free_urb(zd->rx_urb); in zd1201_disconnect()
|
/Linux-v5.4/drivers/media/rc/ |
D | imon.c | 2173 struct urb *rx_urb; in imon_init_intf0() local 2183 rx_urb = usb_alloc_urb(0, GFP_KERNEL); in imon_init_intf0() 2184 if (!rx_urb) in imon_init_intf0() 2197 ictx->rx_urb_intf0 = rx_urb; in imon_init_intf0() 2258 usb_free_urb(rx_urb); in imon_init_intf0() 2270 struct urb *rx_urb; in imon_init_intf1() local 2274 rx_urb = usb_alloc_urb(0, GFP_KERNEL); in imon_init_intf1() 2275 if (!rx_urb) in imon_init_intf1() 2285 ictx->rx_urb_intf1 = rx_urb; in imon_init_intf1() 2325 usb_free_urb(rx_urb); in imon_init_intf1()
|
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/ |
D | usb_trace.h | 74 DEFINE_EVENT(urb_transfer, rx_urb,
|
/Linux-v5.4/drivers/net/wireless/atmel/ |
D | at76c50x-usb.c | 1212 if (!priv->rx_urb) { in at76_submit_rx_urb() 1233 usb_fill_bulk_urb(priv->rx_urb, priv->udev, priv->rx_pipe, in at76_submit_rx_urb() 1235 ret = usb_submit_urb(priv->rx_urb, GFP_ATOMIC); in at76_submit_rx_urb() 1879 usb_kill_urb(priv->rx_urb); in at76_mac80211_stop() 2266 priv->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in at76_alloc_urbs() 2268 if (!priv->rx_urb || !priv->tx_urb) { in at76_alloc_urbs() 2413 if (priv->rx_urb) { in at76_delete_device() 2414 usb_kill_urb(priv->rx_urb); in at76_delete_device() 2415 usb_free_urb(priv->rx_urb); in at76_delete_device()
|
D | at76c50x-usb.h | 377 struct urb *rx_urb; /* URB for receiving data */ member
|