Lines Matching refs:tx_ring
114 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_get_tef_len() local
115 const u8 shift = tx_ring->obj_num_shift_to_u8; in mcp251xfd_get_tef_len()
129 mcp251xfd_get_tx_free(tx_ring) == 0) { in mcp251xfd_get_tef_len()
130 *len_p = tx_ring->obj_num; in mcp251xfd_get_tef_len()
145 BUILD_BUG_ON(sizeof(tx_ring->obj_num) != sizeof(chip_tx_tail)); in mcp251xfd_get_tef_len()
146 BUILD_BUG_ON(sizeof(tx_ring->obj_num) != sizeof(tail)); in mcp251xfd_get_tef_len()
147 BUILD_BUG_ON(sizeof(tx_ring->obj_num) != sizeof(len)); in mcp251xfd_get_tef_len()
160 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_tef_obj_read() local
164 (offset > tx_ring->obj_num || in mcp251xfd_tef_obj_read()
165 len > tx_ring->obj_num || in mcp251xfd_tef_obj_read()
166 offset + len > tx_ring->obj_num)) { in mcp251xfd_tef_obj_read()
169 tx_ring->obj_num, offset, len); in mcp251xfd_tef_obj_read()
230 struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_handle_tefif() local
250 tx_ring->tail += len; in mcp251xfd_handle_tefif()