Home
last modified time | relevance | path

Searched refs:rx_urb (Results 1 – 25 of 26) sorted by relevance

12

/linux-5.19.10/drivers/net/usb/
Dipheth.c92 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 …]
Drtl8150.c129 struct urb *rx_urb, *tx_urb, *intr_urb; member
323 dev->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in alloc_all_urbs()
324 if (!dev->rx_urb) in alloc_all_urbs()
328 usb_free_urb(dev->rx_urb); in alloc_all_urbs()
333 usb_free_urb(dev->rx_urb); in alloc_all_urbs()
343 usb_free_urb(dev->rx_urb); in free_all_urbs()
350 usb_kill_urb(dev->rx_urb); in unlink_all_urbs()
427 usb_fill_bulk_urb(dev->rx_urb, dev->udev, usb_rcvbulkpipe(dev->udev, 1), in read_bulk_callback()
429 result = usb_submit_urb(dev->rx_urb, GFP_ATOMIC); in read_bulk_callback()
526 usb_kill_urb(dev->rx_urb); in rtl8150_suspend()
[all …]
Dkaweth.c215 struct urb *rx_urb; member
464 usb_fill_bulk_urb(kaweth->rx_urb, in kaweth_resubmit_rx_urb()
471 kaweth->rx_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in kaweth_resubmit_rx_urb()
472 kaweth->rx_urb->transfer_dma = kaweth->rxbufferhandle; in kaweth_resubmit_rx_urb()
474 if((result = usb_submit_urb(kaweth->rx_urb, mem_flags))) { in kaweth_resubmit_rx_urb()
612 usb_kill_urb(kaweth->rx_urb); in kaweth_open()
633 usb_kill_urb(kaweth->rx_urb); in kaweth_kill_urbs()
641 usb_kill_urb(kaweth->rx_urb); in kaweth_kill_urbs()
1026 kaweth->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in kaweth_probe()
1027 if (!kaweth->rx_urb) in kaweth_probe()
[all …]
Dpegasus.c545 usb_fill_bulk_urb(pegasus->rx_urb, pegasus->usb, in read_bulk_callback()
549 rx_status = usb_submit_urb(pegasus->rx_urb, GFP_ATOMIC); in read_bulk_callback()
585 usb_fill_bulk_urb(pegasus->rx_urb, pegasus->usb, in rx_fixup()
590 status = usb_submit_urb(pegasus->rx_urb, GFP_ATOMIC); in rx_fixup()
793 usb_free_urb(pegasus->rx_urb); in free_all_urbs()
800 usb_kill_urb(pegasus->rx_urb); in unlink_all_urbs()
807 pegasus->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in alloc_urbs()
808 if (!pegasus->rx_urb) { in alloc_urbs()
813 usb_free_urb(pegasus->rx_urb); in alloc_urbs()
819 usb_free_urb(pegasus->rx_urb); in alloc_urbs()
[all …]
Dcatc.c182 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()
807 catc->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in catc_probe()
810 (!catc->rx_urb) || (!catc->irq_urb)) { in catc_probe()
834 usb_fill_bulk_urb(catc->rx_urb, usbdev, usb_rcvbulkpipe(usbdev, 1), in catc_probe()
936 usb_free_urb(catc->rx_urb); in catc_probe()
954 usb_free_urb(catc->rx_urb); in catc_disconnect()
Dhso.c204 struct urb *rx_urb[MAX_RX_URBS]; member
521 if (serial->rx_urb[idx] == urb) in hso_urb_to_index()
1139 curr_urb = serial->rx_urb[serial->curr_rx_urb_idx]; in put_rxbuf_data_and_resubmit_bulk_urb()
1157 urb = serial->rx_urb[0]; in put_rxbuf_data_and_resubmit_ctrl_urb()
1827 serial->rx_urb[0], in hso_mux_serial_read()
2151 usb_fill_bulk_urb(serial->rx_urb[i], in hso_start_serial_device()
2161 result = usb_submit_urb(serial->rx_urb[i], flags); in hso_start_serial_device()
2196 if (serial->rx_urb[i]) { in hso_stop_serial_device()
2197 usb_kill_urb(serial->rx_urb[i]); in hso_stop_serial_device()
2239 usb_free_urb(serial->rx_urb[i]); in hso_serial_common_free()
[all …]
Dpegasus.h92 struct urb *rx_urb, *tx_urb, *intr_urb; member
/linux-5.19.10/drivers/net/wireless/marvell/libertas/
Dif_usb.c118 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()
461 usb_fill_bulk_urb(cardp->rx_urb, cardp->udev, in __if_usb_submit_rx_urb()
467 lbs_deb_usb2(&cardp->udev->dev, "Pointer for rx_urb %p\n", cardp->rx_urb); in __if_usb_submit_rx_urb()
468 if ((ret = usb_submit_urb(cardp->rx_urb, GFP_ATOMIC))) { in __if_usb_submit_rx_urb()
839 usb_kill_urb(cardp->rx_urb); in if_usb_prog_firmware()
870 usb_kill_urb(cardp->rx_urb); in if_usb_prog_firmware()
901 usb_kill_urb(cardp->rx_urb); in if_usb_prog_firmware()
[all …]
Dif_usb.h48 struct urb *rx_urb, *tx_urb; member
/linux-5.19.10/drivers/net/wireless/marvell/libertas_tf/
Dif_usb.c78 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()
430 usb_fill_bulk_urb(cardp->rx_urb, cardp->udev, in __if_usb_submit_rx_urb()
436 cardp->rx_urb); in __if_usb_submit_rx_urb()
437 ret = usb_submit_urb(cardp->rx_urb, GFP_ATOMIC); in __if_usb_submit_rx_urb()
879 usb_kill_urb(cardp->rx_urb); in if_usb_prog_firmware()
Dif_usb.h43 struct urb *rx_urb, *tx_urb, *cmd_urb; member
/linux-5.19.10/drivers/net/wireless/rsi/
Drsi_91x_usb.c311 struct urb *urb = rx_cb->rx_urb; in rsi_rx_urb_kill()
328 struct urb *urb = rx_cb->rx_urb; in rsi_rx_urb_submit()
566 usb_free_urb(dev->rx_cb[0].rx_urb); in rsi_deinit_usb_interface()
568 usb_free_urb(dev->rx_cb[1].rx_urb); in rsi_deinit_usb_interface()
584 rx_cb->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in rsi_usb_init_rx()
585 if (!rx_cb->rx_urb) { in rsi_usb_init_rx()
603 usb_free_urb(dev->rx_cb[0].rx_urb); in rsi_usb_init_rx()
605 usb_free_urb(dev->rx_cb[1].rx_urb); in rsi_usb_init_rx()
Drsi_usb.h51 struct urb *rx_urb; member
/linux-5.19.10/drivers/mfd/
Ddln2.c105 struct urb *rx_urb[DLN2_MAX_URBS]; member
593 usb_free_urb(dln2->rx_urb[i]); in dln2_free_rx_urbs()
603 usb_kill_urb(dln2->rx_urb[i]); in dln2_stop_rx_urbs()
624 dln2->rx_urb[i] = usb_alloc_urb(0, GFP_KERNEL); in dln2_setup_rx_urbs()
625 if (!dln2->rx_urb[i]) in dln2_setup_rx_urbs()
628 usb_fill_bulk_urb(dln2->rx_urb[i], dln2->usb_dev, in dln2_setup_rx_urbs()
643 ret = usb_submit_urb(dln2->rx_urb[i], gfp); in dln2_start_rx_urbs()
/linux-5.19.10/drivers/staging/rtl8192u/
Dr8192U_core.c1581 priv->rx_urb = kmalloc_array(MAX_RX_URB + 1, sizeof(struct urb *), in rtl8192_usb_initendpoints()
1583 if (!priv->rx_urb) in rtl8192_usb_initendpoints()
1588 priv->rx_urb[i] = usb_alloc_urb(0, GFP_KERNEL); in rtl8192_usb_initendpoints()
1589 if (!priv->rx_urb[i]) in rtl8192_usb_initendpoints()
1592 priv->rx_urb[i]->transfer_buffer = in rtl8192_usb_initendpoints()
1594 if (!priv->rx_urb[i]->transfer_buffer) in rtl8192_usb_initendpoints()
1597 priv->rx_urb[i]->transfer_buffer_length = RX_URB_SIZE; in rtl8192_usb_initendpoints()
1606 priv->rx_urb[16] = usb_alloc_urb(0, GFP_KERNEL); in rtl8192_usb_initendpoints()
1607 if (!priv->rx_urb[16]) in rtl8192_usb_initendpoints()
1616 priv->rx_urb[16]->transfer_buffer_length = 16 - 4 + align; in rtl8192_usb_initendpoints()
[all …]
Dr8192U.h867 struct urb **rx_urb; member
/linux-5.19.10/drivers/staging/wlan-ng/
Dprism2usb.c180 usb_kill_urb(&hw->rx_urb); in prism2sta_disconnect_usb()
242 usb_kill_urb(&hw->rx_urb); in prism2sta_suspend()
Dhfa384x_usb.c335 usb_fill_bulk_urb(&hw->rx_urb, hw->usb, in submit_rx_urb()
345 result = usb_submit_urb(&hw->rx_urb, memflags); in submit_rx_urb()
445 usb_kill_urb(&hw->rx_urb); /* Cannot be holding spinlock! */ in hfa384x_usb_defer()
553 usb_init_urb(&hw->rx_urb); in hfa384x_create()
2352 usb_kill_urb(&hw->rx_urb); in hfa384x_drvr_start()
2382 usb_kill_urb(&hw->rx_urb); in hfa384x_drvr_start()
2437 usb_kill_urb(&hw->rx_urb); in hfa384x_drvr_stop()
/linux-5.19.10/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_core.c75 struct rtl8xxxu_rx_urb *rx_urb);
5190 struct rtl8xxxu_rx_urb *rx_urb, *tmp; in rtl8xxxu_free_rx_resources() local
5195 list_for_each_entry_safe(rx_urb, tmp, in rtl8xxxu_free_rx_resources()
5197 list_del(&rx_urb->list); in rtl8xxxu_free_rx_resources()
5199 usb_free_urb(&rx_urb->urb); in rtl8xxxu_free_rx_resources()
5206 struct rtl8xxxu_rx_urb *rx_urb) in rtl8xxxu_queue_rx_urb() argument
5215 list_add_tail(&rx_urb->list, &priv->rx_urb_pending_list); in rtl8xxxu_queue_rx_urb()
5219 skb = (struct sk_buff *)rx_urb->urb.context; in rtl8xxxu_queue_rx_urb()
5221 usb_free_urb(&rx_urb->urb); in rtl8xxxu_queue_rx_urb()
5233 struct rtl8xxxu_rx_urb *rx_urb, *tmp; in rtl8xxxu_rx_urb_work() local
[all …]
/linux-5.19.10/drivers/net/wireless/zydas/
Dzd1201.h31 struct urb *rx_urb; member
Dzd1201.c620 usb_fill_bulk_urb(zd->rx_urb, zd->usb, in zd1201_drvr_start()
624 err = usb_submit_urb(zd->rx_urb, GFP_KERNEL); in zd1201_drvr_start()
647 usb_kill_urb(zd->rx_urb); in zd1201_drvr_start()
1756 zd->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in zd1201_probe()
1758 if (!zd->rx_urb || !zd->tx_urb) { in zd1201_probe()
1820 usb_free_urb(zd->rx_urb); in zd1201_probe()
1845 if (zd->rx_urb) { in zd1201_disconnect()
1846 usb_kill_urb(zd->rx_urb); in zd1201_disconnect()
1847 usb_free_urb(zd->rx_urb); in zd1201_disconnect()
/linux-5.19.10/drivers/media/rc/
Dimon.c2218 struct urb *rx_urb; in imon_init_intf0() local
2228 rx_urb = usb_alloc_urb(0, GFP_KERNEL); in imon_init_intf0()
2229 if (!rx_urb) in imon_init_intf0()
2242 ictx->rx_urb_intf0 = rx_urb; in imon_init_intf0()
2303 usb_free_urb(rx_urb); in imon_init_intf0()
2315 struct urb *rx_urb; in imon_init_intf1() local
2319 rx_urb = usb_alloc_urb(0, GFP_KERNEL); in imon_init_intf1()
2320 if (!rx_urb) in imon_init_intf1()
2330 ictx->rx_urb_intf1 = rx_urb; in imon_init_intf1()
2371 usb_free_urb(rx_urb); in imon_init_intf1()
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/
Dusb_trace.h74 DEFINE_EVENT(urb_transfer, rx_urb,
/linux-5.19.10/drivers/net/wireless/atmel/
Dat76c50x-usb.c1211 if (!priv->rx_urb) { in at76_submit_rx_urb()
1232 usb_fill_bulk_urb(priv->rx_urb, priv->udev, priv->rx_pipe, in at76_submit_rx_urb()
1234 ret = usb_submit_urb(priv->rx_urb, GFP_ATOMIC); in at76_submit_rx_urb()
1550 struct urb *urb = priv->rx_urb; in at76_rx_tasklet()
1878 usb_kill_urb(priv->rx_urb); in at76_mac80211_stop()
2265 priv->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in at76_alloc_urbs()
2267 if (!priv->rx_urb || !priv->tx_urb) { in at76_alloc_urbs()
2412 if (priv->rx_urb) { in at76_delete_device()
2413 usb_kill_urb(priv->rx_urb); in at76_delete_device()
2414 usb_free_urb(priv->rx_urb); in at76_delete_device()
Dat76c50x-usb.h377 struct urb *rx_urb; /* URB for receiving data */ member

12