Home
last modified time | relevance | path

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

/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-tef.c80 seq, priv->tef->tail, priv->tef->head, tx_ring->head); in mcp251xfd_handle_tefif_recover()
104 tef_tail_masked = priv->tef->tail & in mcp251xfd_handle_tefif_one()
118 priv->tef->tail++; in mcp251xfd_handle_tefif_one()
137 new_head = round_down(priv->tef->head, tx_ring->obj_num) + chip_tx_tail; in mcp251xfd_tef_ring_update()
138 if (new_head <= priv->tef->head) in mcp251xfd_tef_ring_update()
142 priv->tef->head = min(new_head, tx_ring->head); in mcp251xfd_tef_ring_update()
222 struct mcp251xfd_tef_ring *ring = priv->tef; in mcp251xfd_handle_tefif()
Dmcp251xfd-dump.c120 const struct mcp251xfd_tef_ring *tef = priv->tef; in mcp251xfd_dump_tef_ring() local
125 .val = tef->head, in mcp251xfd_dump_tef_ring()
128 .val = tef->tail, in mcp251xfd_dump_tef_ring()
Dmcp251xfd.h627 struct mcp251xfd_tef_ring tef[MCP251XFD_FIFO_TEF_NUM]; member
834 return priv->tef->head & (priv->tx->obj_num - 1); in mcp251xfd_get_tef_head()
839 return priv->tef->tail & (priv->tx->obj_num - 1); in mcp251xfd_get_tef_tail()
844 return priv->tef->head - priv->tef->tail; in mcp251xfd_get_tef_len()
DMakefile14 mcp251xfd-objs += mcp251xfd-tef.o
Dmcp251xfd-ring.c67 tef_ring = priv->tef; in mcp251xfd_ring_init_tef()
412 struct mcp251xfd_tef_ring *ring = priv->tef; in mcp251xfd_tx_irq_timer()