Lines Matching refs:echo_id
265 u32 echo_id; member
299 unsigned int echo_id; member
352 if (dev->tx_context[i].echo_id == GS_MAX_TX_URBS) { in gs_alloc_tx_context()
353 dev->tx_context[i].echo_id = i; in gs_alloc_tx_context()
367 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context()
379 if (dev->tx_context[id].echo_id == id) { in gs_get_tx_context()
556 const u32 echo_id = hf->echo_id; in gs_usb_get_echo_skb() local
562 len = can_rx_offload_get_echo_skb_queue_timestamp(offload, echo_id, in gs_usb_get_echo_skb()
565 len = can_rx_offload_get_echo_skb_queue_tail(offload, echo_id, in gs_usb_get_echo_skb()
613 if (hf->echo_id == -1) { /* normal rx */ in gs_usb_receive_bulk_callback()
644 if (hf->echo_id >= GS_MAX_TX_URBS) { in gs_usb_receive_bulk_callback()
647 hf->echo_id); in gs_usb_receive_bulk_callback()
651 txc = gs_get_tx_context(dev, hf->echo_id); in gs_usb_receive_bulk_callback()
657 hf->echo_id); in gs_usb_receive_bulk_callback()
661 skb = dev->can.echo_skb[hf->echo_id]; in gs_usb_receive_bulk_callback()
755 netdev_info(netdev, "usb xmit fail %u\n", txc->echo_id); in gs_usb_xmit_callback()
788 idx = txc->echo_id; in gs_can_start_xmit()
795 hf->echo_id = idx; in gs_can_start_xmit()
1081 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_can_close()
1271 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_make_candev()