Home
last modified time | relevance | path

Searched refs:echo_index (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/net/can/usb/
Ducan.c198 u8 echo_index; member
640 u8 echo_index; in ucan_tx_complete_msg() local
653 echo_index = m->msg.can_tx_complete_msg[i].echo_index; in ucan_tx_complete_msg()
654 if (echo_index >= up->device_info.tx_fifo) { in ucan_tx_complete_msg()
658 echo_index); in ucan_tx_complete_msg()
663 context = &up->context_array[echo_index]; in ucan_tx_complete_msg()
677 can_get_echo_skb(up->netdev, echo_index, NULL); in ucan_tx_complete_msg()
680 can_free_echo_skb(up->netdev, echo_index, NULL); in ucan_tx_complete_msg()
1052 u8 echo_index) in ucan_prepare_tx_urb() argument
1091 m->subtype = echo_index; in ucan_prepare_tx_urb()
[all …]
Dusb_8dev.c116 u32 echo_index; member
583 netdev->stats.tx_bytes += can_get_echo_skb(netdev, context->echo_index, NULL); in usb_8dev_write_bulk_callback()
586 context->echo_index = MAX_TX_URBS; in usb_8dev_write_bulk_callback()
638 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in usb_8dev_start_xmit()
651 context->echo_index = i; in usb_8dev_start_xmit()
659 can_put_echo_skb(skb, netdev, context->echo_index, 0); in usb_8dev_start_xmit()
665 can_free_echo_skb(netdev, context->echo_index, NULL); in usb_8dev_start_xmit()
841 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
945 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in usb_8dev_probe()
Dems_usb.c233 u32 echo_index; member
520 netdev->stats.tx_bytes += can_get_echo_skb(netdev, context->echo_index, in ems_usb_write_bulk_callback()
524 context->echo_index = MAX_TX_URBS; in ems_usb_write_bulk_callback()
701 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
786 if (dev->tx_contexts[i].echo_index == MAX_TX_URBS) { in ems_usb_start_xmit()
806 context->echo_index = i; in ems_usb_start_xmit()
813 can_put_echo_skb(skb, netdev, context->echo_index, 0); in ems_usb_start_xmit()
819 can_free_echo_skb(netdev, context->echo_index, NULL); in ems_usb_start_xmit()
1008 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in ems_usb_probe()
Desd_usb.c265 u32 echo_index; member
466 stats->tx_bytes += can_get_echo_skb(netdev, context->echo_index, in esd_usb_tx_done_msg()
470 can_free_echo_skb(netdev, context->echo_index, NULL); in esd_usb_tx_done_msg()
474 context->echo_index = ESD_USB_MAX_TX_URBS; in esd_usb_tx_done_msg()
785 priv->tx_contexts[j].echo_index = ESD_USB_MAX_TX_URBS; in unlink_all_urbs()
879 if (priv->tx_contexts[i].echo_index == ESD_USB_MAX_TX_URBS) { in esd_usb_start_xmit()
893 context->echo_index = i; in esd_usb_start_xmit()
906 can_put_echo_skb(skb, netdev, context->echo_index, 0); in esd_usb_start_xmit()
916 can_free_echo_skb(netdev, context->echo_index, NULL); in esd_usb_start_xmit()
1208 priv->tx_contexts[i].echo_index = ESD_USB_MAX_TX_URBS; in esd_usb_probe_one_net()
/Linux-v6.6/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c336 tx_bytes = can_get_echo_skb(netdev, context->echo_index, NULL); in peak_usb_write_bulk_callback()
337 context->echo_index = PCAN_USB_MAX_TX_URBS; in peak_usb_write_bulk_callback()
367 if (dev->tx_contexts[i].echo_index == PCAN_USB_MAX_TX_URBS) { in peak_usb_ndo_start_xmit()
389 context->echo_index = i; in peak_usb_ndo_start_xmit()
393 can_put_echo_skb(skb, netdev, context->echo_index, 0); in peak_usb_ndo_start_xmit()
399 can_free_echo_skb(netdev, context->echo_index, NULL); in peak_usb_ndo_start_xmit()
404 context->echo_index = PCAN_USB_MAX_TX_URBS; in peak_usb_ndo_start_xmit()
611 dev->tx_contexts[i].echo_index != PCAN_USB_MAX_TX_URBS) { in peak_usb_unlink_all_urbs()
982 dev->tx_contexts[i].echo_index = PCAN_USB_MAX_TX_URBS; in peak_usb_create_dev()
Dpcan_usb_core.h102 u32 echo_index; member
/Linux-v6.6/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_core.c470 priv->tx_contexts[i].echo_index = max_tx_urbs; in kvaser_usb_reset_tx_urb_contexts()
666 if (priv->tx_contexts[i].echo_index == dev->max_tx_urbs) { in kvaser_usb_start_xmit()
669 context->echo_index = i; in kvaser_usb_start_xmit()
687 buf = ops->dev_frame_to_cmd(priv, skb, &cmd_len, context->echo_index); in kvaser_usb_start_xmit()
693 context->echo_index = dev->max_tx_urbs; in kvaser_usb_start_xmit()
703 can_put_echo_skb(skb, netdev, context->echo_index, 0); in kvaser_usb_start_xmit()
716 can_free_echo_skb(netdev, context->echo_index, NULL); in kvaser_usb_start_xmit()
717 context->echo_index = dev->max_tx_urbs; in kvaser_usb_start_xmit()
Dkvaser_usb.h76 u32 echo_index; member
Dkvaser_usb_leaf.c927 context->echo_index, NULL); in kvaser_usb_leaf_tx_acknowledge()
928 context->echo_index = dev->max_tx_urbs; in kvaser_usb_leaf_tx_acknowledge()
Dkvaser_usb_hydra.c1204 len = can_get_echo_skb(priv->netdev, context->echo_index, NULL); in kvaser_usb_hydra_tx_acknowledge()
1205 context->echo_index = dev->max_tx_urbs; in kvaser_usb_hydra_tx_acknowledge()