Lines Matching refs:txc
205 static void gs_free_tx_context(struct gs_tx_context *txc) in gs_free_tx_context() argument
207 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context()
285 struct gs_tx_context *txc; in gs_usb_recieve_bulk_callback() local
343 txc = gs_get_tx_context(dev, hf->echo_id); in gs_usb_recieve_bulk_callback()
346 if (!txc) { in gs_usb_recieve_bulk_callback()
355 gs_free_tx_context(txc); in gs_usb_recieve_bulk_callback()
434 struct gs_tx_context *txc = urb->context; in gs_usb_xmit_callback() local
435 struct gs_can *dev = txc->dev; in gs_usb_xmit_callback()
439 netdev_info(netdev, "usb xmit fail %d\n", txc->echo_id); in gs_usb_xmit_callback()
464 struct gs_tx_context *txc; in gs_can_start_xmit() local
470 txc = gs_alloc_tx_context(dev); in gs_can_start_xmit()
471 if (!txc) in gs_can_start_xmit()
488 idx = txc->echo_id; in gs_can_start_xmit()
509 txc); in gs_can_start_xmit()
523 gs_free_tx_context(txc); in gs_can_start_xmit()
558 gs_free_tx_context(txc); in gs_can_start_xmit()