Lines Matching full:txc
223 static void gs_free_tx_context(struct gs_tx_context *txc) in gs_free_tx_context() argument
225 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context()
306 struct gs_tx_context *txc; in gs_usb_receive_bulk_callback() local
364 txc = gs_get_tx_context(dev, hf->echo_id); in gs_usb_receive_bulk_callback()
367 if (!txc) { in gs_usb_receive_bulk_callback()
376 gs_free_tx_context(txc); in gs_usb_receive_bulk_callback()
459 struct gs_tx_context *txc = urb->context; in gs_usb_xmit_callback() local
460 struct gs_can *dev = txc->dev; in gs_usb_xmit_callback()
464 netdev_info(netdev, "usb xmit fail %d\n", txc->echo_id); in gs_usb_xmit_callback()
482 struct gs_tx_context *txc; in gs_can_start_xmit() local
488 txc = gs_alloc_tx_context(dev); in gs_can_start_xmit()
489 if (!txc) in gs_can_start_xmit()
504 idx = txc->echo_id; in gs_can_start_xmit()
527 txc); in gs_can_start_xmit()
541 gs_free_tx_context(txc); in gs_can_start_xmit()
575 gs_free_tx_context(txc); in gs_can_start_xmit()