Lines Matching defs:rcv_packet_idx
311 * @rcv_packet_idx: Index
321 u32 rcv_packet_idx)
331 rcv_packet_idx, priv->tx_tail, priv->tx_head,
335 if ((s32)(rcv_packet_idx - priv->tx_tail) < 0) {
340 } else if ((s32)(rcv_packet_idx - priv->tx_head) >= 0) {
349 rcv_packet_idx - priv->tx_tail,
350 priv->tx_tail, rcv_packet_idx - 1);
351 while (priv->tx_tail != rcv_packet_idx) {
364 * @rcv_packet_idx: Index of the first packet received from the device.
377 * @rcv_packet_idx, index of second packet is @rcv_packet_idx + 1 and
378 * index of last packet is @rcv_packet_idx + @pkts - 1).
382 int es58x_can_get_echo_skb(struct net_device *netdev, u32 rcv_packet_idx,
402 pkts, rcv_packet_idx);
412 pkts, rcv_packet_idx);
417 if (priv->tx_tail != rcv_packet_idx) {
418 if (es58x_can_get_echo_skb_recovery(netdev, rcv_packet_idx) < 0) {
422 rcv_packet_idx);