Lines Matching full:txc
368 static void gs_free_tx_context(struct gs_tx_context *txc) in gs_free_tx_context() argument
370 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context()
583 struct gs_tx_context *txc; in gs_usb_receive_bulk_callback() local
654 txc = gs_get_tx_context(dev, hf->echo_id); in gs_usb_receive_bulk_callback()
657 if (!txc) { in gs_usb_receive_bulk_callback()
667 gs_free_tx_context(txc); in gs_usb_receive_bulk_callback()
753 struct gs_tx_context *txc = urb->context; in gs_usb_xmit_callback() local
754 struct gs_can *dev = txc->dev; in gs_usb_xmit_callback()
758 netdev_info(netdev, "usb xmit fail %u\n", txc->echo_id); in gs_usb_xmit_callback()
772 struct gs_tx_context *txc; in gs_can_start_xmit() local
778 txc = gs_alloc_tx_context(dev); in gs_can_start_xmit()
779 if (!txc) in gs_can_start_xmit()
791 idx = txc->echo_id; in gs_can_start_xmit()
827 gs_usb_xmit_callback, txc); in gs_can_start_xmit()
841 gs_free_tx_context(txc); in gs_can_start_xmit()
868 gs_free_tx_context(txc); in gs_can_start_xmit()