Home
last modified time | relevance | path

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

/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_core.c367 if (dev->tx_contexts[i].echo_index == PCAN_USB_MAX_TX_URBS) { in peak_usb_ndo_start_xmit()
368 context = dev->tx_contexts + i; in peak_usb_ndo_start_xmit()
512 context = dev->tx_contexts + i; in peak_usb_start()
561 usb_free_urb(dev->tx_contexts[i].urb); in peak_usb_start()
562 dev->tx_contexts[i].urb = NULL; in peak_usb_start()
608 struct urb *urb = dev->tx_contexts[i].urb; in peak_usb_unlink_all_urbs()
611 dev->tx_contexts[i].echo_index != PCAN_USB_MAX_TX_URBS) { in peak_usb_unlink_all_urbs()
620 dev->tx_contexts[i].urb = NULL; in peak_usb_unlink_all_urbs()
979 dev->tx_contexts[i].echo_index = PCAN_USB_MAX_TX_URBS; in peak_usb_create_dev()
H A Dpcan_usb_core.h121 struct peak_tx_urb_context tx_contexts[PCAN_USB_MAX_TX_URBS]; member
/linux/drivers/net/can/usb/
H A Dems_usb.c246 struct ems_tx_urb_context tx_contexts[MAX_TX_URBS]; member
701 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
786 if (dev->tx_contexts[i].echo_index == MAX_TX_URBS) { in ems_usb_start_xmit()
787 context = &dev->tx_contexts[i]; in ems_usb_start_xmit()
1008 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in ems_usb_probe()
H A Dusb_8dev.c128 struct usb_8dev_tx_urb_context tx_contexts[MAX_TX_URBS]; member
638 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in usb_8dev_start_xmit()
639 context = &priv->tx_contexts[i]; in usb_8dev_start_xmit()
841 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
945 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in usb_8dev_probe()
H A Desd_usb.c286 struct esd_tx_urb_context tx_contexts[ESD_USB_MAX_TX_URBS]; member
462 context = &priv->tx_contexts[msg->txdone.hnd & (ESD_USB_MAX_TX_URBS - 1)]; in esd_usb_tx_done_msg()
785 priv->tx_contexts[j].echo_index = ESD_USB_MAX_TX_URBS; in unlink_all_urbs()
879 if (priv->tx_contexts[i].echo_index == ESD_USB_MAX_TX_URBS) { in esd_usb_start_xmit()
880 context = &priv->tx_contexts[i]; in esd_usb_start_xmit()
1205 priv->tx_contexts[i].echo_index = ESD_USB_MAX_TX_URBS; in esd_usb_probe_one_net()
/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_core.c483 priv->tx_contexts[i].echo_index = max_tx_urbs; in kvaser_usb_reset_tx_urb_contexts()
679 if (priv->tx_contexts[i].echo_index == dev->max_tx_urbs) { in kvaser_usb_start_xmit()
680 context = &priv->tx_contexts[i]; in kvaser_usb_start_xmit()
807 netdev = alloc_candev(struct_size(priv, tx_contexts, dev->max_tx_urbs), in kvaser_usb_init_one()
H A Dkvaser_usb.h132 struct kvaser_usb_tx_urb_context tx_contexts[]; member
H A Dkvaser_usb_leaf.c964 context = &priv->tx_contexts[tid % dev->max_tx_urbs]; in kvaser_usb_leaf_tx_acknowledge()
H A Dkvaser_usb_hydra.c1212 context = &priv->tx_contexts[transid % dev->max_tx_urbs]; in kvaser_usb_hydra_tx_acknowledge()