Searched refs:max_tx_urbs (Results 1 – 4 of 4) sorted by relevance
465 int i, max_tx_urbs; in kvaser_usb_reset_tx_urb_contexts() local467 max_tx_urbs = priv->dev->max_tx_urbs; in kvaser_usb_reset_tx_urb_contexts()470 for (i = 0; i < max_tx_urbs; i++) in kvaser_usb_reset_tx_urb_contexts()471 priv->tx_contexts[i].echo_index = max_tx_urbs; in kvaser_usb_reset_tx_urb_contexts()666 for (i = 0; i < dev->max_tx_urbs; i++) { in kvaser_usb_start_xmit()667 if (priv->tx_contexts[i].echo_index == dev->max_tx_urbs) { in kvaser_usb_start_xmit()672 if (priv->active_tx_contexts >= (int)dev->max_tx_urbs) in kvaser_usb_start_xmit()694 context->echo_index = dev->max_tx_urbs; in kvaser_usb_start_xmit()718 context->echo_index = dev->max_tx_urbs; in kvaser_usb_start_xmit()806 netdev = alloc_candev(struct_size(priv, tx_contexts, dev->max_tx_urbs), in kvaser_usb_init_one()[all …]
103 unsigned int max_tx_urbs; member
673 dev->max_tx_urbs = le16_to_cpu(softinfo->max_outstanding_tx); in kvaser_usb_leaf_get_software_info_leaf()717 dev->max_tx_urbs = in kvaser_usb_leaf_get_software_info_inner()900 context = &priv->tx_contexts[tid % dev->max_tx_urbs]; in kvaser_usb_leaf_tx_acknowledge()928 context->echo_index = dev->max_tx_urbs; in kvaser_usb_leaf_tx_acknowledge()
1200 context = &priv->tx_contexts[transid % dev->max_tx_urbs]; in kvaser_usb_hydra_tx_acknowledge()1205 context->echo_index = dev->max_tx_urbs; in kvaser_usb_hydra_tx_acknowledge()1814 dev->max_tx_urbs = min_t(unsigned int, KVASER_USB_MAX_TX_URBS, in kvaser_usb_hydra_get_software_info()