Home
last modified time | relevance | path

Searched refs:tx_contexts (Results 1 – 6 of 6) sorted by relevance

/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c322 if (dev->tx_contexts[i].echo_index == PCAN_USB_MAX_TX_URBS) { in peak_usb_ndo_start_xmit()
323 context = dev->tx_contexts + i; in peak_usb_ndo_start_xmit()
469 context = dev->tx_contexts + i; in peak_usb_start()
518 usb_free_urb(dev->tx_contexts[i].urb); in peak_usb_start()
519 dev->tx_contexts[i].urb = NULL; in peak_usb_start()
565 struct urb *urb = dev->tx_contexts[i].urb; in peak_usb_unlink_all_urbs()
568 dev->tx_contexts[i].echo_index != PCAN_USB_MAX_TX_URBS) { in peak_usb_unlink_all_urbs()
577 dev->tx_contexts[i].urb = NULL; in peak_usb_unlink_all_urbs()
811 dev->tx_contexts[i].echo_index = PCAN_USB_MAX_TX_URBS; in peak_usb_create_dev()
Dpcan_usb_core.h128 struct peak_tx_urb_context tx_contexts[PCAN_USB_MAX_TX_URBS]; member
/drivers/net/can/usb/
Dusb_8dev.c142 struct usb_8dev_tx_urb_context tx_contexts[MAX_TX_URBS]; member
656 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in usb_8dev_start_xmit()
657 context = &priv->tx_contexts[i]; in usb_8dev_start_xmit()
854 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
954 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in usb_8dev_probe()
Dems_usb.c258 struct ems_tx_urb_context tx_contexts[MAX_TX_URBS]; member
702 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
787 if (dev->tx_contexts[i].echo_index == MAX_TX_URBS) { in ems_usb_start_xmit()
788 context = &dev->tx_contexts[i]; in ems_usb_start_xmit()
1006 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in ems_usb_probe()
Desd_usb2.c217 struct esd_tx_urb_context tx_contexts[MAX_TX_URBS]; member
366 context = &priv->tx_contexts[msg->msg.txdone.hnd & (MAX_TX_URBS - 1)]; in esd_usb2_tx_done_msg()
684 priv->tx_contexts[j].echo_index = MAX_TX_URBS; in unlink_all_urbs()
767 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in esd_usb2_start_xmit()
768 context = &priv->tx_contexts[i]; in esd_usb2_start_xmit()
996 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in esd_usb2_probe_one_net()
Dkvaser_usb.c490 struct kvaser_usb_tx_urb_context tx_contexts[]; member
733 context = &priv->tx_contexts[tid % dev->max_tx_urbs]; in kvaser_usb_tx_acknowledge()
1541 priv->tx_contexts[i].echo_index = max_tx_urbs; in kvaser_usb_reset_tx_urb_contexts()
1728 if (priv->tx_contexts[i].echo_index == dev->max_tx_urbs) { in kvaser_usb_start_xmit()
1729 context = &priv->tx_contexts[i]; in kvaser_usb_start_xmit()
1908 dev->max_tx_urbs * sizeof(*priv->tx_contexts), in kvaser_usb_init_one()