Lines Matching refs:txc
362 static void gs_free_tx_context(struct gs_tx_context *txc) in gs_free_tx_context() argument
364 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context()
577 struct gs_tx_context *txc; in gs_usb_receive_bulk_callback() local
648 txc = gs_get_tx_context(dev, hf->echo_id); in gs_usb_receive_bulk_callback()
651 if (!txc) { in gs_usb_receive_bulk_callback()
661 gs_free_tx_context(txc); in gs_usb_receive_bulk_callback()
747 struct gs_tx_context *txc = urb->context; in gs_usb_xmit_callback() local
748 struct gs_can *dev = txc->dev; in gs_usb_xmit_callback()
752 netdev_info(netdev, "usb xmit fail %u\n", txc->echo_id); in gs_usb_xmit_callback()
766 struct gs_tx_context *txc; in gs_can_start_xmit() local
772 txc = gs_alloc_tx_context(dev); in gs_can_start_xmit()
773 if (!txc) in gs_can_start_xmit()
785 idx = txc->echo_id; in gs_can_start_xmit()
821 gs_usb_xmit_callback, txc); in gs_can_start_xmit()
835 gs_free_tx_context(txc); in gs_can_start_xmit()
862 gs_free_tx_context(txc); in gs_can_start_xmit()