Searched refs:tx_contexts (Results 1 – 9 of 9) sorted by relevance
338 if (dev->tx_contexts[i].echo_index == PCAN_USB_MAX_TX_URBS) { in peak_usb_ndo_start_xmit()339 context = dev->tx_contexts + i; in peak_usb_ndo_start_xmit()486 context = dev->tx_contexts + i; in peak_usb_start()535 usb_free_urb(dev->tx_contexts[i].urb); in peak_usb_start()536 dev->tx_contexts[i].urb = NULL; in peak_usb_start()582 struct urb *urb = dev->tx_contexts[i].urb; in peak_usb_unlink_all_urbs()585 dev->tx_contexts[i].echo_index != PCAN_USB_MAX_TX_URBS) { in peak_usb_unlink_all_urbs()594 dev->tx_contexts[i].urb = NULL; in peak_usb_unlink_all_urbs()828 dev->tx_contexts[i].echo_index = PCAN_USB_MAX_TX_URBS; in peak_usb_create_dev()
122 struct peak_tx_urb_context tx_contexts[PCAN_USB_MAX_TX_URBS]; member
131 struct usb_8dev_tx_urb_context tx_contexts[MAX_TX_URBS]; member647 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in usb_8dev_start_xmit()648 context = &priv->tx_contexts[i]; in usb_8dev_start_xmit()853 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()953 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in usb_8dev_probe()
246 struct ems_tx_urb_context tx_contexts[MAX_TX_URBS]; member703 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()788 if (dev->tx_contexts[i].echo_index == MAX_TX_URBS) { in ems_usb_start_xmit()789 context = &dev->tx_contexts[i]; in ems_usb_start_xmit()1006 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in ems_usb_probe()
207 struct esd_tx_urb_context tx_contexts[MAX_TX_URBS]; member364 context = &priv->tx_contexts[msg->msg.txdone.hnd & (MAX_TX_URBS - 1)]; in esd_usb2_tx_done_msg()694 priv->tx_contexts[j].echo_index = MAX_TX_URBS; in unlink_all_urbs()777 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in esd_usb2_start_xmit()778 context = &priv->tx_contexts[i]; in esd_usb2_start_xmit()1006 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in esd_usb2_probe_one_net()
446 priv->tx_contexts[i].echo_index = max_tx_urbs; in kvaser_usb_reset_tx_urb_contexts()644 if (priv->tx_contexts[i].echo_index == dev->max_tx_urbs) { in kvaser_usb_start_xmit()645 context = &priv->tx_contexts[i]; in kvaser_usb_start_xmit()768 netdev = alloc_candev(struct_size(priv, tx_contexts, dev->max_tx_urbs), in kvaser_usb_init_one()
130 struct kvaser_usb_tx_urb_context tx_contexts[]; member
898 context = &priv->tx_contexts[tid % dev->max_tx_urbs]; in kvaser_usb_leaf_tx_acknowledge()
1178 context = &priv->tx_contexts[transid % dev->max_tx_urbs]; in kvaser_usb_hydra_tx_acknowledge()