Lines Matching refs:GS_MAX_TX_URBS
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()
1076 for (rc = 0; rc < GS_MAX_TX_URBS; rc++) { in gs_can_close()
1078 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_can_close()
1234 netdev = alloc_candev(sizeof(struct gs_can), GS_MAX_TX_URBS); in gs_make_candev()
1266 for (rc = 0; rc < GS_MAX_TX_URBS; rc++) { in gs_make_candev()
1268 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_make_candev()