Searched refs:echo_idx (Results 1 – 4 of 4) sorted by relevance
513 priv->echo_idx = 0; in peak_canfd_start()711 msg->client = priv->echo_idx; in peak_canfd_start_xmit()716 can_put_echo_skb(skb, ndev, priv->echo_idx, 0); in peak_canfd_start_xmit()719 priv->echo_idx = (priv->echo_idx + 1) % priv->can.echo_skb_max; in peak_canfd_start_xmit()725 should_stop_tx_queue = !!(priv->can.echo_skb[priv->echo_idx]); in peak_canfd_start_xmit()
22 int echo_idx; /* echo skb free slot index */ member
343 if (!priv->ucan.can.echo_skb[priv->ucan.echo_idx]) in pciefd_irq_handler()
377 int echo_idx; member714 int seq = can->echo_idx; in kvaser_pciefd_prepare_tx_packet()767 can_put_echo_skb(skb, netdev, can->echo_idx, 0); in kvaser_pciefd_start_xmit()770 can->echo_idx = (can->echo_idx + 1) % can->can.echo_skb_max; in kvaser_pciefd_start_xmit()799 if (count >= can->can.echo_skb_max || can->can.echo_skb[can->echo_idx]) in kvaser_pciefd_start_xmit()944 can->echo_idx = 0; in kvaser_pciefd_setup_can_ctrls()1446 int echo_idx = FIELD_GET(KVASER_PCIEFD_PACKET_SEQ_MASK, p->header[0]); in kvaser_pciefd_handle_ack_packet() local1451 skb = can->can.echo_skb[echo_idx]; in kvaser_pciefd_handle_ack_packet()1454 len = can_get_echo_skb(can->can.dev, echo_idx, NULL); in kvaser_pciefd_handle_ack_packet()