Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c513 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()
H A Dpeak_canfd_user.h22 int echo_idx; /* echo skb free slot index */ member
H A Dpeak_pciefd_main.c343 if (!priv->ucan.can.echo_skb[priv->ucan.echo_idx]) in pciefd_irq_handler()
/linux-6.15/drivers/net/can/
H A Dkvaser_pciefd.c1522 int echo_idx = FIELD_GET(KVASER_PCIEFD_PACKET_SEQ_MASK, p->header[0]); in kvaser_pciefd_handle_ack_packet() local
1526 if (echo_idx != (can->ack_idx & (can->can.echo_skb_max - 1))) in kvaser_pciefd_handle_ack_packet()
1528 skb = can->can.echo_skb[echo_idx]; in kvaser_pciefd_handle_ack_packet()
1532 len = can_get_echo_skb(can->can.dev, echo_idx, &frame_len); in kvaser_pciefd_handle_ack_packet()