Home
last modified time | relevance | path

Searched refs:GS_MAX_TX_URBS (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/can/usb/
H A Dgs_usb.c155 /* Only send a max of GS_MAX_TX_URBS frames per channel at a time. */
156 #define GS_MAX_TX_URBS 10 macro
183 struct gs_tx_context tx_context[GS_MAX_TX_URBS];
209 for (; i < GS_MAX_TX_URBS; i++) { in gs_alloc_tx_context()
210 if (dev->tx_context[i].echo_id == GS_MAX_TX_URBS) { in gs_alloc_tx_context()
225 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context()
235 if (id < GS_MAX_TX_URBS) { in gs_get_tx_context()
354 if (hf->echo_id >= GS_MAX_TX_URBS) { in gs_usb_receive_bulk_callback()
506 if (idx >= GS_MAX_TX_URBS) { in gs_can_start_xmit()
557 if (atomic_read(&dev->active_tx_urbs) >= GS_MAX_TX_URBS) in gs_can_start_xmit()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/usb/
H A Dgs_usb.c283 /* Only send a max of GS_MAX_TX_URBS frames per channel at a time. */
284 #define GS_MAX_TX_URBS 10 macro
316 struct gs_tx_context tx_context[GS_MAX_TX_URBS];
348 for (; i < GS_MAX_TX_URBS; i++) { in gs_alloc_tx_context()
349 if (dev->tx_context[i].echo_id == GS_MAX_TX_URBS) { in gs_alloc_tx_context()
364 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context()
374 if (id < GS_MAX_TX_URBS) { in gs_get_tx_context()
641 if (hf->echo_id >= GS_MAX_TX_URBS) { in gs_usb_receive_bulk_callback()
787 if (idx >= GS_MAX_TX_URBS) { in gs_can_start_xmit()
847 if (atomic_read(&dev->active_tx_urbs) >= GS_MAX_TX_URBS) in gs_can_start_xmit()
[all...]

Completed in 4 milliseconds