Lines Matching refs:fifo_nr
169 mcp251xfd_ring_init_tx(struct mcp251xfd_priv *priv, u16 *base, u8 *fifo_nr) in mcp251xfd_ring_init_tx() argument
183 tx_ring->fifo_nr = *fifo_nr; in mcp251xfd_ring_init_tx()
186 *fifo_nr += 1; in mcp251xfd_ring_init_tx()
189 addr = MCP251XFD_REG_FIFOCON(tx_ring->fifo_nr); in mcp251xfd_ring_init_tx()
199 mcp251xfd_ring_init_rx(struct mcp251xfd_priv *priv, u16 *base, u8 *fifo_nr) in mcp251xfd_ring_init_rx() argument
214 rx_ring->fifo_nr = *fifo_nr; in mcp251xfd_ring_init_rx()
217 *fifo_nr += 1; in mcp251xfd_ring_init_rx()
220 addr = MCP251XFD_REG_FIFOCON(rx_ring->fifo_nr); in mcp251xfd_ring_init_rx()
292 u8 fifo_nr = 1; in mcp251xfd_ring_init() local
298 mcp251xfd_ring_init_rx(priv, &base, &fifo_nr); in mcp251xfd_ring_init()
299 mcp251xfd_ring_init_tx(priv, &base, &fifo_nr); in mcp251xfd_ring_init()
317 priv->regs_status.rxif = BIT(priv->rx[0]->fifo_nr); in mcp251xfd_ring_init()
347 rx_ring->nr, rx_ring->fifo_nr, in mcp251xfd_ring_init()
366 rx_ring->nr, rx_ring->fifo_nr, in mcp251xfd_ring_init()
375 priv->tx->fifo_nr, in mcp251xfd_ring_init()