Lines Matching refs:echo_id
255 u32 echo_id; member
287 unsigned int echo_id; member
339 if (dev->tx_context[i].echo_id == GS_MAX_TX_URBS) { in gs_alloc_tx_context()
340 dev->tx_context[i].echo_id = i; in gs_alloc_tx_context()
354 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context()
366 if (dev->tx_context[id].echo_id == id) { in gs_get_tx_context()
561 if (hf->echo_id == -1) { /* normal rx */ in gs_usb_receive_bulk_callback()
597 if (hf->echo_id >= GS_MAX_TX_URBS) { in gs_usb_receive_bulk_callback()
600 hf->echo_id); in gs_usb_receive_bulk_callback()
604 txc = gs_get_tx_context(dev, hf->echo_id); in gs_usb_receive_bulk_callback()
610 hf->echo_id); in gs_usb_receive_bulk_callback()
614 skb = dev->can.echo_skb[hf->echo_id]; in gs_usb_receive_bulk_callback()
618 netdev->stats.tx_bytes += can_get_echo_skb(netdev, hf->echo_id, in gs_usb_receive_bulk_callback()
710 netdev_info(netdev, "usb xmit fail %u\n", txc->echo_id); in gs_usb_xmit_callback()
745 idx = txc->echo_id; in gs_can_start_xmit()
752 hf->echo_id = idx; in gs_can_start_xmit()
987 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_can_close()
1178 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_make_candev()