Lines Matching refs:obj_num
545 u8 obj_num; member
563 u8 obj_num; member
879 return priv->tef->head & (priv->tx->obj_num - 1); in mcp251xfd_get_tef_head()
884 return priv->tef->tail & (priv->tx->obj_num - 1); in mcp251xfd_get_tef_tail()
889 return min_t(u8, len, priv->tx->obj_num - mcp251xfd_get_tef_tail(priv)); in mcp251xfd_get_tef_linear_len()
894 return ring->head & (ring->obj_num - 1); in mcp251xfd_get_tx_head()
899 return ring->tail & (ring->obj_num - 1); in mcp251xfd_get_tx_tail()
904 return ring->obj_num - (ring->head - ring->tail); in mcp251xfd_get_tx_free()
912 addr >= mcp251xfd_get_tx_obj_addr(tx_ring, tx_ring->obj_num)) in mcp251xfd_get_tx_nr_by_addr()
923 return ring->head & (ring->obj_num - 1); in mcp251xfd_get_rx_head()
928 return ring->tail & (ring->obj_num - 1); in mcp251xfd_get_rx_tail()
934 return min_t(u8, len, ring->obj_num - mcp251xfd_get_rx_tail(ring)); in mcp251xfd_get_rx_linear_len()
939 (n) < (ring)->obj_num; \