Home
last modified time | relevance | path

Searched refs:ringsize (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/soc/fsl/qbman/
Ddpaa_sys.h92 static inline u8 dpaa_cyc_diff(u8 ringsize, u8 first, u8 last) in dpaa_cyc_diff() argument
97 return ringsize + last - first; in dpaa_cyc_diff()
/linux-6.1.9/drivers/net/ethernet/renesas/
Dsh_eth.c1278 int ringsize, i; in sh_eth_ring_free() local
1291 ringsize = sizeof(struct sh_eth_rxdesc) * mdp->num_rx_ring; in sh_eth_ring_free()
1292 dma_free_coherent(&mdp->pdev->dev, ringsize, mdp->rx_ring, in sh_eth_ring_free()
1308 ringsize = sizeof(struct sh_eth_txdesc) * mdp->num_tx_ring; in sh_eth_ring_free()
1309 dma_free_coherent(&mdp->pdev->dev, ringsize, mdp->tx_ring, in sh_eth_ring_free()
/linux-6.1.9/drivers/soc/fsl/dpio/
Dqbman-portal.c230 static inline u8 qm_cyc_diff(u8 ringsize, u8 first, u8 last) in qm_cyc_diff() argument
236 return (2 * ringsize) - (first - last); in qm_cyc_diff()