Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/can/usb/
Desd_usb.c97 #define ESD_USB_MAX_TX_URBS 16 /* must be power of 2 */ macro
286 struct esd_tx_urb_context tx_contexts[ESD_USB_MAX_TX_URBS];
462 context = &priv->tx_contexts[msg->txdone.hnd & (ESD_USB_MAX_TX_URBS - 1)]; in esd_usb_tx_done_msg()
474 context->echo_index = ESD_USB_MAX_TX_URBS; in esd_usb_tx_done_msg()
784 for (j = 0; j < ESD_USB_MAX_TX_URBS; j++) in unlink_all_urbs()
785 priv->tx_contexts[j].echo_index = ESD_USB_MAX_TX_URBS; in unlink_all_urbs()
878 for (i = 0; i < ESD_USB_MAX_TX_URBS; i++) { in esd_usb_start_xmit()
879 if (priv->tx_contexts[i].echo_index == ESD_USB_MAX_TX_URBS) { in esd_usb_start_xmit()
911 if (atomic_read(&priv->active_tx_jobs) >= ESD_USB_MAX_TX_URBS) in esd_usb_start_xmit()
1192 netdev = alloc_candev(sizeof(*priv), ESD_USB_MAX_TX_URBS); in esd_usb_probe_one_net()
[all …]