Lines Matching refs:txc
352 static void gs_free_tx_context(struct gs_tx_context *txc) in gs_free_tx_context() argument
354 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context()
531 struct gs_tx_context *txc; in gs_usb_receive_bulk_callback() local
604 txc = gs_get_tx_context(dev, hf->echo_id); in gs_usb_receive_bulk_callback()
607 if (!txc) { in gs_usb_receive_bulk_callback()
621 gs_free_tx_context(txc); in gs_usb_receive_bulk_callback()
706 struct gs_tx_context *txc = urb->context; in gs_usb_xmit_callback() local
707 struct gs_can *dev = txc->dev; in gs_usb_xmit_callback()
711 netdev_info(netdev, "usb xmit fail %u\n", txc->echo_id); in gs_usb_xmit_callback()
725 struct gs_tx_context *txc; in gs_can_start_xmit() local
731 txc = gs_alloc_tx_context(dev); in gs_can_start_xmit()
732 if (!txc) in gs_can_start_xmit()
746 idx = txc->echo_id; in gs_can_start_xmit()
782 gs_usb_xmit_callback, txc); in gs_can_start_xmit()
796 gs_free_tx_context(txc); in gs_can_start_xmit()
823 gs_free_tx_context(txc); in gs_can_start_xmit()