Lines Matching refs:txc
222 static void gs_free_tx_context(struct gs_tx_context *txc) in gs_free_tx_context() argument
224 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context()
305 struct gs_tx_context *txc; in gs_usb_receive_bulk_callback() local
363 txc = gs_get_tx_context(dev, hf->echo_id); in gs_usb_receive_bulk_callback()
366 if (!txc) { in gs_usb_receive_bulk_callback()
375 gs_free_tx_context(txc); in gs_usb_receive_bulk_callback()
456 struct gs_tx_context *txc = urb->context; in gs_usb_xmit_callback() local
457 struct gs_can *dev = txc->dev; in gs_usb_xmit_callback()
461 netdev_info(netdev, "usb xmit fail %d\n", txc->echo_id); in gs_usb_xmit_callback()
479 struct gs_tx_context *txc; in gs_can_start_xmit() local
485 txc = gs_alloc_tx_context(dev); in gs_can_start_xmit()
486 if (!txc) in gs_can_start_xmit()
501 idx = txc->echo_id; in gs_can_start_xmit()
523 txc); in gs_can_start_xmit()
537 gs_free_tx_context(txc); in gs_can_start_xmit()
571 gs_free_tx_context(txc); in gs_can_start_xmit()