Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-ring.c183 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()
214 rx_ring->fifo_nr = *fifo_nr; in mcp251xfd_ring_init_rx()
217 *fifo_nr += 1; 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()
347 rx_ring->nr, rx_ring->fifo_nr, in mcp251xfd_ring_init()
366 rx_ring->nr, rx_ring->fifo_nr, in mcp251xfd_ring_init()
[all …]
H A 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()
H A Dmcp251xfd-rx.c37 err = regmap_read(priv->map_reg, MCP251XFD_REG_FIFOUA(ring->fifo_nr), in mcp251xfd_rx_tail_get_from_chip()
83 err = regmap_read(priv->map_reg, MCP251XFD_REG_FIFOSTA(ring->fifo_nr), in mcp251xfd_get_rx_len()
318 !(priv->regs_status.rxif & BIT(ring->fifo_nr))) in mcp251xfd_handle_rxif()
H A Dmcp251xfd-dump.c170 .val = rx->fifo_nr, in mcp251xfd_dump_rx_ring_one()
213 .val = tx->fifo_nr, in mcp251xfd_dump_tx_ring()
H A Dmcp251xfd-tef.c120 err = regmap_read(priv->map_reg, MCP251XFD_REG_FIFOSTA(priv->tx->fifo_nr), in mcp251xfd_get_tef_len()
H A Dmcp251xfd.h544 u8 fifo_nr; member
562 u8 fifo_nr; member
867 MCP251XFD_REG_FIFOSTA(priv->tx->fifo_nr), in mcp251xfd_tx_tail_get_from_chip()
H A 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()
H A Dmcp251xfd-core.c906 if (!(rxovif & BIT(ring->fifo_nr))) in mcp251xfd_handle_rxovif()
923 MCP251XFD_REG_FIFOSTA(ring->fifo_nr), in mcp251xfd_handle_rxovif()
1452 priv->regs_status.rxif = BIT(priv->rx[0]->fifo_nr); in mcp251xfd_irq()