Home
last modified time | relevance | path

Searched refs:rcv_packet_idx (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c321 u32 rcv_packet_idx) in es58x_can_get_echo_skb_recovery() argument
331 rcv_packet_idx, priv->tx_tail, priv->tx_head, in es58x_can_get_echo_skb_recovery()
335 if ((s32)(rcv_packet_idx - priv->tx_tail) < 0) { in es58x_can_get_echo_skb_recovery()
340 } else if ((s32)(rcv_packet_idx - priv->tx_head) >= 0) { in es58x_can_get_echo_skb_recovery()
349 rcv_packet_idx - priv->tx_tail, in es58x_can_get_echo_skb_recovery()
350 priv->tx_tail, rcv_packet_idx - 1); in es58x_can_get_echo_skb_recovery()
351 while (priv->tx_tail != rcv_packet_idx) { in es58x_can_get_echo_skb_recovery()
382 int es58x_can_get_echo_skb(struct net_device *netdev, u32 rcv_packet_idx, in es58x_can_get_echo_skb() argument
402 pkts, rcv_packet_idx); in es58x_can_get_echo_skb()
412 pkts, rcv_packet_idx); in es58x_can_get_echo_skb()
[all …]
H A Des58x_fd.c70 u32 rcv_packet_idx; in es58x_fd_echo_msg() local
82 rcv_packet_idx = (priv->tx_tail & mask) | echo_msg[0].packet_idx; in es58x_fd_echo_msg()
84 if ((u8)rcv_packet_idx != echo_msg[i].packet_idx) { in es58x_fd_echo_msg()
86 (u8)rcv_packet_idx - 1, in es58x_fd_echo_msg()
92 rcv_packet_idx++; in es58x_fd_echo_msg()