Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/can/usb/
Ducan.c197 u8 echo_index; member
637 u8 echo_index, dlc; in ucan_tx_complete_msg() local
650 echo_index = m->msg.can_tx_complete_msg[i].echo_index; in ucan_tx_complete_msg()
651 if (echo_index >= up->device_info.tx_fifo) { in ucan_tx_complete_msg()
655 echo_index); in ucan_tx_complete_msg()
660 context = &up->context_array[echo_index]; in ucan_tx_complete_msg()
675 can_get_echo_skb(up->netdev, echo_index); in ucan_tx_complete_msg()
678 can_free_echo_skb(up->netdev, echo_index); in ucan_tx_complete_msg()
1050 u8 echo_index) in ucan_prepare_tx_urb() argument
1091 m->subtype = echo_index; in ucan_prepare_tx_urb()
[all …]
Dems_usb.c232 u32 echo_index; member
523 can_get_echo_skb(netdev, context->echo_index); in ems_usb_write_bulk_callback()
526 context->echo_index = MAX_TX_URBS; in ems_usb_write_bulk_callback()
703 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
788 if (dev->tx_contexts[i].echo_index == MAX_TX_URBS) { in ems_usb_start_xmit()
808 context->echo_index = i; in ems_usb_start_xmit()
816 can_put_echo_skb(skb, netdev, context->echo_index); in ems_usb_start_xmit()
822 can_free_echo_skb(netdev, context->echo_index); in ems_usb_start_xmit()
1006 dev->tx_contexts[i].echo_index = MAX_TX_URBS; in ems_usb_probe()
Dusb_8dev.c116 u32 echo_index; member
589 can_get_echo_skb(netdev, context->echo_index); in usb_8dev_write_bulk_callback()
594 context->echo_index = MAX_TX_URBS; in usb_8dev_write_bulk_callback()
646 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in usb_8dev_start_xmit()
659 context->echo_index = i; in usb_8dev_start_xmit()
668 can_put_echo_skb(skb, netdev, context->echo_index); in usb_8dev_start_xmit()
674 can_free_echo_skb(netdev, context->echo_index); in usb_8dev_start_xmit()
852 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in unlink_all_urbs()
952 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in usb_8dev_probe()
Desd_usb2.c185 u32 echo_index; member
361 can_get_echo_skb(netdev, context->echo_index); in esd_usb2_tx_done_msg()
364 can_free_echo_skb(netdev, context->echo_index); in esd_usb2_tx_done_msg()
368 context->echo_index = MAX_TX_URBS; in esd_usb2_tx_done_msg()
686 priv->tx_contexts[j].echo_index = MAX_TX_URBS; in unlink_all_urbs()
769 if (priv->tx_contexts[i].echo_index == MAX_TX_URBS) { in esd_usb2_start_xmit()
785 context->echo_index = i; in esd_usb2_start_xmit()
799 can_put_echo_skb(skb, netdev, context->echo_index); in esd_usb2_start_xmit()
809 can_free_echo_skb(netdev, context->echo_index); in esd_usb2_start_xmit()
998 priv->tx_contexts[i].echo_index = MAX_TX_URBS; in esd_usb2_probe_one_net()
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c311 can_get_echo_skb(netdev, context->echo_index); in peak_usb_write_bulk_callback()
312 context->echo_index = PCAN_USB_MAX_TX_URBS; in peak_usb_write_bulk_callback()
338 if (dev->tx_contexts[i].echo_index == PCAN_USB_MAX_TX_URBS) { in peak_usb_ndo_start_xmit()
360 context->echo_index = i; in peak_usb_ndo_start_xmit()
367 can_put_echo_skb(skb, netdev, context->echo_index); in peak_usb_ndo_start_xmit()
373 can_free_echo_skb(netdev, context->echo_index); in peak_usb_ndo_start_xmit()
378 context->echo_index = PCAN_USB_MAX_TX_URBS; in peak_usb_ndo_start_xmit()
585 dev->tx_contexts[i].echo_index != PCAN_USB_MAX_TX_URBS) { in peak_usb_unlink_all_urbs()
828 dev->tx_contexts[i].echo_index = PCAN_USB_MAX_TX_URBS; in peak_usb_create_dev()
Dpcan_usb_core.h100 u32 echo_index; member
/kernel/linux/linux-5.10/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_core.c418 priv->tx_contexts[i].echo_index = max_tx_urbs; in kvaser_usb_reset_tx_urb_contexts()
527 if (priv->tx_contexts[i].echo_index == dev->max_tx_urbs) { in kvaser_usb_start_xmit()
530 context->echo_index = i; in kvaser_usb_start_xmit()
549 context->echo_index); in kvaser_usb_start_xmit()
555 context->echo_index = dev->max_tx_urbs; in kvaser_usb_start_xmit()
565 can_put_echo_skb(skb, netdev, context->echo_index); in kvaser_usb_start_xmit()
578 can_free_echo_skb(netdev, context->echo_index); in kvaser_usb_start_xmit()
579 context->echo_index = dev->max_tx_urbs; in kvaser_usb_start_xmit()
Dkvaser_usb.h79 u32 echo_index; member
Dkvaser_usb_leaf.c663 can_get_echo_skb(priv->netdev, context->echo_index); in kvaser_usb_leaf_tx_acknowledge()
664 context->echo_index = dev->max_tx_urbs; in kvaser_usb_leaf_tx_acknowledge()
Dkvaser_usb_hydra.c1128 can_get_echo_skb(priv->netdev, context->echo_index); in kvaser_usb_hydra_tx_acknowledge()
1129 context->echo_index = dev->max_tx_urbs; in kvaser_usb_hydra_tx_acknowledge()