Home
last modified time | relevance | path

Searched refs:fifo_nr (Results 1 – 7 of 7) sorted by relevance

/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-ring.c159 mcp251xfd_ring_init_tx(struct mcp251xfd_priv *priv, u16 *base, u8 *fifo_nr) in mcp251xfd_ring_init_tx() argument
173 tx_ring->fifo_nr = *fifo_nr; in mcp251xfd_ring_init_tx()
176 *fifo_nr += 1; in mcp251xfd_ring_init_tx()
179 addr = MCP251XFD_REG_FIFOCON(tx_ring->fifo_nr); in mcp251xfd_ring_init_tx()
189 mcp251xfd_ring_init_rx(struct mcp251xfd_priv *priv, u16 *base, u8 *fifo_nr) in mcp251xfd_ring_init_rx() argument
203 rx_ring->fifo_nr = *fifo_nr; in mcp251xfd_ring_init_rx()
206 *fifo_nr += 1; in mcp251xfd_ring_init_rx()
209 addr = MCP251XFD_REG_FIFOCON(rx_ring->fifo_nr); in mcp251xfd_ring_init_rx()
281 u8 fifo_nr = 1; in mcp251xfd_ring_init() local
287 mcp251xfd_ring_init_rx(priv, &base, &fifo_nr); in mcp251xfd_ring_init()
[all …]
Dmcp251xfd-chip-fifo.c45 MCP251XFD_REG_FIFOCON(ring->fifo_nr), fifo_con); in mcp251xfd_chip_rx_fifo_init_one()
55 MCP251XFD_REG_FLTCON_FBP(ring->nr, ring->fifo_nr); in mcp251xfd_chip_rx_filter_init_one()
102 MCP251XFD_REG_FIFOCON(priv->tx->fifo_nr), in mcp251xfd_chip_fifo_init()
Dmcp251xfd-rx.c27 err = regmap_read(priv->map_reg, MCP251XFD_REG_FIFOSTA(ring->fifo_nr), in mcp251xfd_rx_head_get_from_chip()
46 err = regmap_read(priv->map_reg, MCP251XFD_REG_FIFOUA(ring->fifo_nr), in mcp251xfd_rx_tail_get_from_chip()
261 !(priv->regs_status.rxif & BIT(ring->fifo_nr))) in mcp251xfd_handle_rxif()
Dmcp251xfd-dump.c170 .val = rx->fifo_nr, in mcp251xfd_dump_rx_ring_one()
213 .val = tx->fifo_nr, in mcp251xfd_dump_tx_ring()
Dmcp251xfd.h538 u8 fifo_nr; member
552 u8 fifo_nr; member
822 MCP251XFD_REG_FIFOSTA(priv->tx->fifo_nr), in mcp251xfd_tx_tail_get_from_chip()
Dmcp251xfd-regmap.c70 if (reg == MCP251XFD_REG_FIFOCON(ring->fifo_nr)) in mcp251xfd_update_bits_read_reg()
72 if (reg == MCP251XFD_REG_FIFOSTA(ring->fifo_nr)) in mcp251xfd_update_bits_read_reg()
Dmcp251xfd-core.c903 if (!(rxovif & BIT(ring->fifo_nr))) in mcp251xfd_handle_rxovif()
920 MCP251XFD_REG_FIFOSTA(ring->fifo_nr), in mcp251xfd_handle_rxovif()
1449 priv->regs_status.rxif = BIT(priv->rx[0]->fifo_nr); in mcp251xfd_irq()