Lines Matching refs:obj_num
538 u8 obj_num; member
552 u8 obj_num; member
833 return priv->tef->head & (priv->tx->obj_num - 1); in mcp251xfd_get_tef_head()
838 return priv->tef->tail & (priv->tx->obj_num - 1); in mcp251xfd_get_tef_tail()
852 return min_t(u8, len, priv->tx->obj_num - mcp251xfd_get_tef_tail(priv)); in mcp251xfd_get_tef_linear_len()
857 return ring->head & (ring->obj_num - 1); in mcp251xfd_get_tx_head()
862 return ring->tail & (ring->obj_num - 1); in mcp251xfd_get_tx_tail()
867 return ring->obj_num - (ring->head - ring->tail); in mcp251xfd_get_tx_free()
875 addr >= mcp251xfd_get_tx_obj_addr(tx_ring, tx_ring->obj_num)) in mcp251xfd_get_tx_nr_by_addr()
886 return ring->head & (ring->obj_num - 1); in mcp251xfd_get_rx_head()
891 return ring->tail & (ring->obj_num - 1); in mcp251xfd_get_rx_tail()
906 return min_t(u8, len, ring->obj_num - mcp251xfd_get_rx_tail(ring)); in mcp251xfd_get_rx_linear_len()
911 (n) < (ring)->obj_num; \