Home
last modified time | relevance | path

Searched refs:TOTAL_DESC (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.h20 #define TOTAL_DESC 256 macro
37 #define DMA_FC_THRESH_HI (TOTAL_DESC >> 4)
H A Dbcmgenet.c51 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q)
53 (TOTAL_DESC - priv->hw_params->tx_queues * priv->hw_params->tx_bds_per_q)
63 TOTAL_DESC * DMA_DESC_SIZE)
66 TOTAL_DESC * DMA_DESC_SIZE)
2788 TOTAL_DESC); in bcmgenet_init_tx_queues()
2897 TOTAL_DESC); in bcmgenet_init_rx_queues()
3018 priv->num_rx_bds = TOTAL_DESC; in bcmgenet_init_dma()
3031 priv->num_tx_bds = TOTAL_DESC; in bcmgenet_init_dma()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.h22 #define TOTAL_DESC 256 macro
39 #define DMA_FC_THRESH_HI (TOTAL_DESC >> 4)
H A Dbcmgenet.c51 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q)
53 (TOTAL_DESC - priv->hw_params->tx_queues * priv->hw_params->tx_bds_per_q)
63 TOTAL_DESC * DMA_DESC_SIZE)
66 TOTAL_DESC * DMA_DESC_SIZE)
2835 TOTAL_DESC); in bcmgenet_init_tx_queues()
2944 TOTAL_DESC); in bcmgenet_init_rx_queues()
3065 priv->num_rx_bds = TOTAL_DESC; in bcmgenet_init_dma()
3078 priv->num_tx_bds = TOTAL_DESC; in bcmgenet_init_dma()

Completed in 23 milliseconds