Home
last modified time | relevance | path

Searched refs:MAX_TX_URBS (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/can/usb/
Dems_usb.c226 #define MAX_TX_URBS 10 macro
239 struct sk_buff *echo_skb[MAX_TX_URBS];
246 struct ems_tx_urb_context tx_contexts[MAX_TX_URBS];
524 context->echo_index = MAX_TX_URBS; in ems_usb_write_bulk_callback()
700 for (i = 0; i < MAX_TX_URBS; i++) in unlink_all_urbs()
701 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
785 for (i = 0; i < MAX_TX_URBS; i++) { in ems_usb_start_xmit()
786 if (dev->tx_contexts[i].echo_index == MAX_TX_URBS) { in ems_usb_start_xmit()
837 if (atomic_read(&dev->active_tx_urbs) >= MAX_TX_URBS || in ems_usb_start_xmit()
979 netdev = alloc_candev(sizeof(struct ems_usb), MAX_TX_URBS); in ems_usb_probe()
[all …]
Dusb_8dev.c28 #define MAX_TX_URBS 20 macro
128 struct usb_8dev_tx_urb_context tx_contexts[MAX_TX_URBS];
586 context->echo_index = MAX_TX_URBS; in usb_8dev_write_bulk_callback()
637 for (i = 0; i < MAX_TX_URBS; i++) { in usb_8dev_start_xmit()
638 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in usb_8dev_start_xmit()
677 } else if (atomic_read(&priv->active_tx_urbs) >= MAX_TX_URBS) in usb_8dev_start_xmit()
840 for (i = 0; i < MAX_TX_URBS; i++) in unlink_all_urbs()
841 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
913 netdev = alloc_candev(sizeof(struct usb_8dev_priv), MAX_TX_URBS); in usb_8dev_probe()
944 for (i = 0; i < MAX_TX_URBS; i++) in usb_8dev_probe()
[all …]