Lines Matching refs:obj_num
523 u8 obj_num; member
537 u8 obj_num; member
766 return priv->tef->head & (priv->tx->obj_num - 1); in mcp251xfd_get_tef_head()
771 return priv->tef->tail & (priv->tx->obj_num - 1); in mcp251xfd_get_tef_tail()
785 return min_t(u8, len, priv->tx->obj_num - mcp251xfd_get_tef_tail(priv)); in mcp251xfd_get_tef_linear_len()
790 return ring->head & (ring->obj_num - 1); in mcp251xfd_get_tx_head()
795 return ring->tail & (ring->obj_num - 1); in mcp251xfd_get_tx_tail()
800 return ring->obj_num - (ring->head - ring->tail); in mcp251xfd_get_tx_free()
808 addr >= mcp251xfd_get_tx_obj_addr(tx_ring, tx_ring->obj_num)) in mcp251xfd_get_tx_nr_by_addr()
819 return ring->head & (ring->obj_num - 1); in mcp251xfd_get_rx_head()
824 return ring->tail & (ring->obj_num - 1); in mcp251xfd_get_rx_tail()
839 return min_t(u8, len, ring->obj_num - mcp251xfd_get_rx_tail(ring)); in mcp251xfd_get_rx_linear_len()
844 (n) < (ring)->obj_num; \