Searched refs:fifo_nr (Results 1 – 7 of 7) sorted by relevance
/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-ring.c | 159 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 …]
|
D | mcp251xfd-chip-fifo.c | 45 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()
|
D | mcp251xfd-rx.c | 27 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()
|
D | mcp251xfd-dump.c | 170 .val = rx->fifo_nr, in mcp251xfd_dump_rx_ring_one() 213 .val = tx->fifo_nr, in mcp251xfd_dump_tx_ring()
|
D | mcp251xfd.h | 538 u8 fifo_nr; member 552 u8 fifo_nr; member 822 MCP251XFD_REG_FIFOSTA(priv->tx->fifo_nr), in mcp251xfd_tx_tail_get_from_chip()
|
D | mcp251xfd-regmap.c | 70 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()
|
D | mcp251xfd-core.c | 903 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()
|