Home
last modified time | relevance | path

Searched refs:packet_idx (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/can/usb/etas_es58x/
H A Des581_4.c47 u32 first_packet_idx, packet_idx; in es581_4_echo_msg() local
65 first_packet_idx = get_unaligned_le32(&echo_msg->packet_idx); in es581_4_echo_msg()
66 packet_idx = first_packet_idx; in es581_4_echo_msg()
71 tmp_idx = get_unaligned_le32(&echo_msg->packet_idx); in es581_4_echo_msg()
72 if (tmp_idx == packet_idx - 1) { in es581_4_echo_msg()
76 packet_idx - 1); in es581_4_echo_msg()
80 if (tmp_idx != packet_idx) { in es581_4_echo_msg()
82 packet_idx - 1, echo_msg->packet_idx); in es581_4_echo_msg()
87 packet_idx++; in es581_4_echo_msg()
377 put_unaligned_le32(priv->tx_head, &tx_can_msg->packet_idx); in es581_4_tx_can_msg()
H A Des58x_fd.c73 BITS_PER_TYPE(echo_msg->packet_idx)); in es58x_fd_echo_msg()
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()
87 echo_msg[i].packet_idx); in es58x_fd_echo_msg()
362 tx_can_msg->packet_idx = (u8)priv->tx_head; in es58x_fd_tx_can_msg()
H A Des581_4.h78 __le32 packet_idx; member
97 __le32 packet_idx; member
H A Des58x_fd.h127 u8 packet_idx; member
158 u8 packet_idx; member
H A Des58x_core.h721 int es58x_can_get_echo_skb(struct net_device *netdev, u32 packet_idx,