Home
last modified time | relevance | path

Searched refs:echo_idx (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c516 priv->echo_idx = 0; in peak_canfd_start()
714 msg->client = priv->echo_idx; in peak_canfd_start_xmit()
719 can_put_echo_skb(skb, ndev, priv->echo_idx); in peak_canfd_start_xmit()
722 priv->echo_idx = (priv->echo_idx + 1) % priv->can.echo_skb_max; in peak_canfd_start_xmit()
728 should_stop_tx_queue = !!(priv->can.echo_skb[priv->echo_idx]); in peak_canfd_start_xmit()
H A Dpeak_canfd_user.h22 int echo_idx; /* echo skb free slot index */ member
H A Dpeak_pciefd_main.c344 if (!priv->ucan.can.echo_skb[priv->ucan.echo_idx]) in pciefd_irq_handler()
/OK3568_Linux_fs/kernel/drivers/net/can/
H A Dkvaser_pciefd.c263 int echo_idx; member
735 int seq = can->echo_idx; in kvaser_pciefd_prepare_tx_packet()
785 can_put_echo_skb(skb, netdev, can->echo_idx); in kvaser_pciefd_start_xmit()
788 can->echo_idx = (can->echo_idx + 1) % can->can.echo_skb_max; in kvaser_pciefd_start_xmit()
817 can->can.echo_skb[can->echo_idx]) in kvaser_pciefd_start_xmit()
972 can->echo_idx = 0; in kvaser_pciefd_setup_can_ctrls()
1479 int echo_idx = p->header[0] & KVASER_PCIEFD_PACKET_SEQ_MSK; in kvaser_pciefd_handle_eack_packet() local
1480 int dlc = can_get_echo_skb(can->can.dev, echo_idx); in kvaser_pciefd_handle_eack_packet()
1545 int echo_idx = p->header[0] & KVASER_PCIEFD_PACKET_SEQ_MSK; in kvaser_pciefd_handle_ack_packet() local
1546 int dlc = can_get_echo_skb(can->can.dev, echo_idx); in kvaser_pciefd_handle_ack_packet()