Home
last modified time | relevance | path

Searched refs:mcp251xfd_get_tx_obj_addr (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-ring.c133 addr = mcp251xfd_get_tx_obj_addr(ring, n); in mcp251xfd_tx_ring_init_tx_obj()
175 *base = mcp251xfd_get_tx_obj_addr(tx_ring, tx_ring->obj_num); in mcp251xfd_ring_init_tx()
365 mcp251xfd_get_tx_obj_addr(priv->tx, 0), in mcp251xfd_ring_init()
Dmcp251xfd.h802 mcp251xfd_get_tx_obj_addr(const struct mcp251xfd_tx_ring *ring, u8 n) in mcp251xfd_get_tx_obj_addr() function
874 if (addr < mcp251xfd_get_tx_obj_addr(tx_ring, 0) || in mcp251xfd_get_tx_nr_by_addr()
875 addr >= mcp251xfd_get_tx_obj_addr(tx_ring, tx_ring->obj_num)) in mcp251xfd_get_tx_nr_by_addr()
878 *nr = (addr - mcp251xfd_get_tx_obj_addr(tx_ring, 0)) / in mcp251xfd_get_tx_nr_by_addr()