Searched refs:chip_tx_tail (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-tef.c | 116 u8 chip_tx_tail, tail, len; in mcp251xfd_get_tef_len() local 134 chip_tx_tail = FIELD_GET(MCP251XFD_REG_FIFOSTA_FIFOCI_MASK, fifo_sta); in mcp251xfd_get_tef_len() 145 BUILD_BUG_ON(sizeof(tx_ring->obj_num) != sizeof(chip_tx_tail)); in mcp251xfd_get_tef_len() 149 len = (chip_tx_tail << shift) - (tail << shift); in mcp251xfd_get_tef_len()
|
H A D | mcp251xfd-core.c | 1262 u8 chip_tx_tail, tx_tail, offset; in mcp251xfd_handle_eccif_recover() local 1268 err = mcp251xfd_tx_tail_get_from_chip(priv, &chip_tx_tail); in mcp251xfd_handle_eccif_recover() 1273 offset = (nr - chip_tx_tail) & (tx_ring->obj_num - 1); in mcp251xfd_handle_eccif_recover() 1280 if (chip_tx_tail != tx_tail || in mcp251xfd_handle_eccif_recover() 1285 addr, nr, tx_ring->tail, tx_tail, chip_tx_tail, in mcp251xfd_handle_eccif_recover()
|