Lines Matching refs:obj_num
82 *base = mcp251xfd_get_tef_obj_addr(priv->tx->obj_num); in mcp251xfd_ring_init_tef()
185 *base = mcp251xfd_get_tx_obj_addr(tx_ring, tx_ring->obj_num); in mcp251xfd_ring_init_tx()
216 *base = mcp251xfd_get_rx_obj_addr(rx_ring, rx_ring->obj_num); in mcp251xfd_ring_init_rx()
274 if (priv->rx_obj_num_coalesce_irq == rx_ring->obj_num) in mcp251xfd_ring_init_rx()
331 priv->tx->obj_num - priv->tx_obj_num_coalesce_irq, in mcp251xfd_ring_init()
333 (priv->tx->obj_num - priv->tx_obj_num_coalesce_irq) * in mcp251xfd_ring_init()
339 priv->tx->obj_num, sizeof(struct mcp251xfd_hw_tef_obj), in mcp251xfd_ring_init()
340 priv->tx->obj_num * sizeof(struct mcp251xfd_hw_tef_obj)); in mcp251xfd_ring_init()
359 rx_ring->obj_num - priv->rx_obj_num_coalesce_irq, in mcp251xfd_ring_init()
361 (rx_ring->obj_num - priv->rx_obj_num_coalesce_irq) * in mcp251xfd_ring_init()
368 rx_ring->obj_num, rx_ring->obj_size, in mcp251xfd_ring_init()
369 rx_ring->obj_num * rx_ring->obj_size); in mcp251xfd_ring_init()
377 priv->tx->obj_num, priv->tx->obj_size, in mcp251xfd_ring_init()
378 priv->tx->obj_num * priv->tx->obj_size); in mcp251xfd_ring_init()
393 priv->tx_obj_num_coalesce_irq * 2 != priv->tx->obj_num) { in mcp251xfd_ring_init()
396 priv->tx_obj_num_coalesce_irq, priv->tx->obj_num); in mcp251xfd_ring_init()
482 .tx_pending = priv->tx->obj_num, in mcp251xfd_ring_alloc()
499 tx_ring->obj_num = layout.cur_tx; in mcp251xfd_ring_alloc()
513 tx_ring->obj_num_shift_to_u8 = BITS_PER_TYPE(tx_ring->obj_num) - in mcp251xfd_ring_alloc()
514 ilog2(tx_ring->obj_num); in mcp251xfd_ring_alloc()
536 rx_ring->obj_num = rx_obj_num; in mcp251xfd_ring_alloc()