Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/can/usb/
Dems_usb.c225 #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];
526 context->echo_index = MAX_TX_URBS; in ems_usb_write_bulk_callback()
702 for (i = 0; i < MAX_TX_URBS; i++) in unlink_all_urbs()
703 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
787 for (i = 0; i < MAX_TX_URBS; i++) { in ems_usb_start_xmit()
788 if (dev->tx_contexts[i].echo_index == MAX_TX_URBS) { in ems_usb_start_xmit()
840 if (atomic_read(&dev->active_tx_urbs) >= MAX_TX_URBS || in ems_usb_start_xmit()
978 netdev = alloc_candev(sizeof(struct ems_usb), MAX_TX_URBS); in ems_usb_probe()
[all …]
Dusb_8dev.c28 #define MAX_TX_URBS 20 macro
124 struct sk_buff *echo_skb[MAX_TX_URBS];
131 struct usb_8dev_tx_urb_context tx_contexts[MAX_TX_URBS];
594 context->echo_index = MAX_TX_URBS; in usb_8dev_write_bulk_callback()
645 for (i = 0; i < MAX_TX_URBS; i++) { in usb_8dev_start_xmit()
646 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in usb_8dev_start_xmit()
686 } else if (atomic_read(&priv->active_tx_urbs) >= MAX_TX_URBS) in usb_8dev_start_xmit()
851 for (i = 0; i < MAX_TX_URBS; i++) in unlink_all_urbs()
852 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
922 netdev = alloc_candev(sizeof(struct usb_8dev_priv), MAX_TX_URBS); in usb_8dev_probe()
[all …]
Desd_usb2.c88 #define MAX_TX_URBS 16 /* must be power of 2 */ macro
207 struct esd_tx_urb_context tx_contexts[MAX_TX_URBS];
356 context = &priv->tx_contexts[msg->msg.txdone.hnd & (MAX_TX_URBS - 1)]; in esd_usb2_tx_done_msg()
368 context->echo_index = MAX_TX_URBS; in esd_usb2_tx_done_msg()
685 for (j = 0; j < MAX_TX_URBS; j++) in unlink_all_urbs()
686 priv->tx_contexts[j].echo_index = MAX_TX_URBS; in unlink_all_urbs()
768 for (i = 0; i < MAX_TX_URBS; i++) { in esd_usb2_start_xmit()
769 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in esd_usb2_start_xmit()
804 if (atomic_read(&priv->active_tx_jobs) >= MAX_TX_URBS) in esd_usb2_start_xmit()
985 netdev = alloc_candev(sizeof(*priv), MAX_TX_URBS); in esd_usb2_probe_one_net()
[all …]