#include <linux/bitfield.h>
#include "mcp251xfd.h"
static inline bool mcp251xfd_tx_fifo_sta_full(u32 fifo_sta)
{ … }
static inline int
mcp251xfd_tef_tail_get_from_chip(const struct mcp251xfd_priv *priv,
u8 *tef_tail)
{ … }
static int mcp251xfd_check_tef_tail(const struct mcp251xfd_priv *priv)
{ … }
static int
mcp251xfd_handle_tefif_one(struct mcp251xfd_priv *priv,
const struct mcp251xfd_hw_tef_obj *hw_tef_obj,
unsigned int *frame_len_ptr)
{ … }
static int
mcp251xfd_get_tef_len(struct mcp251xfd_priv *priv, u8 *len_p)
{ … }
static inline int
mcp251xfd_tef_obj_read(const struct mcp251xfd_priv *priv,
struct mcp251xfd_hw_tef_obj *hw_tef_obj,
const u8 offset, const u8 len)
{ … }
static inline void mcp251xfd_ecc_tefif_successful(struct mcp251xfd_priv *priv)
{ … }
int mcp251xfd_handle_tefif(struct mcp251xfd_priv *priv)
{ … }