Searched refs:tx_contexts (Results 1 – 9 of 9) sorted by relevance
297 if (dev->tx_contexts[i].echo_index == PCAN_USB_MAX_TX_URBS) { in peak_usb_ndo_start_xmit()298 context = dev->tx_contexts + i; in peak_usb_ndo_start_xmit()445 context = dev->tx_contexts + i; in peak_usb_start()494 usb_free_urb(dev->tx_contexts[i].urb); in peak_usb_start()495 dev->tx_contexts[i].urb = NULL; in peak_usb_start()541 struct urb *urb = dev->tx_contexts[i].urb; in peak_usb_unlink_all_urbs()544 dev->tx_contexts[i].echo_index != PCAN_USB_MAX_TX_URBS) { in peak_usb_unlink_all_urbs()553 dev->tx_contexts[i].urb = NULL; in peak_usb_unlink_all_urbs()787 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]; member645 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in usb_8dev_start_xmit()646 context = &priv->tx_contexts[i]; in usb_8dev_start_xmit()843 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()943 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in usb_8dev_probe()
246 struct ems_tx_urb_context tx_contexts[MAX_TX_URBS]; member691 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()776 if (dev->tx_contexts[i].echo_index == MAX_TX_URBS) { in ems_usb_start_xmit()777 context = &dev->tx_contexts[i]; in ems_usb_start_xmit()995 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in ems_usb_probe()
205 struct esd_tx_urb_context tx_contexts[MAX_TX_URBS]; member354 context = &priv->tx_contexts[msg->msg.txdone.hnd & (MAX_TX_URBS - 1)]; in esd_usb2_tx_done_msg()672 priv->tx_contexts[j].echo_index = MAX_TX_URBS; in unlink_all_urbs()755 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in esd_usb2_start_xmit()756 context = &priv->tx_contexts[i]; in esd_usb2_start_xmit()984 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in esd_usb2_probe_one_net()
418 priv->tx_contexts[i].echo_index = max_tx_urbs; in kvaser_usb_reset_tx_urb_contexts()527 if (priv->tx_contexts[i].echo_index == dev->max_tx_urbs) { in kvaser_usb_start_xmit()528 context = &priv->tx_contexts[i]; in kvaser_usb_start_xmit()646 netdev = alloc_candev(struct_size(priv, tx_contexts, dev->max_tx_urbs), in kvaser_usb_init_one()
120 struct kvaser_usb_tx_urb_context tx_contexts[]; member
567 context = &priv->tx_contexts[tid % dev->max_tx_urbs]; in kvaser_usb_leaf_tx_acknowledge()
1118 context = &priv->tx_contexts[transid % dev->max_tx_urbs]; in kvaser_usb_hydra_tx_acknowledge()