/linux-6.12.1/drivers/net/usb/ |
D | ipheth.c | 98 struct urb *rx_urb; member 115 struct urb *rx_urb = NULL; in ipheth_alloc_urbs() local 123 rx_urb = usb_alloc_urb(0, GFP_KERNEL); in ipheth_alloc_urbs() 124 if (rx_urb == NULL) in ipheth_alloc_urbs() 133 GFP_KERNEL, &rx_urb->transfer_dma); in ipheth_alloc_urbs() 139 iphone->rx_urb = rx_urb; in ipheth_alloc_urbs() 148 usb_free_urb(rx_urb); in ipheth_alloc_urbs() 158 iphone->rx_urb->transfer_dma); in ipheth_free_urbs() 161 usb_free_urb(iphone->rx_urb); in ipheth_free_urbs() 168 usb_kill_urb(dev->rx_urb); in ipheth_kill_urbs() [all …]
|
D | rtl8150.c | 129 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 …]
|
D | kaweth.c | 215 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 …]
|
D | pegasus.c | 545 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 …]
|
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() 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()
|
D | hso.c | 204 struct urb *rx_urb[MAX_RX_URBS]; member 520 if (serial->rx_urb[idx] == urb) in hso_urb_to_index() 1138 curr_urb = serial->rx_urb[serial->curr_rx_urb_idx]; in put_rxbuf_data_and_resubmit_bulk_urb() 1156 urb = serial->rx_urb[0]; in put_rxbuf_data_and_resubmit_ctrl_urb() 1821 serial->rx_urb[0], in hso_mux_serial_read() 2145 usb_fill_bulk_urb(serial->rx_urb[i], in hso_start_serial_device() 2155 result = usb_submit_urb(serial->rx_urb[i], flags); in hso_start_serial_device() 2190 if (serial->rx_urb[i]) { in hso_stop_serial_device() 2191 usb_kill_urb(serial->rx_urb[i]); in hso_stop_serial_device() 2233 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-6.12.1/drivers/spi/ |
D | spi-ch341.c | 38 struct urb *rx_urb; member 170 ch341->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in ch341_probe() 171 if (!ch341->rx_urb) in ch341_probe() 179 usb_fill_bulk_urb(ch341->rx_urb, udev, ch341->read_pipe, ch341->rx_buf, in ch341_probe() 182 ret = usb_submit_urb(ch341->rx_urb, GFP_KERNEL); in ch341_probe() 184 usb_free_urb(ch341->rx_urb); in ch341_probe() 222 usb_free_urb(ch341->rx_urb); in ch341_disconnect()
|
/linux-6.12.1/drivers/usb/misc/ |
D | usb-ljca.c | 138 struct urb *rx_urb; member 730 usb_kill_urb(adap->rx_urb); in ljca_enumerate_clients() 793 adap->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in ljca_probe() 794 if (!adap->rx_urb) { in ljca_probe() 798 usb_fill_bulk_urb(adap->rx_urb, usb_dev, adap->rx_pipe, in ljca_probe() 804 ret = usb_submit_urb(adap->rx_urb, GFP_KERNEL); in ljca_probe() 819 usb_free_urb(adap->rx_urb); in ljca_probe() 836 usb_kill_urb(adap->rx_urb); in ljca_disconnect() 846 usb_free_urb(adap->rx_urb); in ljca_disconnect() 857 usb_kill_urb(adap->rx_urb); in ljca_suspend() [all …]
|
/linux-6.12.1/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() 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 …]
|
D | if_usb.h | 48 struct urb *rx_urb, *tx_urb; member
|
/linux-6.12.1/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() 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()
|
D | if_usb.h | 43 struct urb *rx_urb, *tx_urb, *cmd_urb; member
|
/linux-6.12.1/drivers/net/can/usb/ |
D | f81604.c | 669 struct urb *rx_urb; in f81604_register_urbs() local 671 rx_urb = usb_alloc_urb(0, GFP_KERNEL); in f81604_register_urbs() 672 if (!rx_urb) { in f81604_register_urbs() 679 usb_free_urb(rx_urb); in f81604_register_urbs() 684 usb_fill_bulk_urb(rx_urb, priv->dev, in f81604_register_urbs() 689 rx_urb->transfer_flags |= URB_FREE_BUFFER; in f81604_register_urbs() 690 usb_anchor_urb(rx_urb, &priv->urbs_anchor); in f81604_register_urbs() 692 ret = usb_submit_urb(rx_urb, GFP_KERNEL); in f81604_register_urbs() 694 usb_unanchor_urb(rx_urb); in f81604_register_urbs() 695 usb_free_urb(rx_urb); in f81604_register_urbs() [all …]
|
/linux-6.12.1/drivers/net/wireless/rsi/ |
D | rsi_91x_usb.c | 311 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()
|
D | rsi_usb.h | 51 struct urb *rx_urb; member
|
/linux-6.12.1/drivers/mfd/ |
D | dln2.c | 99 struct urb *rx_urb[DLN2_MAX_URBS]; member 587 usb_free_urb(dln2->rx_urb[i]); in dln2_free_rx_urbs() 597 usb_kill_urb(dln2->rx_urb[i]); in dln2_stop_rx_urbs() 618 dln2->rx_urb[i] = usb_alloc_urb(0, GFP_KERNEL); in dln2_setup_rx_urbs() 619 if (!dln2->rx_urb[i]) in dln2_setup_rx_urbs() 622 usb_fill_bulk_urb(dln2->rx_urb[i], dln2->usb_dev, in dln2_setup_rx_urbs() 637 ret = usb_submit_urb(dln2->rx_urb[i], gfp); in dln2_start_rx_urbs()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/ |
D | usb.c | 619 usb_fill_bulk_urb(rxcb->rx_urb, rtwusb->udev, in rtw_usb_rx_resubmit() 624 error = usb_submit_urb(rxcb->rx_urb, GFP_ATOMIC); in rtw_usb_rx_resubmit() 683 usb_kill_urb(rxcb->rx_urb); in rtw_usb_cancel_rx_bufs() 694 usb_kill_urb(rxcb->rx_urb); in rtw_usb_free_rx_bufs() 695 usb_free_urb(rxcb->rx_urb); in rtw_usb_free_rx_bufs() 707 rxcb->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in rtw_usb_alloc_rx_bufs() 708 if (!rxcb->rx_urb) in rtw_usb_alloc_rx_bufs()
|
D | usb.h | 55 struct urb *rx_urb; member
|
/linux-6.12.1/drivers/media/rc/ |
D | imon.c | 2213 struct urb *rx_urb; in imon_init_intf0() local 2223 rx_urb = usb_alloc_urb(0, GFP_KERNEL); in imon_init_intf0() 2224 if (!rx_urb) in imon_init_intf0() 2237 ictx->rx_urb_intf0 = rx_urb; in imon_init_intf0() 2298 usb_free_urb(rx_urb); in imon_init_intf0() 2310 struct urb *rx_urb; in imon_init_intf1() local 2314 rx_urb = usb_alloc_urb(0, GFP_KERNEL); in imon_init_intf1() 2315 if (!rx_urb) in imon_init_intf1() 2325 ictx->rx_urb_intf1 = rx_urb; in imon_init_intf1() 2366 usb_free_urb(rx_urb); in imon_init_intf1()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/ |
D | usb_trace.h | 74 DEFINE_EVENT(urb_transfer, rx_urb,
|
/linux-6.12.1/drivers/net/wireless/realtek/rtl8xxxu/ |
D | core.c | 65 struct rtl8xxxu_rx_urb *rx_urb); 5850 struct rtl8xxxu_rx_urb *rx_urb, *tmp; in rtl8xxxu_free_rx_resources() local 5855 list_for_each_entry_safe(rx_urb, tmp, in rtl8xxxu_free_rx_resources() 5857 list_del(&rx_urb->list); in rtl8xxxu_free_rx_resources() 5859 usb_free_urb(&rx_urb->urb); in rtl8xxxu_free_rx_resources() 5866 struct rtl8xxxu_rx_urb *rx_urb) in rtl8xxxu_queue_rx_urb() argument 5875 list_add_tail(&rx_urb->list, &priv->rx_urb_pending_list); in rtl8xxxu_queue_rx_urb() 5879 skb = (struct sk_buff *)rx_urb->urb.context; in rtl8xxxu_queue_rx_urb() 5881 usb_free_urb(&rx_urb->urb); in rtl8xxxu_queue_rx_urb() 5893 struct rtl8xxxu_rx_urb *rx_urb, *tmp; in rtl8xxxu_rx_urb_work() local [all …]
|
/linux-6.12.1/drivers/net/wireless/atmel/ |
D | at76c50x-usb.c | 1205 if (!priv->rx_urb) { in at76_submit_rx_urb() 1226 usb_fill_bulk_urb(priv->rx_urb, priv->udev, priv->rx_pipe, in at76_submit_rx_urb() 1228 ret = usb_submit_urb(priv->rx_urb, GFP_ATOMIC); in at76_submit_rx_urb() 1544 struct urb *urb = priv->rx_urb; in at76_rx_tasklet() 1872 usb_kill_urb(priv->rx_urb); in at76_mac80211_stop() 2264 priv->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in at76_alloc_urbs() 2266 if (!priv->rx_urb || !priv->tx_urb) { in at76_alloc_urbs() 2411 if (priv->rx_urb) { in at76_delete_device() 2412 usb_kill_urb(priv->rx_urb); in at76_delete_device() 2413 usb_free_urb(priv->rx_urb); in at76_delete_device()
|
D | at76c50x-usb.h | 377 struct urb *rx_urb; /* URB for receiving data */ member
|