Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Dbcm-sf2-eth-gmac.c142 for (i = 0; i < RX_BUF_NUM; i++) { in dma_rx_dump()
150 for (i = 0; i < RX_BUF_NUM; i++) { in dma_rx_dump()
222 RX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_rx_init()
224 memset(dma->rx_buf, 0, RX_BUF_NUM * RX_BUF_SIZE_ALIGNED); in dma_rx_init()
227 for (i = 0; i < RX_BUF_NUM; i++) { in dma_rx_init()
232 if (i == (RX_BUF_NUM - 1)) in dma_rx_init()
248 DESCP_SIZE_ALIGNED * RX_BUF_NUM); in dma_rx_init()
251 RX_BUF_SIZE_ALIGNED * RX_BUF_NUM); in dma_rx_init()
439 DESCP_SIZE_ALIGNED * RX_BUF_NUM); in gmac_check_rx_done()
451 dma->cur_rx_index = (index + 1) & (RX_BUF_NUM - 1); in gmac_check_rx_done()
[all …]
Dbcm-sf2-eth.h13 #define RX_BUF_NUM 32 macro